upgrade-js-unpatch (U1723)#

unpatch(), removed in Odoo 17.0.

Applies to Odoo 17.0 and later.

What it does#

Reports calls to unpatch() and its import from @web/core/utils/patch.

Why is this bad?#

Odoo 17.0 removed unpatch: patch() returns a function that undoes the patch. Keep that function and call it instead.