[IMP]:point_of_sale:improt time
authorapa (OpenERP) <apa@tinyerp.com>
Fri, 24 Dec 2010 07:22:29 +0000 (12:52 +0530)
committerapa (OpenERP) <apa@tinyerp.com>
Fri, 24 Dec 2010 07:22:29 +0000 (12:52 +0530)
bzr revid: apa@tinyerp.com-20101224072229-nuurbfm4glkqdh69

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')}