[6.1] Product variants produce a wrong price when using extra_price field.

Bug #1076041 reported by Niels Huylebroeck
10
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/product.py:645 and product/product.py:461
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: maintenance
tags: added: maintenance
Revision history for this message
Peter Langenberg (peter-langenberg) wrote :

Video

Revision history for this message
Peter Langenberg (peter-langenberg) wrote :
Revision history for this message
Peter Langenberg (peter-langenberg) wrote :

Sorry forgot attachment with video ...

Amit Parik (amit-parik)
no longer affects: openobject-addons/6.1
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Soluntec (soluntec) wrote :

I can confirm this bug. The bug affect me too...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.