minor fix
This commit is contained in:
parent
a5b5a0f566
commit
544cdea99a
2
sale.py
2
sale.py
|
@ -33,7 +33,7 @@ class Sale(metaclass=PoolMeta):
|
||||||
v['type'] = 'line'
|
v['type'] = 'line'
|
||||||
product = Product(v['product'])
|
product = Product(v['product'])
|
||||||
v['unit'] = product.template.default_uom.id
|
v['unit'] = product.template.default_uom.id
|
||||||
|
v['description'] = product.name
|
||||||
price_list = args.get('price_list', None)
|
price_list = args.get('price_list', None)
|
||||||
if price_list:
|
if price_list:
|
||||||
price_list = price_list['id']
|
price_list = price_list['id']
|
||||||
|
|
Loading…
Reference in New Issue