odoo-addon-account-financial-report 16.0.1.15.2__py3-none-any.whl → 16.0.1.16.0__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.
Potentially problematic release.
This version of odoo-addon-account-financial-report might be problematic. Click here for more details.
- odoo/addons/account_financial_report/README.rst +14 -1
- odoo/addons/account_financial_report/__manifest__.py +5 -1
- odoo/addons/account_financial_report/data/report_column_data.xml +358 -0
- odoo/addons/account_financial_report/i18n/account_financial_report.pot +125 -0
- odoo/addons/account_financial_report/i18n/ar.po +1 -1
- odoo/addons/account_financial_report/i18n/ca.po +1 -1
- odoo/addons/account_financial_report/i18n/de.po +1 -1
- odoo/addons/account_financial_report/i18n/es.po +11 -6
- odoo/addons/account_financial_report/i18n/es_AR.po +1 -1
- odoo/addons/account_financial_report/i18n/es_MX.po +1 -1
- odoo/addons/account_financial_report/i18n/fr.po +1 -1
- odoo/addons/account_financial_report/i18n/fr_CH.po +1 -1
- odoo/addons/account_financial_report/i18n/fr_FR.po +1 -1
- odoo/addons/account_financial_report/i18n/hr.po +1 -1
- odoo/addons/account_financial_report/i18n/hr_HR.po +1 -1
- odoo/addons/account_financial_report/i18n/it.po +1 -1
- odoo/addons/account_financial_report/i18n/ja.po +1 -1
- odoo/addons/account_financial_report/i18n/nl.po +1 -1
- odoo/addons/account_financial_report/i18n/nl_NL.po +1 -1
- odoo/addons/account_financial_report/i18n/pt.po +1 -1
- odoo/addons/account_financial_report/i18n/pt_BR.po +1 -1
- odoo/addons/account_financial_report/i18n/ro.po +1 -1
- odoo/addons/account_financial_report/i18n/sv.po +1 -1
- odoo/addons/account_financial_report/i18n/tr.po +1 -1
- odoo/addons/account_financial_report/models/__init__.py +1 -0
- odoo/addons/account_financial_report/models/account_financial_report_column.py +17 -0
- odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +1 -0
- odoo/addons/account_financial_report/readme/DESCRIPTION.rst +3 -0
- odoo/addons/account_financial_report/readme/HISTORY.rst +5 -0
- odoo/addons/account_financial_report/readme/ROADMAP.rst +3 -0
- odoo/addons/account_financial_report/report/abstract_report.py +15 -0
- odoo/addons/account_financial_report/report/aged_partner_balance.py +18 -12
- odoo/addons/account_financial_report/report/general_ledger.py +27 -24
- odoo/addons/account_financial_report/report/journal_ledger.py +27 -22
- odoo/addons/account_financial_report/report/open_items.py +24 -19
- odoo/addons/account_financial_report/report/templates/general_ledger.xml +116 -52
- odoo/addons/account_financial_report/report/templates/journal_ledger.xml +79 -31
- odoo/addons/account_financial_report/report/templates/open_items.xml +51 -22
- odoo/addons/account_financial_report/report/trial_balance.py +30 -26
- odoo/addons/account_financial_report/report/vat_report.py +21 -16
- odoo/addons/account_financial_report/security/ir.model.access.csv +1 -0
- odoo/addons/account_financial_report/static/description/index.html +33 -19
- odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +4 -4
- odoo/addons/account_financial_report/tests/test_general_ledger.py +1 -1
- odoo/addons/account_financial_report/tests/test_journal_ledger.py +5 -5
- odoo/addons/account_financial_report/tests/test_open_items.py +1 -1
- odoo/addons/account_financial_report/tests/test_trial_balance.py +4 -4
- odoo/addons/account_financial_report/tests/test_vat_report.py +1 -1
- odoo/addons/account_financial_report/view/account_financial_report_column_view.xml +46 -0
- odoo/addons/account_financial_report/wizard/abstract_wizard.py +25 -1
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +17 -15
- odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +26 -23
- odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +7 -0
- odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py +19 -17
- odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml +48 -32
- odoo/addons/account_financial_report/wizard/open_items_wizard.py +20 -18
- odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +67 -54
- odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +26 -24
- odoo/addons/account_financial_report/wizard/vat_report_wizard.py +15 -13
- {odoo_addon_account_financial_report-16.0.1.15.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/METADATA +16 -3
- {odoo_addon_account_financial_report-16.0.1.15.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/RECORD +63 -60
- {odoo_addon_account_financial_report-16.0.1.15.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-16.0.1.15.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/top_level.txt +0 -0
|
@@ -138,45 +138,89 @@
|
|
|
138
138
|
<div class="act_as_thead">
|
|
139
139
|
<div class="act_as_row labels">
|
|
140
140
|
<!--## date-->
|
|
141
|
-
<div
|
|
141
|
+
<div
|
|
142
|
+
t-if="date_visible"
|
|
143
|
+
class="act_as_cell first_column"
|
|
144
|
+
style="width: 3.51%;"
|
|
145
|
+
>
|
|
142
146
|
Date
|
|
143
147
|
</div>
|
|
144
148
|
<!--## move-->
|
|
145
|
-
<div
|
|
149
|
+
<div
|
|
150
|
+
t-if="entry_visible"
|
|
151
|
+
class="act_as_cell"
|
|
152
|
+
style="width: 8.03%"
|
|
153
|
+
>Entry</div>
|
|
146
154
|
<!--## journal-->
|
|
147
|
-
<div
|
|
155
|
+
<div
|
|
156
|
+
t-if="journal_visible"
|
|
157
|
+
class="act_as_cell"
|
|
158
|
+
style="width: 4.13%;"
|
|
159
|
+
>Journal</div>
|
|
148
160
|
<!--## account code-->
|
|
149
|
-
<div
|
|
150
|
-
|
|
151
|
-
|
|
161
|
+
<div
|
|
162
|
+
t-if="account_code_visible"
|
|
163
|
+
class="act_as_cell"
|
|
164
|
+
style="width: 4.75%;"
|
|
165
|
+
>Account</div>
|
|
166
|
+
<!--## taxes-->
|
|
167
|
+
<div
|
|
168
|
+
t-if="taxes_visible"
|
|
169
|
+
class="act_as_cell"
|
|
170
|
+
style="width: 8.89%;"
|
|
171
|
+
>Taxes</div>
|
|
152
172
|
<!--## partner-->
|
|
153
|
-
<div
|
|
173
|
+
<div
|
|
174
|
+
t-if="partner_visible"
|
|
175
|
+
class="act_as_cell"
|
|
176
|
+
style="width: 12.01%;"
|
|
177
|
+
>Partner</div>
|
|
154
178
|
<!--## ref - label-->
|
|
155
|
-
<div
|
|
179
|
+
<div
|
|
180
|
+
t-if="ref_label_visible"
|
|
181
|
+
class="act_as_cell"
|
|
182
|
+
style="width: 16.9%;"
|
|
183
|
+
>
|
|
156
184
|
Ref -
|
|
157
185
|
Label
|
|
158
186
|
</div>
|
|
159
|
-
<t t-if="show_cost_center">
|
|
187
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
160
188
|
<!--## cost_center-->
|
|
161
189
|
<div class="act_as_cell" style="width: 8.03%;">
|
|
162
190
|
Analytic Distribution
|
|
163
191
|
</div>
|
|
164
192
|
</t>
|
|
165
|
-
<t t-if="show_analytic_tags">
|
|
193
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
166
194
|
<!--## analytic tags-->
|
|
167
195
|
<div class="act_as_cell" style="width: 4.75%;">Tags</div>
|
|
168
196
|
</t>
|
|
169
197
|
<!--## matching_number-->
|
|
170
|
-
<div
|
|
198
|
+
<div
|
|
199
|
+
t-if="matching_number_visible"
|
|
200
|
+
class="act_as_cell"
|
|
201
|
+
style="width: 2.41%;"
|
|
202
|
+
>Rec.</div>
|
|
171
203
|
<!--## debit-->
|
|
172
|
-
<div
|
|
204
|
+
<div
|
|
205
|
+
t-if="debit_visible"
|
|
206
|
+
class="act_as_cell amount"
|
|
207
|
+
style="width: 8.02%;"
|
|
208
|
+
>Debit</div>
|
|
173
209
|
<!--## credit-->
|
|
174
|
-
<div
|
|
210
|
+
<div
|
|
211
|
+
t-if="credit_visible"
|
|
212
|
+
class="act_as_cell amount"
|
|
213
|
+
style="width: 8.02%;"
|
|
214
|
+
>Credit</div>
|
|
175
215
|
<!--## balance cumulated-->
|
|
176
|
-
<div
|
|
216
|
+
<div
|
|
217
|
+
t-if="balance_visible"
|
|
218
|
+
class="act_as_cell amount"
|
|
219
|
+
style="width: 8.02%;"
|
|
220
|
+
>
|
|
177
221
|
Cumul. Bal.
|
|
178
222
|
</div>
|
|
179
|
-
<t t-if="foreign_currency">
|
|
223
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
180
224
|
<!--## amount_currency-->
|
|
181
225
|
<div
|
|
182
226
|
class="act_as_cell amount"
|
|
@@ -192,35 +236,35 @@
|
|
|
192
236
|
<!-- Display first line with initial balance -->
|
|
193
237
|
<div class="act_as_row lines">
|
|
194
238
|
<!--## date-->
|
|
195
|
-
<div class="act_as_cell" />
|
|
239
|
+
<div t-if="date_visible" class="act_as_cell" />
|
|
196
240
|
<!--## move-->
|
|
197
|
-
<div class="act_as_cell" />
|
|
241
|
+
<div t-if="entry_visible" class="act_as_cell" />
|
|
198
242
|
<!--## journal-->
|
|
199
|
-
<div class="act_as_cell" />
|
|
243
|
+
<div t-if="journal_visible" class="act_as_cell" />
|
|
200
244
|
<!--## account code-->
|
|
201
|
-
<div class="act_as_cell" />
|
|
245
|
+
<div t-if="account_code_visible" class="act_as_cell" />
|
|
202
246
|
<!--## taxes-->
|
|
203
|
-
<div class="act_as_cell" />
|
|
247
|
+
<div t-if="taxes_visible" class="act_as_cell" />
|
|
204
248
|
<!--## partner-->
|
|
205
|
-
<div class="act_as_cell" />
|
|
249
|
+
<div t-if="partner_visible" class="act_as_cell" />
|
|
206
250
|
<!--## ref - label-->
|
|
207
|
-
<div class="act_as_cell amount">
|
|
251
|
+
<div t-if="ref_label_visible" class="act_as_cell amount">
|
|
208
252
|
<t t-if='type == "account_type"'>Initial balance</t>
|
|
209
253
|
<t t-if='type == "grouped_type"'>
|
|
210
254
|
<t t-if="'partners' in account">Partner initial balance</t>
|
|
211
255
|
<t t-if="'taxes' in account">Tax initial balance</t>
|
|
212
256
|
</t>
|
|
213
257
|
</div>
|
|
214
|
-
<t t-if="show_cost_center">
|
|
258
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
215
259
|
<!--## cost_center-->
|
|
216
260
|
<div class="act_as_cell" />
|
|
217
261
|
</t>
|
|
218
|
-
<t t-if="show_analytic_tags">
|
|
262
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
219
263
|
<!--## analytic tags-->
|
|
220
264
|
<div class="act_as_cell" />
|
|
221
265
|
</t>
|
|
222
266
|
<!--## matching_number-->
|
|
223
|
-
<div class="act_as_cell" />
|
|
267
|
+
<div t-if="matching_number_visible" class="act_as_cell" />
|
|
224
268
|
<t
|
|
225
269
|
t-set="misc_domain"
|
|
226
270
|
t-value="[('account_id', '=', account['id']),('date', '<', date_from)]"
|
|
@@ -232,7 +276,7 @@
|
|
|
232
276
|
/>
|
|
233
277
|
<t t-set="misc_grouped_domain" t-value="[]" t-else="" />
|
|
234
278
|
<!--## debit-->
|
|
235
|
-
<div class="act_as_cell amount">
|
|
279
|
+
<div t-if="debit_visible" class="act_as_cell amount">
|
|
236
280
|
<t t-set="debit_domain" t-value="[('debit', '<>', 0)]" />
|
|
237
281
|
<t t-if="type == 'account_type'">
|
|
238
282
|
<span
|
|
@@ -258,7 +302,7 @@
|
|
|
258
302
|
</t>
|
|
259
303
|
</div>
|
|
260
304
|
<!--## credit-->
|
|
261
|
-
<div class="act_as_cell amount">
|
|
305
|
+
<div t-if="credit_visible" class="act_as_cell amount">
|
|
262
306
|
<t t-set="credit_domain" t-value="[('credit', '<>', 0)]" />
|
|
263
307
|
<t t-if="type == 'account_type'">
|
|
264
308
|
<span
|
|
@@ -284,7 +328,7 @@
|
|
|
284
328
|
</t>
|
|
285
329
|
</div>
|
|
286
330
|
<!--## balance cumulated-->
|
|
287
|
-
<div class="act_as_cell amount">
|
|
331
|
+
<div t-if="balance_visible" class="act_as_cell amount">
|
|
288
332
|
<t t-if="type == 'account_type'">
|
|
289
333
|
<span t-att-domain="misc_domain" res-model="account.move.line">
|
|
290
334
|
<t
|
|
@@ -305,7 +349,7 @@
|
|
|
305
349
|
</span>
|
|
306
350
|
</t>
|
|
307
351
|
</div>
|
|
308
|
-
<t t-if="foreign_currency">
|
|
352
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
309
353
|
<t t-if="account['currency_id']">
|
|
310
354
|
<t
|
|
311
355
|
t-set="account_currency"
|
|
@@ -372,7 +416,7 @@
|
|
|
372
416
|
<!-- # lines or centralized lines -->
|
|
373
417
|
<div class="act_as_row lines">
|
|
374
418
|
<!--## date-->
|
|
375
|
-
<div class="act_as_cell left">
|
|
419
|
+
<div t-if="date_visible" class="act_as_cell left">
|
|
376
420
|
<t t-if="line['id']">
|
|
377
421
|
<!--## We don't use t-field because it throws an error on click -->
|
|
378
422
|
<span
|
|
@@ -397,7 +441,7 @@
|
|
|
397
441
|
</t>
|
|
398
442
|
</div>
|
|
399
443
|
<!--## move-->
|
|
400
|
-
<div class="act_as_cell left">
|
|
444
|
+
<div t-if="entry_visible" class="act_as_cell left">
|
|
401
445
|
<t t-if="line['entry_id']">
|
|
402
446
|
<span
|
|
403
447
|
t-att-res-id="line['entry_id']"
|
|
@@ -409,7 +453,7 @@
|
|
|
409
453
|
</t>
|
|
410
454
|
</div>
|
|
411
455
|
<!--## journal-->
|
|
412
|
-
<div class="act_as_cell left">
|
|
456
|
+
<div t-if="journal_visible" class="act_as_cell left">
|
|
413
457
|
<span
|
|
414
458
|
t-att-res-id="line['journal_id']"
|
|
415
459
|
res-model="account.journal"
|
|
@@ -421,7 +465,7 @@
|
|
|
421
465
|
</span>
|
|
422
466
|
</div>
|
|
423
467
|
<!--## account code-->
|
|
424
|
-
<div class="act_as_cell left">
|
|
468
|
+
<div t-if="account_code_visible" class="act_as_cell left">
|
|
425
469
|
<span
|
|
426
470
|
t-att-res-id="account['id']"
|
|
427
471
|
res-model="account.account"
|
|
@@ -431,7 +475,7 @@
|
|
|
431
475
|
</span>
|
|
432
476
|
</div>
|
|
433
477
|
<!--## taxes-->
|
|
434
|
-
<div class="act_as_cell left">
|
|
478
|
+
<div t-if="taxes_visible" class="act_as_cell left">
|
|
435
479
|
<t t-if="taxes_data and line['tax_ids']">
|
|
436
480
|
<t t-foreach="line['tax_ids']" t-as="tax_id">
|
|
437
481
|
<span
|
|
@@ -444,7 +488,7 @@
|
|
|
444
488
|
</t>
|
|
445
489
|
</div>
|
|
446
490
|
<!--## partner-->
|
|
447
|
-
<div class="act_as_cell left">
|
|
491
|
+
<div t-if="partner_visible" class="act_as_cell left">
|
|
448
492
|
<t t-if="line['partner_id']">
|
|
449
493
|
<span
|
|
450
494
|
t-att-res-id="line['partner_id']"
|
|
@@ -456,24 +500,28 @@
|
|
|
456
500
|
</t>
|
|
457
501
|
</div>
|
|
458
502
|
<!--## ref - label-->
|
|
459
|
-
<div class="act_as_cell left">
|
|
503
|
+
<div t-if="ref_label_visible" class="act_as_cell left">
|
|
460
504
|
<t t-if="line['id']">
|
|
461
505
|
<span
|
|
462
506
|
t-att-res-id="line['id']"
|
|
463
507
|
res-model="account.move.line"
|
|
464
508
|
view-type="form"
|
|
465
509
|
>
|
|
466
|
-
<t
|
|
510
|
+
<t
|
|
511
|
+
t-out="limit_text(line['ref_label'], ref_label_limit)"
|
|
512
|
+
/>
|
|
467
513
|
</span>
|
|
468
514
|
</t>
|
|
469
515
|
<t t-else="">
|
|
470
516
|
<span>
|
|
471
|
-
<t
|
|
517
|
+
<t
|
|
518
|
+
t-out="limit_text(line['ref_label'], ref_label_limit)"
|
|
519
|
+
/>
|
|
472
520
|
</span>
|
|
473
521
|
</t>
|
|
474
522
|
</div>
|
|
475
523
|
<!--## cost_center-->
|
|
476
|
-
<t t-if="show_cost_center">
|
|
524
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
477
525
|
<div class="act_as_cell left">
|
|
478
526
|
<t
|
|
479
527
|
t-foreach="line['analytic_distribution']"
|
|
@@ -500,7 +548,7 @@
|
|
|
500
548
|
</t>
|
|
501
549
|
</div>
|
|
502
550
|
</t>
|
|
503
|
-
<t t-if="show_analytic_tags">
|
|
551
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
504
552
|
<!--## analytic tags-->
|
|
505
553
|
<div class="act_as_cell left">
|
|
506
554
|
<t t-if="line['tag_ids']">
|
|
@@ -513,7 +561,7 @@
|
|
|
513
561
|
</div>
|
|
514
562
|
</t>
|
|
515
563
|
<!--## matching_number-->
|
|
516
|
-
<div class="act_as_cell">
|
|
564
|
+
<div t-if="matching_number_visible" class="act_as_cell">
|
|
517
565
|
<t t-if="line['rec_id']">
|
|
518
566
|
<span
|
|
519
567
|
t-att-res-id="line['rec_id']"
|
|
@@ -525,7 +573,7 @@
|
|
|
525
573
|
</t>
|
|
526
574
|
</div>
|
|
527
575
|
<!--## debit-->
|
|
528
|
-
<div class="act_as_cell amount">
|
|
576
|
+
<div t-if="debit_visible" class="act_as_cell amount">
|
|
529
577
|
<t t-if="line['id']">
|
|
530
578
|
<span
|
|
531
579
|
t-att-res-id="line['id']"
|
|
@@ -548,7 +596,7 @@
|
|
|
548
596
|
</t>
|
|
549
597
|
</div>
|
|
550
598
|
<!--## credit-->
|
|
551
|
-
<div class="act_as_cell amount">
|
|
599
|
+
<div t-if="credit_visible" class="act_as_cell amount">
|
|
552
600
|
<t t-if="line['id']">
|
|
553
601
|
<span
|
|
554
602
|
t-att-res-id="line['id']"
|
|
@@ -571,7 +619,7 @@
|
|
|
571
619
|
</t>
|
|
572
620
|
</div>
|
|
573
621
|
<!--## balance cumulated-->
|
|
574
|
-
<div class="act_as_cell amount">
|
|
622
|
+
<div t-if="balance_visible" class="act_as_cell amount">
|
|
575
623
|
<t t-if="line['id']">
|
|
576
624
|
<span
|
|
577
625
|
t-att-res-id="line['id']"
|
|
@@ -593,7 +641,7 @@
|
|
|
593
641
|
</span>
|
|
594
642
|
</t>
|
|
595
643
|
</div>
|
|
596
|
-
<t t-if="foreign_currency">
|
|
644
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
597
645
|
<t t-if="line['currency_id']">
|
|
598
646
|
<t
|
|
599
647
|
t-set="line_currency"
|
|
@@ -659,32 +707,48 @@
|
|
|
659
707
|
<t t-if="'taxes' in account">Tax ending balance</t>
|
|
660
708
|
</div>
|
|
661
709
|
</t>
|
|
662
|
-
<t t-if="show_cost_center">
|
|
710
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
663
711
|
<!--## cost_center-->
|
|
664
712
|
<div class="act_as_cell" style="width: 8.03%" />
|
|
665
713
|
</t>
|
|
666
|
-
<t t-if="show_analytic_tags">
|
|
714
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
667
715
|
<!--## analytic tags-->
|
|
668
716
|
<div class="act_as_cell" style="width: 4.75%;" />
|
|
669
717
|
</t>
|
|
670
718
|
<!--## matching_number-->
|
|
671
|
-
<div
|
|
719
|
+
<div
|
|
720
|
+
t-if="matching_number_visible"
|
|
721
|
+
class="act_as_cell"
|
|
722
|
+
style="width: 2.41%;"
|
|
723
|
+
/>
|
|
672
724
|
<!--## debit-->
|
|
673
|
-
<div
|
|
725
|
+
<div
|
|
726
|
+
t-if="debit_visible"
|
|
727
|
+
class="act_as_cell amount"
|
|
728
|
+
style="width: 8.02%;"
|
|
729
|
+
>
|
|
674
730
|
<span
|
|
675
731
|
t-out="account_or_group_item_object['fin_bal']['debit']"
|
|
676
732
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
677
733
|
/>
|
|
678
734
|
</div>
|
|
679
735
|
<!--## credit-->
|
|
680
|
-
<div
|
|
736
|
+
<div
|
|
737
|
+
t-if="credit_visible"
|
|
738
|
+
class="act_as_cell amount"
|
|
739
|
+
style="width: 8.02%;"
|
|
740
|
+
>
|
|
681
741
|
<span
|
|
682
742
|
t-out="account_or_group_item_object['fin_bal']['credit']"
|
|
683
743
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
684
744
|
/>
|
|
685
745
|
</div>
|
|
686
746
|
<!--## balance cumulated-->
|
|
687
|
-
<div
|
|
747
|
+
<div
|
|
748
|
+
t-if="balance_visible"
|
|
749
|
+
class="act_as_cell amount"
|
|
750
|
+
style="width: 8.02%;"
|
|
751
|
+
>
|
|
688
752
|
<span
|
|
689
753
|
t-out="account_or_group_item_object['fin_bal']['balance']"
|
|
690
754
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
@@ -701,7 +765,7 @@
|
|
|
701
765
|
t-if="'partners' in account"
|
|
702
766
|
/>
|
|
703
767
|
<t t-set="misc_grouped_domain" t-value="[]" t-else="" />
|
|
704
|
-
<t t-if="foreign_currency">
|
|
768
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
705
769
|
<t t-if="account['fin_bal_currency_id']">
|
|
706
770
|
<t
|
|
707
771
|
t-set="account_currency"
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</t>
|
|
120
120
|
<div class="act_as_thead">
|
|
121
121
|
<div class="act_as_row labels">
|
|
122
|
-
<t t-if="with_auto_sequence">
|
|
122
|
+
<t t-if="with_auto_sequence and sequence_visible">
|
|
123
123
|
<div
|
|
124
124
|
class="act_as_cell first_column"
|
|
125
125
|
name="entry"
|
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
</t>
|
|
131
131
|
<div
|
|
132
|
+
t-if="entry_visible"
|
|
132
133
|
t-att-class="'act_as_cell' if with_auto_sequence else 'act_as_cell first_column'"
|
|
133
134
|
class="act_as_cell"
|
|
134
135
|
name="entry"
|
|
@@ -136,26 +137,57 @@
|
|
|
136
137
|
>
|
|
137
138
|
Entry
|
|
138
139
|
</div>
|
|
139
|
-
<div class="act_as_cell" name="date" style="width: 5.41%;">Date</div>
|
|
140
140
|
<div
|
|
141
|
+
t-if="date_visible"
|
|
142
|
+
class="act_as_cell"
|
|
143
|
+
name="date"
|
|
144
|
+
style="width: 5.41%;"
|
|
145
|
+
>Date</div>
|
|
146
|
+
<div
|
|
147
|
+
t-if="account_code_visible or account_name_visible"
|
|
141
148
|
class="act_as_cell"
|
|
142
149
|
name="account"
|
|
143
150
|
t-att-style="account_column_style"
|
|
144
151
|
>
|
|
145
152
|
Account
|
|
146
153
|
</div>
|
|
147
|
-
<div
|
|
154
|
+
<div
|
|
155
|
+
t-if="partner_visible"
|
|
156
|
+
class="act_as_cell"
|
|
157
|
+
name="partner"
|
|
158
|
+
style="width: 15.14%;"
|
|
159
|
+
>
|
|
148
160
|
Partner
|
|
149
161
|
</div>
|
|
150
|
-
<div
|
|
162
|
+
<div
|
|
163
|
+
t-if="label_visible"
|
|
164
|
+
class="act_as_cell"
|
|
165
|
+
name="label"
|
|
166
|
+
t-att-style="label_column_style"
|
|
167
|
+
>
|
|
151
168
|
Ref - Label
|
|
152
169
|
</div>
|
|
153
|
-
<div
|
|
154
|
-
|
|
155
|
-
|
|
170
|
+
<div
|
|
171
|
+
t-if="taxes_visible"
|
|
172
|
+
class="act_as_cell"
|
|
173
|
+
name="taxes"
|
|
174
|
+
style="width: 7.57%;"
|
|
175
|
+
>Taxes</div>
|
|
176
|
+
<div
|
|
177
|
+
t-if="debit_visible"
|
|
178
|
+
class="act_as_cell"
|
|
179
|
+
name="debit"
|
|
180
|
+
style="width: 8.65%;"
|
|
181
|
+
>Debit</div>
|
|
182
|
+
<div
|
|
183
|
+
t-if="credit_visible"
|
|
184
|
+
class="act_as_cell"
|
|
185
|
+
name="credit"
|
|
186
|
+
style="width: 8.65%;"
|
|
187
|
+
>
|
|
156
188
|
Credit
|
|
157
189
|
</div>
|
|
158
|
-
<t t-if="display_currency">
|
|
190
|
+
<t t-if="display_currency and foreing_currency_visible">
|
|
159
191
|
<div class="act_as_cell" name="currency_name" style="width: 2.16%;">
|
|
160
192
|
Cur.
|
|
161
193
|
</div>
|
|
@@ -172,16 +204,20 @@
|
|
|
172
204
|
</template>
|
|
173
205
|
<template id="account_financial_report.report_journal_ledger_journal_first_line">
|
|
174
206
|
<div class="act_as_row lines">
|
|
175
|
-
<t t-if="with_auto_sequence">
|
|
207
|
+
<t t-if="with_auto_sequence and sequence_visible">
|
|
176
208
|
<div class="act_as_cell" name="Sequence" />
|
|
177
209
|
</t>
|
|
178
|
-
<div class="act_as_cell" name="entry" />
|
|
179
|
-
<div class="act_as_cell" name="date" />
|
|
180
|
-
<div
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
210
|
+
<div t-if="entry_visible" class="act_as_cell" name="entry" />
|
|
211
|
+
<div t-if="date_visible" class="act_as_cell" name="date" />
|
|
212
|
+
<div
|
|
213
|
+
t-if="account_code_visible or account_name_visible"
|
|
214
|
+
class="act_as_cell"
|
|
215
|
+
name="account"
|
|
216
|
+
/>
|
|
217
|
+
<div t-if="partner_visible" class="act_as_cell" name="partner" />
|
|
218
|
+
<div t-if="label_visible" class="act_as_cell" name="label" />
|
|
219
|
+
<div t-if="taxes_visible" class="act_as_cell" name="taxes" />
|
|
220
|
+
<div t-if="debit_visible" class="act_as_cell amount" name="debit">
|
|
185
221
|
<b>
|
|
186
222
|
<span
|
|
187
223
|
t-esc="journal['debit']"
|
|
@@ -189,7 +225,7 @@
|
|
|
189
225
|
/>
|
|
190
226
|
</b>
|
|
191
227
|
</div>
|
|
192
|
-
<div class="act_as_cell amount" name="credit">
|
|
228
|
+
<div t-if="credit_visible" class="act_as_cell amount" name="credit">
|
|
193
229
|
<b>
|
|
194
230
|
<span
|
|
195
231
|
t-esc="journal['credit']"
|
|
@@ -197,7 +233,7 @@
|
|
|
197
233
|
/>
|
|
198
234
|
</b>
|
|
199
235
|
</div>
|
|
200
|
-
<t t-if="display_currency">
|
|
236
|
+
<t t-if="display_currency and foreign_currency_visible">
|
|
201
237
|
<div class="act_as_cell" name="currency_name">
|
|
202
238
|
|
|
203
239
|
</div>
|
|
@@ -226,10 +262,14 @@
|
|
|
226
262
|
</t>
|
|
227
263
|
</template>
|
|
228
264
|
<template id="account_financial_report.report_journal_move_line">
|
|
229
|
-
<div
|
|
265
|
+
<div
|
|
266
|
+
class="act_as_cell left"
|
|
267
|
+
name="auto_sequence"
|
|
268
|
+
t-if="with_auto_sequence and sequence_visible"
|
|
269
|
+
>
|
|
230
270
|
<span t-if="display_move_info" t-esc="move_line['auto_sequence']" />
|
|
231
271
|
</div>
|
|
232
|
-
<div class="act_as_cell left" name="entry">
|
|
272
|
+
<div t-if="entry_visible" class="act_as_cell left" name="entry">
|
|
233
273
|
<t t-if="display_move_info">
|
|
234
274
|
<span
|
|
235
275
|
t-att-res-id="move_line['move_id']"
|
|
@@ -242,35 +282,43 @@
|
|
|
242
282
|
</span>
|
|
243
283
|
</t>
|
|
244
284
|
</div>
|
|
245
|
-
<div class="act_as_cell left" name="date">
|
|
285
|
+
<div t-if="date_visible" class="act_as_cell left" name="date">
|
|
246
286
|
<span
|
|
247
287
|
t-if="display_move_info"
|
|
248
288
|
t-esc="move_line['date']"
|
|
249
289
|
t-options="{'widget': 'date'}"
|
|
250
290
|
/>
|
|
251
291
|
</div>
|
|
252
|
-
<div
|
|
292
|
+
<div
|
|
293
|
+
t-if="account_code_visible or account_name_visible"
|
|
294
|
+
class="act_as_cell left"
|
|
295
|
+
name="account"
|
|
296
|
+
>
|
|
253
297
|
<span
|
|
298
|
+
t-if="account_code_visible"
|
|
254
299
|
t-esc="o._get_atr_from_dict(move_line['account_id'], account_ids_data, 'code')"
|
|
255
300
|
/>
|
|
256
|
-
<span t-if="display_account_name">
|
|
301
|
+
<span t-if="display_account_name and account_name_visible">
|
|
257
302
|
-
|
|
258
303
|
<span
|
|
259
|
-
t-esc="o._get_atr_from_dict(move_line['account_id'], account_ids_data, 'name')"
|
|
304
|
+
t-esc="limit_text(o._get_atr_from_dict(move_line['account_id'], account_ids_data, 'name'), account_name_limit)"
|
|
260
305
|
/>
|
|
261
306
|
</span>
|
|
262
307
|
</div>
|
|
263
|
-
<div class="act_as_cell left" name="partner">
|
|
308
|
+
<div t-if="partner_visible" class="act_as_cell left" name="partner">
|
|
264
309
|
<span
|
|
265
310
|
t-if="display_partner"
|
|
266
311
|
t-esc="o._get_partner_name(move_line['partner_id'], partner_ids_data)"
|
|
267
312
|
/>
|
|
268
313
|
</div>
|
|
269
|
-
<div class="act_as_cell left" name="label">
|
|
270
|
-
<span
|
|
314
|
+
<div t-if="label_visible" class="act_as_cell left" name="label">
|
|
315
|
+
<span
|
|
316
|
+
t-if="move_line['label']"
|
|
317
|
+
t-esc="limit_text(move_line['label'], label_limit)"
|
|
318
|
+
/>
|
|
271
319
|
<span t-if="not move_line['label']">/</span>
|
|
272
320
|
</div>
|
|
273
|
-
<div class="act_as_cell left" name="taxes">
|
|
321
|
+
<div t-if="taxes_visible" class="act_as_cell left" name="taxes">
|
|
274
322
|
<t
|
|
275
323
|
t-set="tax_line_dat"
|
|
276
324
|
t-value="o._get_data_from_dict(move_line['tax_line_id'], tax_line_data)"
|
|
@@ -283,7 +331,7 @@
|
|
|
283
331
|
t-esc="o._get_ml_tax_description(move_line, tax_line_dat, move_line_ids_taxes_dat)"
|
|
284
332
|
/>
|
|
285
333
|
</div>
|
|
286
|
-
<div class="act_as_cell amount" name="debit">
|
|
334
|
+
<div t-if="debit_visible" class="act_as_cell amount" name="debit">
|
|
287
335
|
<t t-if="move_line['debit']">
|
|
288
336
|
<span
|
|
289
337
|
t-esc="move_line['debit']"
|
|
@@ -291,7 +339,7 @@
|
|
|
291
339
|
/>
|
|
292
340
|
</t>
|
|
293
341
|
</div>
|
|
294
|
-
<div class="act_as_cell amount" name="credit">
|
|
342
|
+
<div t-if="credit_visible" class="act_as_cell amount" name="credit">
|
|
295
343
|
<t t-if="move_line['credit']">
|
|
296
344
|
<span
|
|
297
345
|
t-esc="move_line['credit']"
|
|
@@ -299,7 +347,7 @@
|
|
|
299
347
|
/>
|
|
300
348
|
</t>
|
|
301
349
|
</div>
|
|
302
|
-
<t t-if="display_currency">
|
|
350
|
+
<t t-if="display_currency and foreign_currency_visible">
|
|
303
351
|
<div class="act_as_cell" name="currency_name">
|
|
304
352
|
<t t-if="move_line['currency_id']">
|
|
305
353
|
<span
|