minor fix
This commit is contained in:
parent
78817afa5c
commit
eda18ab9f7
2
sale.py
2
sale.py
|
@ -433,7 +433,7 @@ class Sale(metaclass=PoolMeta):
|
|||
delivery = args.get('delivery_amount', 0)
|
||||
if args.get('delivery_invoice') and delivery and int(delivery) > 0:
|
||||
product = config.delivery_product
|
||||
args['lines'].append({
|
||||
lines.append({
|
||||
'product': product.id,
|
||||
'quantity': 1,
|
||||
'type': 'line',
|
||||
|
|
Loading…
Reference in New Issue