diff --git a/account_financial_report/report/general_ledger_xlsx.py b/account_financial_report/report/general_ledger_xlsx.py
index 2071178d..2e210bfc 100644
--- a/account_financial_report/report/general_ledger_xlsx.py
+++ b/account_financial_report/report/general_ledger_xlsx.py
@@ -153,7 +153,7 @@ class GeneralLedgerXslx(models.AbstractModel):
# For each account
for account in general_ledger:
# Write account title
- total_bal_curr = account["init_bal"].get("bal_curr", 0)
+ total_bal_curr = 0
self.write_array_title(
account["code"] + " - " + accounts_data[account["id"]]["name"],
report_data,
@@ -234,7 +234,7 @@ class GeneralLedgerXslx(models.AbstractModel):
else:
# For each partner
- total_bal_curr = account["init_bal"]["bal_curr"]
+ total_bal_curr = 0
for group_item in account["list_grouped"]:
# Write partner title
self.write_array_title(group_item["name"], report_data)
diff --git a/account_financial_report/report/templates/general_ledger.xml b/account_financial_report/report/templates/general_ledger.xml
index 910a909b..fb8f2d31 100644
--- a/account_financial_report/report/templates/general_ledger.xml
+++ b/account_financial_report/report/templates/general_ledger.xml
@@ -369,10 +369,7 @@
-
+