[IMP]:improved code

bzr revid: apa@tinyerp.com-20101223085516-bpfuedpu6vezz0pj
This commit is contained in:
apa (OpenERP) 2010-12-23 14:25:16 +05:30
parent df148e7716
commit e5f48734c1
2 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@
Print the HR Holidays(Summary Department) Report through the wizard
-
!python {model: hr.holidays}: |
import netsvc, tools, os, time
ctx={}
ctx.update({'model': 'hr.department','active_ids': [ref('hr.employee1'),ref('hr.employee2'),ref('hr.employee3')]})
data_dict = {'date_from': time.strftime('%Y-%m-01'), 'depts' : [(6,0,[ref('hr.dep_sales')])],'holiday_type' : 'Validated'}
@ -13,7 +12,6 @@
Print the HR Holidays(Summary Employee) Report through the wizard
-
!python {model: hr.holidays}: |
import netsvc, tools, os, time
ctx={}
ctx.update({'model': 'hr.employee','active_ids': [ref('hr.employee1'),ref('hr.employee2'),ref('hr.employee3')]})
data_dict = {'date_from': time.strftime('%Y-%m-01'), 'emp' : [(6,0,[ref('hr.employee1'),ref('hr.employee2'),ref('hr.employee3')])],'holiday_type' : 'Validated'}

View File

@ -56,7 +56,6 @@
Print the POS Payment Report through the wizard
-
!python {model: ir.ui.menu}: |
import netsvc, tools, os, 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')])] }
@ -67,7 +66,6 @@
Print the POS Details Report through the wizard
-
!python {model: ir.ui.menu}: |
import netsvc, tools, os, 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')}