diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-12-07 16:21:59 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-12-07 16:26:11 +0100 |
| commit | 36c6edf4bc1aba8a829e91aed40fd21b3c48dc17 (patch) | |
| tree | 9515c1d41b39350b6ce10d6f46b69092557e609f /addons/pos_cache/data | |
| parent | 86718d98bd77fe4b4285a22f67ad990c46462d17 (diff) | |
[FIX] product: fix company_id assignment on pricelist version & items creation
Due to the following revision:
295b96c0b39959d053c3b74edd515879c873c722
The company on the version and items was not assigned
when creating a new pricelist version on an existing
pricelist.
They were if you changed the company of the pricelist,
thanks to the triggers added in the above revision,
but not when they have just been created in the pricelist.
These new triggers repairs this regression. It also handle
changing the `pricelist_id` of a version (this is doable through
the "Sales > Configuration > Pricelists > Pricelist Versions" menu).
Fixes #14631
Diffstat (limited to 'addons/pos_cache/data')
0 files changed, 0 insertions, 0 deletions
