[IMP]:point_of_sale:improt time

bzr revid: apa@tinyerp.com-20101224072229-nuurbfm4glkqdh69
This commit is contained in:
apa (OpenERP) 2010-12-24 12:52:29 +05:30
parent 11604e7ba8
commit 3c638bf619
1 changed files with 2 additions and 0 deletions

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