odoo-addon-account-financial-report 15.0.1.1.0.1__py3-none-any.whl → 18.0.1.4.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/account_financial_report/README.rst +131 -74
- odoo/addons/account_financial_report/__manifest__.py +6 -9
- odoo/addons/account_financial_report/i18n/account_financial_report.pot +313 -188
- odoo/addons/account_financial_report/i18n/ar.po +579 -433
- odoo/addons/account_financial_report/i18n/ca.po +474 -289
- odoo/addons/account_financial_report/i18n/{fr_FR.po → ca_AD.po} +539 -491
- odoo/addons/account_financial_report/i18n/ca_ES.po +1891 -0
- odoo/addons/account_financial_report/i18n/de.po +455 -295
- odoo/addons/account_financial_report/i18n/es.po +458 -394
- odoo/addons/account_financial_report/i18n/es_AR.po +464 -283
- odoo/addons/account_financial_report/i18n/es_MX.po +315 -220
- odoo/addons/account_financial_report/i18n/fr.po +620 -435
- odoo/addons/account_financial_report/i18n/fr_CH.po +616 -462
- odoo/addons/account_financial_report/i18n/hr.po +506 -355
- odoo/addons/account_financial_report/i18n/hr_HR.po +331 -232
- odoo/addons/account_financial_report/i18n/it.po +538 -356
- odoo/addons/account_financial_report/i18n/ja.po +339 -240
- odoo/addons/account_financial_report/i18n/nl.po +462 -324
- odoo/addons/account_financial_report/i18n/nl_NL.po +318 -220
- odoo/addons/account_financial_report/i18n/pt.po +429 -242
- odoo/addons/account_financial_report/i18n/pt_BR.po +588 -438
- odoo/addons/account_financial_report/i18n/ro.po +499 -342
- odoo/addons/account_financial_report/i18n/sl.po +1945 -0
- odoo/addons/account_financial_report/i18n/sv.po +1997 -0
- odoo/addons/account_financial_report/i18n/tr.po +1947 -0
- odoo/addons/account_financial_report/menuitems.xml +1 -1
- odoo/addons/account_financial_report/models/__init__.py +2 -0
- odoo/addons/account_financial_report/models/account_age_report_configuration.py +49 -0
- odoo/addons/account_financial_report/models/account_group.py +62 -23
- odoo/addons/account_financial_report/models/account_move_line.py +33 -3
- odoo/addons/account_financial_report/models/ir_actions_report.py +6 -4
- odoo/addons/account_financial_report/models/res_config_settings.py +36 -0
- odoo/addons/account_financial_report/readme/CONFIGURE.md +26 -0
- odoo/addons/account_financial_report/readme/CONTRIBUTORS.md +38 -0
- odoo/addons/account_financial_report/readme/CREDITS.md +1 -0
- odoo/addons/account_financial_report/readme/DESCRIPTION.md +21 -0
- odoo/addons/account_financial_report/readme/HISTORY.md +16 -0
- odoo/addons/account_financial_report/readme/ROADMAP.md +6 -0
- odoo/addons/account_financial_report/report/abstract_report.py +73 -23
- odoo/addons/account_financial_report/report/abstract_report_xlsx.py +28 -23
- odoo/addons/account_financial_report/report/aged_partner_balance.py +131 -30
- odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +158 -118
- odoo/addons/account_financial_report/report/general_ledger.py +421 -340
- odoo/addons/account_financial_report/report/general_ledger_xlsx.py +127 -75
- odoo/addons/account_financial_report/report/journal_ledger.py +84 -68
- odoo/addons/account_financial_report/report/journal_ledger_xlsx.py +14 -8
- odoo/addons/account_financial_report/report/open_items.py +113 -70
- odoo/addons/account_financial_report/report/open_items_xlsx.py +152 -19
- odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +408 -311
- odoo/addons/account_financial_report/report/templates/general_ledger.xml +273 -213
- odoo/addons/account_financial_report/report/templates/journal_ledger.xml +70 -76
- odoo/addons/account_financial_report/report/templates/layouts.xml +12 -1
- odoo/addons/account_financial_report/report/templates/open_items.xml +181 -55
- odoo/addons/account_financial_report/report/templates/trial_balance.xml +304 -195
- odoo/addons/account_financial_report/report/templates/vat_report.xml +10 -10
- odoo/addons/account_financial_report/report/trial_balance.py +463 -211
- odoo/addons/account_financial_report/report/trial_balance_xlsx.py +37 -38
- odoo/addons/account_financial_report/report/vat_report.py +36 -25
- odoo/addons/account_financial_report/report/vat_report_xlsx.py +1 -1
- odoo/addons/account_financial_report/security/ir.model.access.csv +2 -0
- odoo/addons/account_financial_report/security/security.xml +8 -0
- odoo/addons/account_financial_report/static/description/index.html +106 -55
- odoo/addons/account_financial_report/static/src/css/report.css +77 -42
- odoo/addons/account_financial_report/static/src/css/report_html.css +10 -0
- odoo/addons/account_financial_report/static/src/js/report.esm.js +72 -0
- odoo/addons/account_financial_report/static/src/js/report_action.esm.js +39 -0
- odoo/addons/account_financial_report/static/src/xml/report.xml +10 -9
- odoo/addons/account_financial_report/tests/__init__.py +1 -0
- odoo/addons/account_financial_report/tests/test_age_report_configuration.py +42 -0
- odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +99 -9
- odoo/addons/account_financial_report/tests/test_general_ledger.py +19 -9
- odoo/addons/account_financial_report/tests/test_journal_ledger.py +18 -9
- odoo/addons/account_financial_report/tests/test_open_items.py +42 -2
- odoo/addons/account_financial_report/tests/test_trial_balance.py +114 -223
- odoo/addons/account_financial_report/tests/test_vat_report.py +17 -9
- odoo/addons/account_financial_report/view/account_age_report_configuration_views.xml +41 -0
- odoo/addons/account_financial_report/view/res_config_settings_views.xml +51 -0
- odoo/addons/account_financial_report/wizard/abstract_wizard.py +23 -0
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +22 -8
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +2 -3
- odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +42 -36
- odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +26 -41
- odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py +19 -7
- odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml +15 -14
- odoo/addons/account_financial_report/wizard/open_items_wizard.py +34 -8
- odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +16 -14
- odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +68 -45
- odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml +40 -39
- odoo/addons/account_financial_report/wizard/vat_report_wizard.py +9 -3
- odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml +14 -14
- odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/METADATA +234 -0
- odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/RECORD +107 -0
- {odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info → odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info}/WHEEL +1 -1
- odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/top_level.txt +1 -0
- odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +0 -35
- odoo/addons/account_financial_report/readme/DESCRIPTION.rst +0 -16
- odoo/addons/account_financial_report/readme/HISTORY.rst +0 -19
- odoo/addons/account_financial_report/readme/ROADMAP.rst +0 -7
- odoo/addons/account_financial_report/static/src/js/action_manager_report.js +0 -37
- odoo/addons/account_financial_report/static/src/js/client_action.js +0 -58
- odoo/addons/account_financial_report/static/src/js/report.js +0 -58
- odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/METADATA +0 -179
- odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/RECORD +0 -95
- odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/top_level.txt +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<odoo>
|
|
3
3
|
<template id="aged_partner_balance">
|
|
4
|
-
<t t-call="
|
|
4
|
+
<t t-call="account_financial_report.html_container">
|
|
5
5
|
<t t-foreach="docs" t-as="o">
|
|
6
6
|
<t t-call="account_financial_report.internal_layout">
|
|
7
7
|
<t
|
|
@@ -116,16 +116,24 @@
|
|
|
116
116
|
<div class="act_as_cell" style="width: 9.64%;">Residual</div>
|
|
117
117
|
<!--## current-->
|
|
118
118
|
<div class="act_as_cell" style="width: 9.64%;">Not due</div>
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
119
|
+
<t t-if="not age_partner_config">
|
|
120
|
+
<!--## age_30_days-->
|
|
121
|
+
<div class="act_as_cell" style="width: 9.64%;">1 - 30 d.</div>
|
|
122
|
+
<!--## age_60_days-->
|
|
123
|
+
<div class="act_as_cell" style="width: 9.64%;">31 - 60 d.</div>
|
|
124
|
+
<!--## age_90_days-->
|
|
125
|
+
<div class="act_as_cell" style="width: 9.64%;">61 - 90 d.</div>
|
|
126
|
+
<!--## age_120_days-->
|
|
127
|
+
<div class="act_as_cell" style="width: 9.64%;">91 - 120 d.</div>
|
|
128
|
+
<!--## older-->
|
|
129
|
+
<div class="act_as_cell" style="width: 9.64%;">> 120 d.</div>
|
|
130
|
+
</t>
|
|
131
|
+
<!--## dynamic columns-->
|
|
132
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
133
|
+
<div class="act_as_cell">
|
|
134
|
+
<span t-out="column_dynamic.name" />
|
|
135
|
+
</div>
|
|
136
|
+
</t>
|
|
129
137
|
</div>
|
|
130
138
|
</div>
|
|
131
139
|
</template>
|
|
@@ -150,41 +158,51 @@
|
|
|
150
158
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
151
159
|
/>
|
|
152
160
|
</div>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
<
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
<
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
161
|
+
<t t-if="not age_partner_config">
|
|
162
|
+
<!--## age_30_days-->
|
|
163
|
+
<div class="act_as_cell amount">
|
|
164
|
+
<span
|
|
165
|
+
t-esc="partner['30_days']"
|
|
166
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
167
|
+
/>
|
|
168
|
+
</div>
|
|
169
|
+
<!--## age_60_days-->
|
|
170
|
+
<div class="act_as_cell amount">
|
|
171
|
+
<span
|
|
172
|
+
t-esc="partner['60_days']"
|
|
173
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
174
|
+
/>
|
|
175
|
+
</div>
|
|
176
|
+
<!--## age_90_days-->
|
|
177
|
+
<div class="act_as_cell amount">
|
|
178
|
+
<span
|
|
179
|
+
t-esc="partner['90_days']"
|
|
180
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
181
|
+
/>
|
|
182
|
+
</div>
|
|
183
|
+
<!--## age_120_days-->
|
|
184
|
+
<div class="act_as_cell amount">
|
|
185
|
+
<span
|
|
186
|
+
t-esc="partner['120_days']"
|
|
187
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
188
|
+
/>
|
|
189
|
+
</div>
|
|
190
|
+
<!--## older-->
|
|
191
|
+
<div class="act_as_cell amount">
|
|
192
|
+
<span
|
|
193
|
+
t-esc="partner['older']"
|
|
194
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
195
|
+
/>
|
|
196
|
+
</div>
|
|
197
|
+
</t>
|
|
198
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
199
|
+
<div class="act_as_cell amount">
|
|
200
|
+
<span
|
|
201
|
+
t-out="partner[column_dynamic]"
|
|
202
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
203
|
+
/>
|
|
204
|
+
</div>
|
|
205
|
+
</t>
|
|
188
206
|
</div>
|
|
189
207
|
</template>
|
|
190
208
|
<template id="report_aged_partner_balance_move_lines">
|
|
@@ -218,28 +236,36 @@
|
|
|
218
236
|
<div class="act_as_cell" style="width: 6.00%;">Residual</div>
|
|
219
237
|
<!--## current-->
|
|
220
238
|
<div class="act_as_cell" style="width: 6.00%;">Current</div>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
<t t-if="not age_partner_config">
|
|
240
|
+
<!--## age_30_days-->
|
|
241
|
+
<div class="act_as_cell" style="width: 6.00%;">
|
|
242
|
+
Age ≤ 30
|
|
243
|
+
d.
|
|
244
|
+
</div>
|
|
245
|
+
<!--## age_60_days-->
|
|
246
|
+
<div class="act_as_cell" style="width: 6.00%;">
|
|
247
|
+
Age ≤ 60
|
|
248
|
+
d.
|
|
249
|
+
</div>
|
|
250
|
+
<!--## age_90_days-->
|
|
251
|
+
<div class="act_as_cell" style="width: 6.00%;">
|
|
252
|
+
Age ≤ 90
|
|
253
|
+
d.
|
|
254
|
+
</div>
|
|
255
|
+
<!--## age_120_days-->
|
|
256
|
+
<div class="act_as_cell" style="width: 6.00%;">
|
|
257
|
+
Age ≤ 120
|
|
258
|
+
d.
|
|
259
|
+
</div>
|
|
260
|
+
<!--## older-->
|
|
261
|
+
<div class="act_as_cell" style="width: 6.00%;">Older</div>
|
|
262
|
+
</t>
|
|
263
|
+
<!--## current-->
|
|
264
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
265
|
+
<div class="act_as_cell">
|
|
266
|
+
<span t-esc="column_dynamic.name" />
|
|
267
|
+
</div>
|
|
268
|
+
</t>
|
|
243
269
|
</div>
|
|
244
270
|
</div>
|
|
245
271
|
<!-- Display each move lines -->
|
|
@@ -353,106 +379,129 @@
|
|
|
353
379
|
</span>
|
|
354
380
|
</t>
|
|
355
381
|
</div>
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
<
|
|
359
|
-
<
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
/>
|
|
363
|
-
</t>
|
|
364
|
-
<t t-else="">
|
|
365
|
-
<span
|
|
366
|
-
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
367
|
-
res-model="account.move.line"
|
|
368
|
-
>
|
|
369
|
-
<t
|
|
370
|
-
t-out="line['30_days']"
|
|
382
|
+
<t t-if="not age_partner_config">
|
|
383
|
+
<!--## age_30_days-->
|
|
384
|
+
<div class="act_as_cell amount">
|
|
385
|
+
<t t-if="line['30_days'] == 0">
|
|
386
|
+
<span
|
|
387
|
+
t-esc="line['30_days']"
|
|
371
388
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
372
389
|
/>
|
|
373
|
-
</
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
>
|
|
389
|
-
<
|
|
390
|
-
t-
|
|
390
|
+
</t>
|
|
391
|
+
<t t-else="">
|
|
392
|
+
<span
|
|
393
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
394
|
+
res-model="account.move.line"
|
|
395
|
+
>
|
|
396
|
+
<t
|
|
397
|
+
t-out="line['30_days']"
|
|
398
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
399
|
+
/>
|
|
400
|
+
</span>
|
|
401
|
+
</t>
|
|
402
|
+
</div>
|
|
403
|
+
<!--## age_60_days-->
|
|
404
|
+
<div class="act_as_cell amount">
|
|
405
|
+
<t t-if="line['60_days'] == 0">
|
|
406
|
+
<span
|
|
407
|
+
t-esc="line['60_days']"
|
|
391
408
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
392
409
|
/>
|
|
393
|
-
</
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
>
|
|
409
|
-
<
|
|
410
|
-
t-
|
|
410
|
+
</t>
|
|
411
|
+
<t t-else="">
|
|
412
|
+
<span
|
|
413
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
414
|
+
res-model="account.move.line"
|
|
415
|
+
>
|
|
416
|
+
<t
|
|
417
|
+
t-out="line['60_days']"
|
|
418
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
419
|
+
/>
|
|
420
|
+
</span>
|
|
421
|
+
</t>
|
|
422
|
+
</div>
|
|
423
|
+
<!--## age_90_days-->
|
|
424
|
+
<div class="act_as_cell amount">
|
|
425
|
+
<t t-if="line['90_days'] == 0">
|
|
426
|
+
<span
|
|
427
|
+
t-esc="line['90_days']"
|
|
411
428
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
412
429
|
/>
|
|
413
|
-
</
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
>
|
|
429
|
-
<
|
|
430
|
-
t-
|
|
430
|
+
</t>
|
|
431
|
+
<t t-else="">
|
|
432
|
+
<span
|
|
433
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
434
|
+
res-model="account.move.line"
|
|
435
|
+
>
|
|
436
|
+
<t
|
|
437
|
+
t-out="line['90_days']"
|
|
438
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
439
|
+
/>
|
|
440
|
+
</span>
|
|
441
|
+
</t>
|
|
442
|
+
</div>
|
|
443
|
+
<!--## age_120_days-->
|
|
444
|
+
<div class="act_as_cell amount">
|
|
445
|
+
<t t-if="line['120_days'] == 0">
|
|
446
|
+
<span
|
|
447
|
+
t-esc="line['120_days']"
|
|
431
448
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
432
449
|
/>
|
|
433
|
-
</
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
>
|
|
449
|
-
<
|
|
450
|
-
t-
|
|
450
|
+
</t>
|
|
451
|
+
<t t-else="">
|
|
452
|
+
<span
|
|
453
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
454
|
+
res-model="account.move.line"
|
|
455
|
+
>
|
|
456
|
+
<t
|
|
457
|
+
t-out="line['120_days']"
|
|
458
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
459
|
+
/>
|
|
460
|
+
</span>
|
|
461
|
+
</t>
|
|
462
|
+
</div>
|
|
463
|
+
<!--## older-->
|
|
464
|
+
<div class="act_as_cell amount">
|
|
465
|
+
<t t-if="line['older'] == 0">
|
|
466
|
+
<span
|
|
467
|
+
t-esc="line['older']"
|
|
451
468
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
452
469
|
/>
|
|
453
|
-
</
|
|
454
|
-
|
|
455
|
-
|
|
470
|
+
</t>
|
|
471
|
+
<t t-else="">
|
|
472
|
+
<span
|
|
473
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
474
|
+
res-model="account.move.line"
|
|
475
|
+
>
|
|
476
|
+
<t
|
|
477
|
+
t-out="line['older']"
|
|
478
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
479
|
+
/>
|
|
480
|
+
</span>
|
|
481
|
+
</t>
|
|
482
|
+
</div>
|
|
483
|
+
</t>
|
|
484
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
485
|
+
<div class="act_as_cell amount">
|
|
486
|
+
<t t-if="line[column_dynamic] == 0">
|
|
487
|
+
<span
|
|
488
|
+
t-esc="line[column_dynamic]"
|
|
489
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
490
|
+
/>
|
|
491
|
+
</t>
|
|
492
|
+
<t t-else="">
|
|
493
|
+
<span
|
|
494
|
+
domain="[('id', 'in', (line['line_rec'] | line['line_rec'].matched_debit_ids.mapped('debit_move_id') | line['line_rec'].matched_credit_ids.mapped('credit_move_id')).ids)]"
|
|
495
|
+
res-model="account.move.line"
|
|
496
|
+
>
|
|
497
|
+
<t
|
|
498
|
+
t-out="line[column_dynamic]"
|
|
499
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
500
|
+
/>
|
|
501
|
+
</span>
|
|
502
|
+
</t>
|
|
503
|
+
</div>
|
|
504
|
+
</t>
|
|
456
505
|
</div>
|
|
457
506
|
</t>
|
|
458
507
|
</div>
|
|
@@ -482,100 +531,120 @@
|
|
|
482
531
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
483
532
|
/>
|
|
484
533
|
</div>
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
<
|
|
488
|
-
t-esc="partner_cumul_line['30_days']"
|
|
489
|
-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
490
|
-
/>
|
|
491
|
-
</div>
|
|
492
|
-
<!--## age_60_days-->
|
|
493
|
-
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
494
|
-
<span
|
|
495
|
-
t-esc="partner_cumul_line['60_days']"
|
|
496
|
-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
497
|
-
/>
|
|
498
|
-
</div>
|
|
499
|
-
<!--## age_90_days-->
|
|
500
|
-
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
501
|
-
<span
|
|
502
|
-
t-esc="partner_cumul_line['90_days']"
|
|
503
|
-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
504
|
-
/>
|
|
505
|
-
</div>
|
|
506
|
-
<!--## age_120_days-->
|
|
507
|
-
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
508
|
-
<span
|
|
509
|
-
t-esc="partner_cumul_line['120_days']"
|
|
510
|
-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
511
|
-
/>
|
|
512
|
-
</div>
|
|
513
|
-
<!--## older-->
|
|
514
|
-
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
515
|
-
<span
|
|
516
|
-
t-esc="partner_cumul_line['older']"
|
|
517
|
-
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
518
|
-
/>
|
|
519
|
-
</div>
|
|
520
|
-
</div>
|
|
521
|
-
</div>
|
|
522
|
-
</template>
|
|
523
|
-
<template id="report_aged_partner_balance_account_ending_cumul">
|
|
524
|
-
<!-- Display ending balance line for account -->
|
|
525
|
-
<div class="act_as_table list_table" style="width: 100%;">
|
|
526
|
-
<div class="act_as_row lines" style="font-weight: bold;">
|
|
527
|
-
<t t-if="not show_move_line_details">
|
|
528
|
-
<!--## total-->
|
|
529
|
-
<div class="act_as_cell right" style="width: 32.52%;">Total</div>
|
|
530
|
-
<!--## amount_residual-->
|
|
531
|
-
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
534
|
+
<t t-if="not age_partner_config">
|
|
535
|
+
<!--## age_30_days-->
|
|
536
|
+
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
532
537
|
<span
|
|
533
|
-
t-esc="
|
|
538
|
+
t-esc="partner_cumul_line['30_days']"
|
|
534
539
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
535
540
|
/>
|
|
536
541
|
</div>
|
|
537
|
-
<!--##
|
|
538
|
-
<div class="act_as_cell amount" style="width:
|
|
542
|
+
<!--## age_60_days-->
|
|
543
|
+
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
539
544
|
<span
|
|
540
|
-
t-esc="
|
|
545
|
+
t-esc="partner_cumul_line['60_days']"
|
|
541
546
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
542
547
|
/>
|
|
543
548
|
</div>
|
|
544
|
-
<!--##
|
|
545
|
-
<div class="act_as_cell amount" style="width:
|
|
549
|
+
<!--## age_90_days-->
|
|
550
|
+
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
546
551
|
<span
|
|
547
|
-
t-esc="
|
|
552
|
+
t-esc="partner_cumul_line['90_days']"
|
|
548
553
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
549
554
|
/>
|
|
550
555
|
</div>
|
|
551
|
-
<!--##
|
|
552
|
-
<div class="act_as_cell amount" style="width:
|
|
556
|
+
<!--## age_120_days-->
|
|
557
|
+
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
553
558
|
<span
|
|
554
|
-
t-esc="
|
|
559
|
+
t-esc="partner_cumul_line['120_days']"
|
|
555
560
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
556
561
|
/>
|
|
557
562
|
</div>
|
|
558
|
-
<!--##
|
|
559
|
-
<div class="act_as_cell amount" style="width:
|
|
563
|
+
<!--## older-->
|
|
564
|
+
<div class="act_as_cell amount" style="width: 6.00%;">
|
|
560
565
|
<span
|
|
561
|
-
t-esc="
|
|
566
|
+
t-esc="partner_cumul_line['older']"
|
|
562
567
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
563
568
|
/>
|
|
564
569
|
</div>
|
|
565
|
-
|
|
570
|
+
</t>
|
|
571
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
572
|
+
<div class="act_as_cell amount">
|
|
573
|
+
<span
|
|
574
|
+
t-esc="partner_cumul_line[column_dynamic]"
|
|
575
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
576
|
+
/>
|
|
577
|
+
</div>
|
|
578
|
+
</t>
|
|
579
|
+
</div>
|
|
580
|
+
</div>
|
|
581
|
+
</template>
|
|
582
|
+
<template id="report_aged_partner_balance_account_ending_cumul">
|
|
583
|
+
<!-- Display ending balance line for account -->
|
|
584
|
+
<div class="act_as_table list_table" style="width: 100%;">
|
|
585
|
+
<div class="act_as_row lines" style="font-weight: bold;">
|
|
586
|
+
<t t-if="not show_move_line_details">
|
|
587
|
+
<!--## total-->
|
|
588
|
+
<div class="act_as_cell right" style="width: 32.52%;">Total</div>
|
|
589
|
+
<!--## amount_residual-->
|
|
566
590
|
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
567
591
|
<span
|
|
568
|
-
t-esc="account['
|
|
592
|
+
t-esc="account['residual']"
|
|
569
593
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
570
594
|
/>
|
|
571
595
|
</div>
|
|
572
|
-
<!--##
|
|
596
|
+
<!--## current-->
|
|
573
597
|
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
574
598
|
<span
|
|
575
|
-
t-esc="account['
|
|
599
|
+
t-esc="account['current']"
|
|
576
600
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
577
601
|
/>
|
|
578
602
|
</div>
|
|
603
|
+
<t t-if="not age_partner_config">
|
|
604
|
+
<!--## age_30_days-->
|
|
605
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
606
|
+
<span
|
|
607
|
+
t-esc="account['30_days']"
|
|
608
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
609
|
+
/>
|
|
610
|
+
</div>
|
|
611
|
+
<!--## age_60_days-->
|
|
612
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
613
|
+
<span
|
|
614
|
+
t-esc="account['60_days']"
|
|
615
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
616
|
+
/>
|
|
617
|
+
</div>
|
|
618
|
+
<!--## age_90_days-->
|
|
619
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
620
|
+
<span
|
|
621
|
+
t-esc="account['90_days']"
|
|
622
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
623
|
+
/>
|
|
624
|
+
</div>
|
|
625
|
+
<!--## age_120_days-->
|
|
626
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
627
|
+
<span
|
|
628
|
+
t-esc="account['120_days']"
|
|
629
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
630
|
+
/>
|
|
631
|
+
</div>
|
|
632
|
+
<!--## older-->
|
|
633
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
634
|
+
<span
|
|
635
|
+
t-esc="account['older']"
|
|
636
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
637
|
+
/>
|
|
638
|
+
</div>
|
|
639
|
+
</t>
|
|
640
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
641
|
+
<div class="act_as_cell amount">
|
|
642
|
+
<span
|
|
643
|
+
t-esc="account[column_dynamic]"
|
|
644
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
645
|
+
/>
|
|
646
|
+
</div>
|
|
647
|
+
</t>
|
|
579
648
|
</t>
|
|
580
649
|
<t t-if="show_move_line_details">
|
|
581
650
|
<!--## total-->
|
|
@@ -596,41 +665,51 @@
|
|
|
596
665
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
597
666
|
/>
|
|
598
667
|
</div>
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
<
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
<
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
<
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
<
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
<
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
668
|
+
<t t-if="not age_partner_config">
|
|
669
|
+
<!--## age_30_days-->
|
|
670
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
671
|
+
<span
|
|
672
|
+
t-esc="account['30_days']"
|
|
673
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
674
|
+
/>
|
|
675
|
+
</div>
|
|
676
|
+
<!--## age_60_days-->
|
|
677
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
678
|
+
<span
|
|
679
|
+
t-esc="account['60_days']"
|
|
680
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
681
|
+
/>
|
|
682
|
+
</div>
|
|
683
|
+
<!--## age_90_days-->
|
|
684
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
685
|
+
<span
|
|
686
|
+
t-esc="account['90_days']"
|
|
687
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
688
|
+
/>
|
|
689
|
+
</div>
|
|
690
|
+
<!--## age_120_days-->
|
|
691
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
692
|
+
<span
|
|
693
|
+
t-esc="account['120_days']"
|
|
694
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
695
|
+
/>
|
|
696
|
+
</div>
|
|
697
|
+
<!--## older-->
|
|
698
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
699
|
+
<span
|
|
700
|
+
t-esc="account['older']"
|
|
701
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
702
|
+
/>
|
|
703
|
+
</div>
|
|
704
|
+
</t>
|
|
705
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
706
|
+
<div class="act_as_cell amount">
|
|
707
|
+
<span
|
|
708
|
+
t-esc="account[column_dynamic]"
|
|
709
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
710
|
+
/>
|
|
711
|
+
</div>
|
|
712
|
+
</t>
|
|
634
713
|
</t>
|
|
635
714
|
</div>
|
|
636
715
|
<div class="act_as_row" style="font-weight: bold; font-style: italic;">
|
|
@@ -642,33 +721,42 @@
|
|
|
642
721
|
<!--## current-->
|
|
643
722
|
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
644
723
|
<span t-esc="account['percent_current']" />
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
<
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
<
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
<
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
<
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
<
|
|
670
|
-
|
|
671
|
-
|
|
724
|
+
%
|
|
725
|
+
</div>
|
|
726
|
+
<t t-if="not age_partner_config">
|
|
727
|
+
<!--## age_30_days-->
|
|
728
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
729
|
+
<span t-esc="account['percent_30_days']" />
|
|
730
|
+
%
|
|
731
|
+
</div>
|
|
732
|
+
<!--## age_60_days-->
|
|
733
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
734
|
+
<span t-esc="account['percent_60_days']" />
|
|
735
|
+
%
|
|
736
|
+
</div>
|
|
737
|
+
<!--## age_90_days-->
|
|
738
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
739
|
+
<span t-esc="account['percent_90_days']" />
|
|
740
|
+
%
|
|
741
|
+
</div>
|
|
742
|
+
<!--## age_120_days-->
|
|
743
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
744
|
+
<span t-esc="account['percent_120_days']" />
|
|
745
|
+
%
|
|
746
|
+
</div>
|
|
747
|
+
<!--## older-->
|
|
748
|
+
<div class="act_as_cell amount" style="width: 9.64%;">
|
|
749
|
+
<span t-esc="account['percent_older']" />
|
|
750
|
+
%
|
|
751
|
+
</div>
|
|
752
|
+
</t>
|
|
753
|
+
<!--## current-->
|
|
754
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
755
|
+
<div class="act_as_cell amount">
|
|
756
|
+
<span t-esc="account['percent_'+str(column_dynamic.id)]" />
|
|
757
|
+
%
|
|
758
|
+
</div>
|
|
759
|
+
</t>
|
|
672
760
|
</t>
|
|
673
761
|
<t t-if="show_move_line_details">
|
|
674
762
|
<!--## total-->
|
|
@@ -680,33 +768,42 @@
|
|
|
680
768
|
<!--## current-->
|
|
681
769
|
<div class="act_as_cell amount" style="width: 6.00%">
|
|
682
770
|
<span t-esc="account['percent_current']" />
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
<
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
<
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
<
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
<
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
<
|
|
708
|
-
|
|
709
|
-
|
|
771
|
+
%
|
|
772
|
+
</div>
|
|
773
|
+
<t t-if="not age_partner_config">
|
|
774
|
+
<!--## age_30_days-->
|
|
775
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
776
|
+
<span t-esc="account['percent_30_days']" />
|
|
777
|
+
%
|
|
778
|
+
</div>
|
|
779
|
+
<!--## age_60_days-->
|
|
780
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
781
|
+
<span t-esc="account['percent_60_days']" />
|
|
782
|
+
%
|
|
783
|
+
</div>
|
|
784
|
+
<!--## age_90_days-->
|
|
785
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
786
|
+
<span t-esc="account['percent_90_days']" />
|
|
787
|
+
%
|
|
788
|
+
</div>
|
|
789
|
+
<!--## age_120_days-->
|
|
790
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
791
|
+
<span t-esc="account['percent_120_days']" />
|
|
792
|
+
%
|
|
793
|
+
</div>
|
|
794
|
+
<!--## older-->
|
|
795
|
+
<div class="act_as_cell amount" style="width: 6.00%">
|
|
796
|
+
<span t-esc="account['percent_older']" />
|
|
797
|
+
%
|
|
798
|
+
</div>
|
|
799
|
+
</t>
|
|
800
|
+
<!--## current-->
|
|
801
|
+
<t t-foreach="age_partner_config.line_ids" t-as="column_dynamic">
|
|
802
|
+
<div class="act_as_cell amount">
|
|
803
|
+
<span t-esc="account['percent_'+str(column_dynamic.id)]" />
|
|
804
|
+
%
|
|
805
|
+
</div>
|
|
806
|
+
</t>
|
|
710
807
|
</t>
|
|
711
808
|
</div>
|
|
712
809
|
</div>
|