Set empty list when run print wizard from the menu

#041300
This commit is contained in:
Raimon Esteve 2020-08-24 10:56:00 +02:00
parent 97945158cd
commit 5ac9f2d0ca
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class PrintProductionMassBalance(Wizard):
'to_date': self.start.to_date,
'product': self.start.product.id,
'model': context.get('active_model'),
'ids': context.get('active_ids'),
'ids': context.get('active_ids') or [],
}
try:
Lot = Pool().get('stock.lot')