import time
from report import report_sxw
class account_invoice(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(account_invoice, self).__init__(cr, uid, name, context)
self.localcontext.update({
'time': time,
})
report_sxw.report_sxw(
'report.account.invoice2',
'account.invoice',
'addons/profile_hsd/report/invoice.rml',
parser=account_invoice
)