[FIX] website_sale: fix unnecessary permanent update of pricelist on checkout
This commit is contained in:
parent
d84b5d35ac
commit
e4d8246c81
|
@ -177,7 +177,7 @@ class website(orm.Model):
|
|||
values['partner_id'] = partner.id
|
||||
sale_order_obj.write(cr, SUPERUSER_ID, [sale_order_id], values, context=context)
|
||||
|
||||
if flag_pricelist or values.get('fiscal_position') != fiscal_position:
|
||||
if flag_pricelist or values.get('fiscal_position', False) != fiscal_position:
|
||||
update_pricelist = True
|
||||
|
||||
# update the pricelist
|
||||
|
|
Loading…
Reference in New Issue