Master and company mat

Fixes #270. Used patch #331 from @fdesmottes with an updated code base and made two changes

- set the company_id parameters at the end of the method to avoid incompatibities with calls in account_analytic_plans
- instead of checking the context, actually pass the company_id argument in the product_change from uos_id_change

In master as required a change in the API