summaryrefslogtreecommitdiff
path: root/addons/gamification/models/challenge.py
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-06-04 11:46:35 +0000
committerjvm-odoo <jvm@odoo.com>2020-06-18 09:28:09 +0000
commitcb7a7deec5c1eda8c156e1b1f9e1f1e38d0abda2 (patch)
treea75746142d5b440f857ecce991a503e2aef38226 /addons/gamification/models/challenge.py
parentddb5b383d44239d639cc439609af231ab6ed9cb9 (diff)
[FIX] sale: fix no_variant price extra context propagation
Issue - Install Sales - Enable discounts & pricelists - Create a product - 2 variants: - first with "create variant" set to Always - second set to Never - Create a SO - Pricelist setting "without_discount" - Add the product with product configurator The line price is not correct (only Always taken in account) Cause When the variant has Create Variant set to Never we pass the extra money in the context. When we have a pricelist with "without_discount" this context is not propagated correctly and it's lost Solution Pass the product directly if it's not empty which have the context set. OPW-2246102 closes odoo/odoo#53216 X-original-commit: 68628206c5883adc614045706fcc2ea085efd252 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/gamification/models/challenge.py')
0 files changed, 0 insertions, 0 deletions