diff --git a/account_financial_report/report/templates/trial_balance.xml b/account_financial_report/report/templates/trial_balance.xml
index 869ba9e3..fea0f7f8 100644
--- a/account_financial_report/report/templates/trial_balance.xml
+++ b/account_financial_report/report/templates/trial_balance.xml
@@ -11,6 +11,10 @@
+
+
+
+
diff --git a/account_financial_report/report/trial_balance.py b/account_financial_report/report/trial_balance.py
index c668127a..5e8029e9 100644
--- a/account_financial_report/report/trial_balance.py
+++ b/account_financial_report/report/trial_balance.py
@@ -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_name = 'account_financial_report.' \
'report_trial_balance_qweb'
diff --git a/account_financial_report/reports.xml b/account_financial_report/reports.xml
index e2b68993..2cb2ffd3 100644
--- a/account_financial_report/reports.xml
+++ b/account_financial_report/reports.xml
@@ -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"
/>
diff --git a/account_financial_report/tests/test_trial_balance.py b/account_financial_report/tests/test_trial_balance.py
index 48d0bc20..8427e98a 100644
--- a/account_financial_report/tests/test_trial_balance.py
+++ b/account_financial_report/tests/test_trial_balance.py
@@ -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'