upgrade-search-args (U1609)#

search(args=...), renamed domain= in Odoo 16.0.

Applies to Odoo 16.0 and later.

What it does#

Reports the args keyword in calls to search and search_count.

Why is this bad?#

Odoo 16.0 renamed the parameter domain: the keyword call raises TypeError.

Fix safety#

Safe: the keyword is renamed.