upgrade-js-patch-name (U1722)#
patch() is called with a patch name, dropped in Odoo 17.0.
Applies to Odoo 17.0 and later.
What it does#
Reports patch(target, "name", extension).
Why is this bad?#
Odoo 17.0 changed the signature to patch(target, extension): the name is
gone. With three arguments the string is taken as the extension and the
patch does nothing useful.
Fix safety#
Safe: the name argument goes.