c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #16247
[Bug 715682] Re: Prices are not correctly returned by price_get_multi method from product\pricelist.py
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 ;)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715682
Title:
Prices are not correctly returned by price_get_multi method from
product\pricelist.py
Status in OpenERP Modules (addons):
New
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))
References