-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Since odoo/odoo@7e6cff5#diff-7144f88ea32f36feb17ce1b8dda7dee1631f5ada34075414587df3948c6b3d1bR1477 the search method takes 1 less argument
This code uses lots of patterns such as :
if self.execute_odoo('ir.model.data', 'search',
[[('module', '=', module), ('name', '=', name)], 0, 0, "id", False],
{'context': config_context}):which aside from missing some abstraction layers, send offset/limit/etc arguments as positional instead of sending them as keywords; whereas Odoo defines them as keyword arguments.
The last one, False in this case, has been removed in Odoo 17
These code patterns need rework, and at the very least False has to be removed for compat with Odoo 17
Metadata
Metadata
Assignees
Labels
No labels