diff options
| author | Alexis de Lattre <alexis.delattre@akretion.com> | 2016-01-04 11:22:50 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-01-04 11:35:23 +0100 |
| commit | a4e48d4c2848f0c90c9bdd082790dde6823d7557 (patch) | |
| tree | ba8d97b91f402ded955c61bd2539cab05ab95f33 /addons/website/static/src/css | |
| parent | d96050d3e0ec5731c37309e39001c0e127ad7899 (diff) | |
[FIX] product, purchase: pricelist of PO issued from procurements
When a purchase order is created through a procurement order,
the purchase order pricelist is taken from
the partner `property_product_pricelist_purchase`,
which is a property, which therefore can be different
according to the company. This is therefore
important to force the company to the procurement company
when browsing the partner, to get the correct pricelist,
from the right company. Otherwise, it take the pricelist
from the `SUPERUSER` company (when running the schedulers/cron),
which can be different than the procurement company.
The same as to be applied when browsing the product,
as the `standard_price` field (Cost Price) is a property
as well, and can be different according to the company,
in order to get the correct price unit on the purchase
order line, from the correct company.
Fixes #5329
Closes #5330
Diffstat (limited to 'addons/website/static/src/css')
0 files changed, 0 insertions, 0 deletions
