Hello,
Our R&D Teams are focused on the latest OpenERP version, and this issue does
not affect it.
We stand of course ready to backport the change to stable releases if it has an
impact on any customer. In this case please report it to our maintenance team
via the OpenERP Publisher's Warranty. They will quickly help solve the issue
and backport the fix if needed.
Thanks.
** Changed in: openobject-addons
Status: New => Won't Fix
--
wrong standard price in product_extended for multi-level boms
https://bugs.launchpad.net/bugs/599703
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Won't Fix
Bug description:
In product_extended/product_extended.py the routine calc_price contains the
following test:
>>if not bom.product_id.calculate_price:
>> return bom.product_id.standard_price
Some lines later, you have another test:
>> if not other_bom.product_id.calculate_price:
>> price += self._calc_price(cr, uid, other_bom) * other_bom.product_qty
>> else:
>> price += other_bom.product_qty * other_bom.product_id.standard_price
The help test of the "calculate_price" filed says:
>>Check this box if the standard price must be computed from the BOM.
So I think that the second test should be reversed in:
>>if not other_bom.product_id.calculate_price:
>> price += other_bom.product_qty * other_bom.product_id.standard_price
>> else:
>> price += self._calc_price(cr, uid, other_bom) * other_bom.product_qty
Is that correct?
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp