Prices are not correctly returned by price_get_multi method from product\pricelist.py
Bug #715682 reported by
OpenERP Romania
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 2 |
Bug Description
The problem is on the line: (tmpl_id, product_id, plversion_ids[0], qty))
The code returns for all the pricelist versions the price from the first pricelist version.
To correct the error you must modify the line like this:(tmpl_id, product_id, pricelist_id, qty))
description: | updated |
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Just a thought.
Pricing code has been modified significantly from V5 to V6.
As it is such a critical and core module to OpenERP, I sincerely recommend that it be given a serious review but some "smart" developers/ analysts.
Pricing is bound to quantity, partners, UOM, UOS resulting in a complex mix that needs to be uniform across OpenERP modules.
Also a significant test suite should exist to map all the above usage. (I dont think there is any code testing UOM or quantity pricing)
Hope this reaches someone who cares ;)