wrong standard price in product_extended for multi-level boms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In product_
>>if not bom.product_
>> return bom.product_
Some lines later, you have another test:
>> if not other_bom.
>> price += self._calc_
>> else:
>> price += other_bom.
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.
>> price += other_bom.
>> else:
>> price += self._calc_
Is that correct?
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.