minor fix

This commit is contained in:
wilsongomez 2022-08-12 13:51:40 -05:00
parent 95d7e2da87
commit 619929b8bb
2 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,7 @@ class Receipt(object):
if line['discount'] and Decimal(line['discount']) and self._show_discount:
self.print_split(initial, discount)
def print_totals(self, sale, short):
def print_totals(self, sale, short=None):
untaxed_amount = sale['untaxed_amount']
total_amount = sale['total_amount']
self.print_split('', '----------------')

View File

@ -1 +1 @@
__version__ = "5.0.50"
__version__ = "5.0.51"