~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_mcdb/report/mcdb_result.py

  • Committer: jf
  • Date: 2013-12-02 13:20:13 UTC
  • mfrom: (1798.2.23 UF_2122)
  • Revision ID: jfb@tempo-consulting.fr-20131202132013-wqe2uobibj7px8iw
UF-2122 [IMP] Use of additional analytical axis
lp:~unifield-team/unifield-wm/UF_2122

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
 
143
143
account_analytic_line_report_xls('report.account.analytic.line_xls','account.analytic.line','addons/account_mcdb/report/report_account_analytic_line_xls.mako')
144
144
 
 
145
class account_analytic_line_free_report_xls(SpreadsheetReport):
 
146
    def __init__(self, name, table, rml=False, parser=report_sxw.rml_parse, header='external', store=False):
 
147
        super(account_analytic_line_free_report_xls, self).__init__(name, table, rml=rml, parser=parser, header=header, store=store)
 
148
 
 
149
    def create(self, cr, uid, ids, data, context=None):
 
150
        ids = getIds(self, cr, uid, ids, context)
 
151
        a = super(account_analytic_line_free_report_xls, self).create(cr, uid, ids, data, context)
 
152
        return (a[0], 'xls')
 
153
 
 
154
account_analytic_line_free_report_xls('report.account.analytic.line.free_xls','account.analytic.line','addons/account_mcdb/report/report_account_analytic_line_free_xls.mako')
 
155
 
145
156
class account_bank_statement_line_report(report_sxw.report_sxw):
146
157
    def __init__(self, name, table, rml=False, parser=report_sxw.rml_parse, header='external', store=False):
147
158
        report_sxw.report_sxw.__init__(self, name, table, rml=rml, parser=parser, header=header, store=store)