Test
This commit is contained in:
parent
f8de4b0cb5
commit
cfbc29d930
3
sale.py
3
sale.py
|
@ -45,7 +45,8 @@ class Sale(metaclass=PoolMeta):
|
||||||
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
|
v['description'] = product.name
|
||||||
taxes = list(product.customer_taxes_used)
|
taxes = list(product.account_category.customer_taxes_used)
|
||||||
|
taxes_ids = [t.id for t in taxes]
|
||||||
v['taxes'] = [('add', taxes)]
|
v['taxes'] = [('add', taxes)]
|
||||||
|
|
||||||
price_list = args.get('price_list', None)
|
price_list = args.get('price_list', None)
|
||||||
|
|
Loading…
Reference in New Issue