[6.1] Product variants produce a wrong price when using extra_price field.
Bug #1076041 reported by
Niels Huylebroeck
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
When filling in the extra_price field on product.product model the calculated prices (as shown on tree/search/form view of product.product) will add the value twice to the standard_price.
The error seems to originate in product/
Both of these functions add the extra_price (and also the price_margin field btw) and one of these functions has already started with the price calculated from the other function. Thus you end up with the standard_price + (2 * extra_price)
I have left the price_margin field out of the test but I assume this is also affecting the resulting price twice.
Regards
Niels
tags: | added: maintenance |
no longer affects: | openobject-addons/6.1 |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
To post a comment you must log in.
Video