odoo/odoo — pull request #915 by rvalyi (2014-07-04 03:48:29+00:00)
Title: [IMP] added context in invoice onchange_partner_id method

Hello, since the new API is not in place in the account module, it's essential that existing on_changes pass the context argument so that overriders can properly use the context.

Adding the context argument in the overrider signature is not option as it would make it incompatible with any other module not adding that extra argument.

That is why we need that signature change to pass the context during the v8 18 months or so lifecycle to make 3rd party apps more compatible until the new API is in place is the official addons in v9 or so.

This is essential for localisations for instance.

Thanks.