diff --git a/app/main.py b/app/main.py index f5ee5ef..1333a5b 100644 --- a/app/main.py +++ b/app/main.py @@ -1825,7 +1825,7 @@ class AppWindow(FrontWindow): 'position': sale['position'], 'party': sale['party']['name'], 'kind': sale.get('kind'), - 'delivery_amount': sale.get('delivery_amount'), + 'delivery_amount': sale['delivery_amount'] if sale.get('delivery_amount') else 0, 'salesman': sale['salesman']['rec_name'] if sale.get('salesman') else '', 'comment': sale['comment'], 'payment_term': sale['payment_term']['rec_name'] if sale.get('payment_term') else '',