+
-
+
+
+
-
+
+
+
-
-
+
+
+
diff --git a/account_financial_report/report/templates/trial_balance.xml b/account_financial_report/report/templates/trial_balance.xml
index e72016b..8879394 100644
--- a/account_financial_report/report/templates/trial_balance.xml
+++ b/account_financial_report/report/templates/trial_balance.xml
@@ -111,18 +111,14 @@
style="margin-top: 10px;"
/>
@@ -240,59 +236,44 @@
@@ -300,18 +281,15 @@
-
-
+
-
-
+ t-esc="partners_data[partner_id]['name']"
+ />
@@ -324,38 +302,26 @@
t-value="[('account_id', '=', balance['id']),
('date', '<', date_from)]"
/>
-
-
+
-
-
+ t-esc="balance['initial_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
-
-
-
-
-
+
+
-
-
+ t-raw="balance['initial_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -366,19 +332,12 @@
('partner_id', '=', int(partner_id)),
('date', '<', date_from)]"
/>
-
-
+
-
-
+ t-raw="total_amount[account_id][partner_id]['initial_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -393,40 +352,28 @@
('date', '<=', date_to),
('debit', '<>', 0)]"
/>
-
-
+
-
-
+ t-esc="balance['debit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
-
-
-
-
-
-
-
+
+
-
-
+ t-raw="balance['debit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -439,19 +386,12 @@
('date', '<=', date_to),
('debit', '<>', 0)]"
/>
-
-
+
-
-
+ t-raw="total_amount[account_id][partner_id]['debit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -466,40 +406,28 @@
('date', '<=', date_to),
('credit', '<>', 0)]"
/>
-
-
+
-
-
+ t-esc="balance['credit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
-
-
-
-
-
-
-
+
+
-
-
+ t-raw="balance['credit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -512,19 +440,12 @@
('date', '<=', date_to),
('credit', '<>', 0)]"
/>
-
-
+
-
-
+ t-raw="total_amount[account_id][partner_id]['credit']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -532,44 +453,34 @@
-
-
-
-
-
-
-
+
+
-
-
+ t-esc="balance['balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
-
-
-
-
-
-
+
+
-
-
+ t-raw="balance['balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -582,19 +493,12 @@
('date', '<=', date_to),
('balance', '<>', 0)]"
/>
-
-
+
-
-
+ t-raw="total_amount[account_id][partner_id]['balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -607,19 +511,12 @@
t-value="[('account_id', '=', balance['id']),
('date', '<=', date_to)]"
/>
-
-
+
-
-
+ t-esc="balance['ending_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -627,19 +524,12 @@
t-set="domain"
t-value="[('account_id', 'in', balance['account_ids'])]"
/>
-
-
+
-
-
+ t-raw="balance['ending_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -650,19 +540,12 @@
('partner_id', '=', int(partner_id)),
('date', '<=', date_to)]"
/>
-
-
+
-
-
+ t-esc="total_amount[account_id][partner_id]['ending_balance']"
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
+ />
@@ -676,26 +559,24 @@