minor fix

This commit is contained in:
wilson gomez 2021-04-27 09:34:52 -05:00
parent a5b5a0f566
commit 544cdea99a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Sale(metaclass=PoolMeta):
v['type'] = 'line'
product = Product(v['product'])
v['unit'] = product.template.default_uom.id
v['description'] = product.name
price_list = args.get('price_list', None)
if price_list:
price_list = price_list['id']