From 3c638bf61972c5698fd7478a9e0777478fbbfd35 Mon Sep 17 00:00:00 2001 From: "apa (OpenERP)" Date: Fri, 24 Dec 2010 12:52:29 +0530 Subject: [PATCH] [IMP]:point_of_sale:improt time bzr revid: apa@tinyerp.com-20101224072229-nuurbfm4glkqdh69 --- addons/point_of_sale/test/point_of_sale_report.yml | 2 ++ 1 file changed, 2 insertions(+) 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 3de1b86..1a77e8f 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')} -- 1.7.10.4