diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-02-27 12:03:41 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-02-27 12:10:22 +0000 |
| commit | c8834073a7a867b30d2e95847b9b46bf02a4878f (patch) | |
| tree | 95c8f2237294d5c4da416aa6f4a828f6514e5093 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | e39bcae818847e9700299df60fd66edf5429c0e0 (diff) | |
[FIX] sale: blocking message
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 method
`_get_display_price`. When the pricelist is configured with
`discount_policy != with_discount`, `get_product_price_rule` is called
with an empty `self.product_id`.
We move the `product_id` removal at the end of the onchange.
opw-1934386
closes odoo/odoo#31456
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
