odoo-addon-account-financial-report 16.0.1.15.2.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/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.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.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/RECORD +43 -40
- {odoo_addon_account_financial_report-16.0.1.15.2.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.2.dist-info → odoo_addon_account_financial_report-16.0.1.16.0.dist-info}/top_level.txt +0 -0
|
@@ -159,7 +159,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
159
159
|
"partner_name": partner.name or "",
|
|
160
160
|
"ref_label": ref_label,
|
|
161
161
|
"journal_id": move_line["journal_id"][0],
|
|
162
|
-
"move_name": move_line["
|
|
162
|
+
"move_name": move_line["move_name"],
|
|
163
163
|
"entry_id": move_line["move_id"][0],
|
|
164
164
|
"currency_id": move_line["currency_id"][0]
|
|
165
165
|
if move_line["currency_id"]
|
|
@@ -243,6 +243,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
243
243
|
return new_open_items
|
|
244
244
|
|
|
245
245
|
def _get_report_values(self, docids, data):
|
|
246
|
+
res = super()._get_report_values(docids, data)
|
|
246
247
|
wizard_id = data["wizard_id"]
|
|
247
248
|
company = self.env["res.company"].browse(data["company_id"])
|
|
248
249
|
company_id = data["company_id"]
|
|
@@ -277,24 +278,27 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
277
278
|
partners_data,
|
|
278
279
|
accounts_data,
|
|
279
280
|
)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
281
|
+
res.update(
|
|
282
|
+
{
|
|
283
|
+
"doc_ids": [wizard_id],
|
|
284
|
+
"doc_model": "open.items.report.wizard",
|
|
285
|
+
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
|
|
286
|
+
"foreign_currency": data["foreign_currency"],
|
|
287
|
+
"show_partner_details": data["show_partner_details"],
|
|
288
|
+
"company_name": company.display_name,
|
|
289
|
+
"currency_name": company.currency_id.name,
|
|
290
|
+
"date_at": date_at_object.strftime("%d/%m/%Y"),
|
|
291
|
+
"hide_account_at_0": data["hide_account_at_0"],
|
|
292
|
+
"target_move": data["target_move"],
|
|
293
|
+
"journals_data": journals_data,
|
|
294
|
+
"partners_data": partners_data,
|
|
295
|
+
"accounts_data": accounts_data,
|
|
296
|
+
"total_amount": total_amount,
|
|
297
|
+
"Open_Items": open_items_move_lines_data,
|
|
298
|
+
"grouped_by": grouped_by,
|
|
299
|
+
}
|
|
300
|
+
)
|
|
301
|
+
return res
|
|
298
302
|
|
|
299
303
|
def _get_ml_fields(self):
|
|
300
304
|
return self.COMMON_ML_FIELDS + [
|
|
@@ -306,4 +310,5 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
306
310
|
"amount_residual_currency",
|
|
307
311
|
"debit",
|
|
308
312
|
"amount_currency",
|
|
313
|
+
"move_name",
|
|
309
314
|
]
|
|
@@ -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"
|