account: add multi company to tax report
bzr revid: ced-2cf620cea93285b52aebae6dac5f290fd12db8c1
This commit is contained in:
parent
d3ceadef93
commit
9126dfc943
|
@ -76,9 +76,6 @@ class tax_report(report_sxw.rml_parse):
|
|||
def _get_currency(self, form):
|
||||
return pooler.get_pool(self.cr.dbname).get('res.company').browse(self.cr, self.uid, form['company_id']).currency_id.name
|
||||
|
||||
report_sxw.report_sxw(
|
||||
'report.account.vat.declaration',
|
||||
'account.tax.code',
|
||||
'addons/account/report/tax_report.rml',
|
||||
parser=tax_report, header=False)
|
||||
report_sxw.report_sxw('report.account.vat.declaration', 'account.tax.code',
|
||||
'addons/account/report/tax_report.rml', parser=tax_report, header=False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue