@ -11,6 +11,10 @@
</t>
</template>
<template id="report_trial_balance_html_qweb">
<t t-call="account_financial_report.report_trial_balance_qweb"/>
<template id="account_financial_report.report_trial_balance_base">
<!-- Saved flag fields into variables, used to define columns display -->
<t t-set="show_partner_details" t-value="o.show_partner_details"/>
@ -204,6 +204,9 @@ class TrialBalanceReportCompute(models.TransientModel):
self.ensure_one()
if report_type == 'xlsx':
report_name = 'a_f_r.report_trial_balance_xlsx'
elif report_type == 'qweb-html':
report_name = 'account_financial_report.' \
'report_trial_balance_html_qweb'
else:
'report_trial_balance_qweb'
@ -53,7 +53,7 @@
model="report_trial_balance"
string="Trial Balance"
report_type="qweb-html"
name="account_financial_report.report_trial_balance_qweb"
name="account_financial_report.report_trial_balance_html_qweb"
file="account_financial_report.report_trial_balance_html"
/>
@ -19,6 +19,9 @@ class TestTrialBalance(a_t_f_c.AbstractTestForeignCurrency):
def _getQwebReportName(self):
return 'account_financial_report.report_trial_balance_qweb'
def _getHtmlReportName(self):
return 'account_financial_report.report_trial_balance_html_qweb'
def _getXlsxReportName(self):
return 'a_f_r.report_trial_balance_xlsx'