summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorDjamel (otd) <otd@odoo.com>2021-03-02 17:08:30 +0000
committerDjamel (otd) <otd@odoo.com>2021-03-03 09:31:08 +0000
commite9c89569dec46f03ed37100b73105bc243944ed7 (patch)
treed8b3c9b45dc11e9b271f526365b63e28601dfb24 /doc/reference/javascript_reference.rst
parent41425b38d253fcb082c18317bbcdc171f22c5925 (diff)
[FIX] sale management : fix purchase price on order line after confirming the order
Steps to follow to reproduce the bug: In Odoo - V14 -Go to sales app - Create a product and give it for example a “sales price” of 200 and a “cost” of 100. Select a category of product with "Costing Method == Standard Price" - Create a new Quotation/Order - Add the product you just created - Modify in the order line, the value of cost from 100 to 120 for example. - Save the sale order and confirm it Problem : The final price is calculated in relation to the base price of the product and never takes price changes into account. Solution : Check if the "Costing method" of the product category is "Standard price". If it's the case, do not change the "purchase_price" defined in the order line. opw-2451721 closes odoo/odoo#67106 Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions