Skip to content

Commit bea79eb

Browse files
committed
[IMP] l10n_it_financial_statements_report: pre-commit stuff
1 parent 5b56901 commit bea79eb

File tree

3 files changed

+51
-50
lines changed

3 files changed

+51
-50
lines changed

l10n_it_financial_statements_report/report/reports.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="report_financial_statements_report_html" model="ir.actions.report">
54
<field name="model">trial.balance.report.wizard</field>
65
<field name="name">Financial Statements Report HTML</field>
@@ -36,5 +35,4 @@
3635
name="report_file"
3736
>l10n_it_financial_statements_report.report_xlsx</field>
3837
</record>
39-
4038
</odoo>

l10n_it_financial_statements_report/report/templates/financial_statements_report.xml

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
55
-->
66
<odoo>
7-
87
<template id="template_financial_statements_report">
98
<div class="o_account_financial_reports_page">
109
<t t-call="account_financial_report.report_buttons" />
@@ -141,9 +140,9 @@
141140
<div class="act_as_row">
142141
<div class="act_as_cell" style="width: 25%;">
143142
From: <span
144-
t-esc="date_from"
145-
t-options="{'widget': 'date'}"
146-
/> To: <span t-esc="date_to" t-options="{'widget': 'date'}" />
143+
t-esc="date_from"
144+
t-options="{'widget': 'date'}"
145+
/> To: <span t-esc="date_to" t-options="{'widget': 'date'}" />
147146
</div>
148147
<div class="act_as_cell" style="width: 25%;">
149148
<t t-if="only_posted_moves">All posted entries</t>
@@ -220,7 +219,8 @@
220219
<t
221220
t-att-style="style"
222221
t-out="accounts_data[account_id]['code']"
223-
/></a>
222+
/>
223+
</a>
224224
</span>
225225
</t>
226226
<t t-elif="group_id">
@@ -232,10 +232,8 @@
232232
t-att-style="style"
233233
view-type="form"
234234
>
235-
<t
236-
t-att-style="style"
237-
t-out="line.get('complete_code')"
238-
/></a>
235+
<t t-att-style="style" t-out="line.get('complete_code')" />
236+
</a>
239237
</span>
240238
</t>
241239
</div>
@@ -253,7 +251,8 @@
253251
<t
254252
t-att-style="style"
255253
t-out="accounts_data[account_id]['name']"
256-
/></a>
254+
/>
255+
</a>
257256
</span>
258257
</t>
259258
<t t-elif="group_id">
@@ -265,7 +264,8 @@
265264
t-att-style="style"
266265
view-type="form"
267266
>
268-
<t t-att-style="style" t-out="line.get('name')" /></a>
267+
<t t-att-style="style" t-out="line.get('name')" />
268+
</a>
269269
</span>
270270
</t>
271271
</div>
@@ -285,11 +285,12 @@
285285
class="o_account_financial_reports_web_action_monetary_multi"
286286
t-att-style="style"
287287
>
288-
<t
288+
<t
289289
t-att-style="style"
290290
t-out="line.get('ending_balance')"
291291
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
292-
/></a>
292+
/>
293+
</a>
293294
</span>
294295
</t>
295296
<t t-elif="line.get('group_id')">
@@ -306,11 +307,12 @@
306307
class="o_account_financial_reports_web_action_monetary_multi"
307308
t-att-style="style"
308309
>
309-
<t
310+
<t
310311
t-att-style="style"
311312
t-out="line.get('ending_balance')"
312313
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
313-
/></a>
314+
/>
315+
</a>
314316
</span>
315317
</t>
316318
</div>
@@ -341,11 +343,12 @@
341343
class="o_account_financial_reports_web_action_monetary_multi"
342344
t-att-style="style"
343345
>
344-
<t
346+
<t
345347
t-att-style="style"
346348
t-out="line.get('ending_currency_balance')"
347349
t-options="{'widget': 'monetary', 'display_currency': currency}"
348-
/></a>
350+
/>
351+
</a>
349352
</span>
350353
</t>
351354
<t t-elif="line.get('group_id')">
@@ -362,11 +365,12 @@
362365
class="o_account_financial_reports_web_action_monetary_multi"
363366
t-att-style="style"
364367
>
365-
<t
368+
<t
366369
t-att-style="style"
367370
t-out="line.get('ending_currency_balance')"
368371
t-options="{'widget': 'monetary', 'display_currency': currency}"
369-
/></a>
372+
/>
373+
</a>
370374
</span>
371375
</t>
372376
</div>
@@ -508,9 +512,9 @@
508512
style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
509513
>
510514
<span t-esc="left_col_name" /> BALANCE: <t
511-
t-out="total_debit"
512-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
513-
/>
515+
t-out="total_debit"
516+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
517+
/>
514518
</span>
515519
</div>
516520
<!-- Display total credit -->
@@ -519,9 +523,9 @@
519523
style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
520524
>
521525
<span t-esc="right_col_name" /> BALANCE: <t
522-
t-out="total_credit"
523-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
524-
/>
526+
t-out="total_credit"
527+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
528+
/>
525529
</span>
526530
</div>
527531
</div>
@@ -535,9 +539,9 @@
535539
style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
536540
>
537541
SURPLUS: <t
538-
t-out="total_balance"
539-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
540-
/>
542+
t-out="total_balance"
543+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
544+
/>
541545
</span>
542546
</t>
543547
</div>
@@ -547,14 +551,13 @@
547551
style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
548552
>
549553
DEFICIT: <t
550-
t-out="total_balance"
551-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
552-
/>
554+
t-out="total_balance"
555+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
556+
/>
553557
</span>
554558
</t>
555559
</div>
556560
</div>
557561
</div>
558562
</template>
559-
560563
</odoo>

l10n_it_financial_statements_report/wizard/wizard_financial_statements_report.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,26 +112,26 @@
112112
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}"
113113
>
114114
<button
115-
name="button_export_html"
116-
string="View"
117-
type="object"
118-
default_focus="1"
119-
class="oe_highlight"
120-
/>
115+
name="button_export_html"
116+
string="View"
117+
type="object"
118+
default_focus="1"
119+
class="oe_highlight"
120+
/>
121121
or
122122
<button
123-
name="button_export_pdf"
124-
string="Export PDF"
125-
type="object"
126-
class="oe_highlight"
127-
/>
123+
name="button_export_pdf"
124+
string="Export PDF"
125+
type="object"
126+
class="oe_highlight"
127+
/>
128128
or
129129
<button
130-
name="button_export_xlsx"
131-
string="Export XLSX"
132-
type="object"
133-
class="oe_highlight"
134-
/>
130+
name="button_export_xlsx"
131+
string="Export XLSX"
132+
type="object"
133+
class="oe_highlight"
134+
/>
135135
or
136136
<button string="Cancel" class="oe_link" special="cancel" />
137137
</div>

0 commit comments

Comments
 (0)