diff --git a/account_financial_report/report/general_ledger.py b/account_financial_report/report/general_ledger.py
index 0299c55c..c86745bc 100644
--- a/account_financial_report/report/general_ledger.py
+++ b/account_financial_report/report/general_ledger.py
@@ -1298,8 +1298,6 @@ ORDER BY
0.0 AS final_balance
FROM
account_account a
- INNER JOIN
- account_account_type at ON a.user_type_id = at.id
INNER JOIN
account_move_line ml
ON a.id = ml.account_id
@@ -1339,12 +1337,8 @@ ORDER BY
SELECT
0.0 AS initial_balance,
SUM(ml.balance) AS final_balance
- """
- sub_subquery_sum_amounts += """
FROM
account_account a
- INNER JOIN
- account_account_type at ON a.user_type_id = at.id
INNER JOIN
account_move_line ml
ON a.id = ml.account_id
diff --git a/account_financial_report/report/templates/trial_balance.xml b/account_financial_report/report/templates/trial_balance.xml
index 69d7ee3c..f598a6dc 100644
--- a/account_financial_report/report/templates/trial_balance.xml
+++ b/account_financial_report/report/templates/trial_balance.xml
@@ -35,7 +35,12 @@