upgrade-ir-default-get (U1718)#
ir.default.get(), renamed _get() in Odoo 17.0.
Applies to Odoo 17.0 and later.
What it does#
Reports self.env["ir.default"].get(...).
Why is this bad?#
Odoo 17.0 removed the public get (deprecated in 16.0): the call raises
AttributeError.
Fix safety#
Safe: get becomes _get, with the same arguments.