diff --git a/addons/point_of_sale/test/point_of_sale_report.yml b/addons/point_of_sale/test/point_of_sale_report.yml index 3de1b86531e..1a77e8f30d4 100644 --- a/addons/point_of_sale/test/point_of_sale_report.yml +++ b/addons/point_of_sale/test/point_of_sale_report.yml @@ -56,6 +56,7 @@ Print the POS Payment Report through the wizard - !python {model: ir.ui.menu}: | + import time ctx={} ctx.update({'model': 'ir.ui.menu','active_ids': []}) data_dict = {'date_start': time.strftime('%Y-%m-%d'), 'date_end': time.strftime('%Y-%m-%d'), 'user_id': [(6,0,[ref('base.user_root')])] } @@ -66,6 +67,7 @@ Print the POS Details Report through the wizard - !python {model: ir.ui.menu}: | + import time ctx={} ctx.update({'model': 'ir.ui.menu','active_ids': []}) data_dict = {'date_start': time.strftime('%Y-%m-%d'), 'date_end': time.strftime('%Y-%m-%d')}