minor fix

This commit is contained in:
Wilson Gomez 2023-09-02 11:05:34 -05:00
parent 78817afa5c
commit eda18ab9f7
1 changed files with 1 additions and 1 deletions

View File

@ -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',