1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| import time
from report import report_sxw
class report_odimat_courrier(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(report_odimat_courrier, self).__init__(cr, uid, name, context=context)
self.localcontext.update({
'time': time,
})
self.context = context
report_sxw.report_sxw(
'report.courrierv1.report',
'odimat.courrier',
'odimat_courrier/report/courrierv1.rml',
parser=report_odimat_courrier,
header=True)
report_sxw.report_sxw(
'report.courrierv2.report',
'odimat.courrier',
'odimat_courrier/report/courrierv2.rml',
parser=report_odimat_courrier,
header=True)
report_sxw.report_sxw(
'report.courrierv3.report',
'odimat.courrier',
'odimat_courrier/report/courrierv3.rml',
parser=report_odimat_courrier,
header=True)
report_sxw.report_sxw(
'report.courrierv4.report',
'odimat.courrier',
'odimat_courrier/report/courrierv4.rml',
parser=report_odimat_courrier,
header=True)
report_sxw.report_sxw(
'report.courrierv5.report',
'odimat.courrier',
'odimat_courrier/report/courrierv5.rml',
parser=report_odimat_courrier,
header=True)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
Partager