[FIX] account: Printing Account Tax
Steps to reproduce: -open Accounting / Configuration / Taxes / Tax Codes -open any Tax Code -press Print / Account Tax Bug: QWebException: "chart_tax_id" while evaluating "get_lines(data['form']['based_on'], data['form']['company_id'], data['form']['chart_tax_id'])" Closes: #8923 opw:697423
This commit is contained in:
parent
e8019a23c2
commit
a3ee4d1914
|
@ -38,6 +38,7 @@ class tax_report(report_sxw.rml_parse, common_report_header):
|
||||||
'based_on': 'invoices',
|
'based_on': 'invoices',
|
||||||
'company_id': company_id,
|
'company_id': company_id,
|
||||||
'display_detail': False,
|
'display_detail': False,
|
||||||
|
'chart_tax_id': self.pool['account.vat.declaration']._get_tax(self.cr, self.uid),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.period_ids = []
|
self.period_ids = []
|
||||||
|
|
Loading…
Reference in New Issue