account: add multi company to tax report

bzr revid: ced-2cf620cea93285b52aebae6dac5f290fd12db8c1
This commit is contained in:
ced 2007-07-26 08:30:21 +00:00
parent d3ceadef93
commit 9126dfc943
1 changed files with 2 additions and 5 deletions

View File

@ -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)