Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit d3cbebb

Browse files
author
Paul Catinean
committed
Merge branch '12.0-fix-context-bizz-shs' into '12.0'
[FIX]fix context in _cart_update See merge request pledra/odoo-product-configurator!87
2 parents f729d2e + e9fb4aa commit d3cbebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website_product_configurator/models/sale_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def _cart_update(self, product_id=None, line_id=None,
193193
no_variant_attributes_price_extra
194194
)
195195
}
196-
values = self.with_context(ctx)._website_product_id_change(
196+
values = self.with_context(**ctx)._website_product_id_change(
197197
self.id, product_id, qty=quantity
198198
)
199199
if (self.pricelist_id.discount_policy == 'with_discount' and

0 commit comments

Comments
 (0)