minor fix

This commit is contained in:
Wilson Gomez 2023-07-05 17:00:53 -05:00
parent 310121c00b
commit 7ca9da32e0
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class Sale(metaclass=PoolMeta):
TaskConfig = Pool().get('production.configuration_task')
Line = Pool().get('sale.line')
data_grouped_printer = {}
if not self.number:
self.set_number([self])
data_sale = self.number
shop = self.shop
line_commanded = []