Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
When a blocking message is configured on a product, we force the removal
of the product_id on the SO line. This causes a problem in the method
_get_display_price. When the price list is configured with
discount_policy != with_discount, get_product_price_rule is called
with an empty self.product_id.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Backport of odoo/odoo#31456
When a blocking message is configured on a product, we force the removal of the
product_id
on the SO line. This causes a problem in the method_get_display_price
. When the price list is configured withdiscount_policy != with_discount
,get_product_price_rule
is called with an emptyself.product_id
.-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr