[IMP]:point_of_sale:improt time
[odoo/odoo.git] / addons / point_of_sale / test / point_of_sale_report.yml
index 3de1b86..1a77e8f 100644 (file)
@@ -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')}