odoo-addon-account-financial-report 15.0.3.2.1__py3-none-any.whl → 15.0.3.3.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 +16 -12
- odoo/addons/account_financial_report/report/general_ledger.py +29 -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 +65 -24
- odoo/addons/account_financial_report/report/trial_balance.py +29 -25
- odoo/addons/account_financial_report/report/vat_report.py +17 -12
- 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 +24 -1
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +19 -17
- odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +1 -5
- 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 +22 -20
- odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +79 -66
- 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-15.0.3.2.1.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/METADATA +16 -3
- {odoo_addon_account_financial_report-15.0.3.2.1.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/RECORD +43 -40
- {odoo_addon_account_financial_report-15.0.3.2.1.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-15.0.3.2.1.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/top_level.txt +0 -0
|
@@ -167,7 +167,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
167
167
|
"partner_name": partner.name or "",
|
|
168
168
|
"ref_label": ref_label,
|
|
169
169
|
"journal_id": move_line["journal_id"][0],
|
|
170
|
-
"move_name": move_line["
|
|
170
|
+
"move_name": move_line["move_name"],
|
|
171
171
|
"entry_id": move_line["move_id"][0],
|
|
172
172
|
"currency_id": move_line["currency_id"][0]
|
|
173
173
|
if move_line["currency_id"]
|
|
@@ -252,6 +252,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
252
252
|
return new_open_items
|
|
253
253
|
|
|
254
254
|
def _get_report_values(self, docids, data):
|
|
255
|
+
res = super()._get_report_values(docids, data)
|
|
255
256
|
wizard_id = data["wizard_id"]
|
|
256
257
|
company = self.env["res.company"].browse(data["company_id"])
|
|
257
258
|
company_id = data["company_id"]
|
|
@@ -291,24 +292,27 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
291
292
|
partners_data,
|
|
292
293
|
accounts_data,
|
|
293
294
|
)
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
295
|
+
res.update(
|
|
296
|
+
{
|
|
297
|
+
"doc_ids": [wizard_id],
|
|
298
|
+
"doc_model": "open.items.report.wizard",
|
|
299
|
+
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
|
|
300
|
+
"foreign_currency": data["foreign_currency"],
|
|
301
|
+
"show_partner_details": data["show_partner_details"],
|
|
302
|
+
"company_name": company.display_name,
|
|
303
|
+
"currency_name": company.currency_id.name,
|
|
304
|
+
"date_at": date_at_object.strftime("%d/%m/%Y"),
|
|
305
|
+
"hide_account_at_0": data["hide_account_at_0"],
|
|
306
|
+
"target_move": data["target_move"],
|
|
307
|
+
"journals_data": journals_data,
|
|
308
|
+
"partners_data": partners_data,
|
|
309
|
+
"accounts_data": accounts_data,
|
|
310
|
+
"total_amount": total_amount,
|
|
311
|
+
"Open_Items": open_items_move_lines_data,
|
|
312
|
+
"grouped_by": grouped_by,
|
|
313
|
+
}
|
|
314
|
+
)
|
|
315
|
+
return res
|
|
312
316
|
|
|
313
317
|
def _get_ml_fields(self):
|
|
314
318
|
return self.COMMON_ML_FIELDS + [
|
|
@@ -321,6 +325,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
321
325
|
"amount_residual_currency",
|
|
322
326
|
"debit",
|
|
323
327
|
"amount_currency",
|
|
328
|
+
"move_name",
|
|
324
329
|
]
|
|
325
330
|
|
|
326
331
|
def get_analytic_domain(self, domain, analytic_account_ids, no_analytic):
|
|
@@ -143,45 +143,89 @@
|
|
|
143
143
|
<div class="act_as_thead">
|
|
144
144
|
<div class="act_as_row labels">
|
|
145
145
|
<!--## date-->
|
|
146
|
-
<div
|
|
146
|
+
<div
|
|
147
|
+
t-if="date_visible"
|
|
148
|
+
class="act_as_cell first_column"
|
|
149
|
+
style="width: 3.51%;"
|
|
150
|
+
>
|
|
147
151
|
Date
|
|
148
152
|
</div>
|
|
149
153
|
<!--## move-->
|
|
150
|
-
<div
|
|
154
|
+
<div
|
|
155
|
+
t-if="entry_visible"
|
|
156
|
+
class="act_as_cell"
|
|
157
|
+
style="width: 8.03%"
|
|
158
|
+
>Entry</div>
|
|
151
159
|
<!--## journal-->
|
|
152
|
-
<div
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
<div
|
|
161
|
+
t-if="journal_visible"
|
|
162
|
+
class="act_as_cell"
|
|
163
|
+
style="width: 4.13%;"
|
|
164
|
+
>Journal</div>
|
|
155
165
|
<!--## account code-->
|
|
156
|
-
<div
|
|
166
|
+
<div
|
|
167
|
+
t-if="account_code_visible"
|
|
168
|
+
class="act_as_cell"
|
|
169
|
+
style="width: 4.75%;"
|
|
170
|
+
>Account</div>
|
|
171
|
+
<!--## taxes-->
|
|
172
|
+
<div
|
|
173
|
+
t-if="taxes_visible"
|
|
174
|
+
class="act_as_cell"
|
|
175
|
+
style="width: 8.89%;"
|
|
176
|
+
>Taxes</div>
|
|
157
177
|
<!--## partner-->
|
|
158
|
-
<div
|
|
178
|
+
<div
|
|
179
|
+
t-if="partner_visible"
|
|
180
|
+
class="act_as_cell"
|
|
181
|
+
style="width: 12.01%;"
|
|
182
|
+
>Partner</div>
|
|
159
183
|
<!--## ref - label-->
|
|
160
|
-
<div
|
|
184
|
+
<div
|
|
185
|
+
t-if="ref_label_visible"
|
|
186
|
+
class="act_as_cell"
|
|
187
|
+
style="width: 16.9%;"
|
|
188
|
+
>
|
|
161
189
|
Ref -
|
|
162
190
|
Label
|
|
163
191
|
</div>
|
|
164
|
-
<t t-if="show_cost_center">
|
|
192
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
165
193
|
<!--## cost_center-->
|
|
166
194
|
<div class="act_as_cell" style="width: 8.03%;">
|
|
167
195
|
Analytic Account
|
|
168
196
|
</div>
|
|
169
197
|
</t>
|
|
170
|
-
<t t-if="show_analytic_tags">
|
|
198
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
171
199
|
<!--## analytic tags-->
|
|
172
200
|
<div class="act_as_cell" style="width: 4.75%;">Tags</div>
|
|
173
201
|
</t>
|
|
174
202
|
<!--## matching_number-->
|
|
175
|
-
<div
|
|
203
|
+
<div
|
|
204
|
+
t-if="matching_number_visible"
|
|
205
|
+
class="act_as_cell"
|
|
206
|
+
style="width: 2.41%;"
|
|
207
|
+
>Rec.</div>
|
|
176
208
|
<!--## debit-->
|
|
177
|
-
<div
|
|
209
|
+
<div
|
|
210
|
+
t-if="debit_visible"
|
|
211
|
+
class="act_as_cell amount"
|
|
212
|
+
style="width: 8.02%;"
|
|
213
|
+
>Debit</div>
|
|
178
214
|
<!--## credit-->
|
|
179
|
-
<div
|
|
215
|
+
<div
|
|
216
|
+
t-if="credit_visible"
|
|
217
|
+
class="act_as_cell amount"
|
|
218
|
+
style="width: 8.02%;"
|
|
219
|
+
>Credit</div>
|
|
180
220
|
<!--## balance cumulated-->
|
|
181
|
-
<div
|
|
221
|
+
<div
|
|
222
|
+
t-if="balance_visible"
|
|
223
|
+
class="act_as_cell amount"
|
|
224
|
+
style="width: 8.02%;"
|
|
225
|
+
>
|
|
182
226
|
Cumul. Bal.
|
|
183
227
|
</div>
|
|
184
|
-
<t t-if="foreign_currency">
|
|
228
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
185
229
|
<!--## amount_currency-->
|
|
186
230
|
<div
|
|
187
231
|
class="act_as_cell amount"
|
|
@@ -198,35 +242,35 @@
|
|
|
198
242
|
<!-- Display first line with initial balance -->
|
|
199
243
|
<div class="act_as_row lines">
|
|
200
244
|
<!--## date-->
|
|
201
|
-
<div class="act_as_cell" />
|
|
245
|
+
<div t-if="date_visible" class="act_as_cell" />
|
|
202
246
|
<!--## move-->
|
|
203
|
-
<div class="act_as_cell" />
|
|
247
|
+
<div t-if="entry_visible" class="act_as_cell" />
|
|
204
248
|
<!--## journal-->
|
|
205
|
-
<div class="act_as_cell" />
|
|
249
|
+
<div t-if="journal_visible" class="act_as_cell" />
|
|
206
250
|
<!--## account code-->
|
|
207
|
-
<div class="act_as_cell" />
|
|
251
|
+
<div t-if="account_code_visible" class="act_as_cell" />
|
|
208
252
|
<!--## taxes-->
|
|
209
|
-
<div class="act_as_cell" />
|
|
253
|
+
<div t-if="taxes_visible" class="act_as_cell" />
|
|
210
254
|
<!--## partner-->
|
|
211
|
-
<div class="act_as_cell" />
|
|
255
|
+
<div t-if="partner_visible" class="act_as_cell" />
|
|
212
256
|
<!--## ref - label-->
|
|
213
|
-
<div class="act_as_cell amount">
|
|
257
|
+
<div t-if="ref_label_visible" class="act_as_cell amount">
|
|
214
258
|
<t t-if='type == "account_type"'>Initial balance</t>
|
|
215
259
|
<t t-if='type == "grouped_type"'>
|
|
216
260
|
<t t-if="'partners' in account">Partner initial balance</t>
|
|
217
261
|
<t t-if="'taxes' in account">Tax initial balance</t>
|
|
218
262
|
</t>
|
|
219
263
|
</div>
|
|
220
|
-
<t t-if="show_cost_center">
|
|
264
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
221
265
|
<!--## cost_center-->
|
|
222
266
|
<div class="act_as_cell" />
|
|
223
267
|
</t>
|
|
224
|
-
<t t-if="show_analytic_tags">
|
|
268
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
225
269
|
<!--## analytic tags-->
|
|
226
270
|
<div class="act_as_cell" />
|
|
227
271
|
</t>
|
|
228
272
|
<!--## matching_number-->
|
|
229
|
-
<div class="act_as_cell" />
|
|
273
|
+
<div t-if="matching_number_visible" class="act_as_cell" />
|
|
230
274
|
<t
|
|
231
275
|
t-set="misc_domain"
|
|
232
276
|
t-value="[('account_id', '=', account['id']),('date', '<', date_from)]"
|
|
@@ -238,7 +282,7 @@
|
|
|
238
282
|
/>
|
|
239
283
|
<t t-set="misc_grouped_domain" t-value="[]" t-else="" />
|
|
240
284
|
<!--## debit-->
|
|
241
|
-
<div class="act_as_cell amount">
|
|
285
|
+
<div t-if="debit_visible" class="act_as_cell amount">
|
|
242
286
|
<t t-set="debit_domain" t-value="[('debit', '<>', 0)]" />
|
|
243
287
|
<t t-if="type == 'account_type'">
|
|
244
288
|
<span
|
|
@@ -264,7 +308,7 @@
|
|
|
264
308
|
</t>
|
|
265
309
|
</div>
|
|
266
310
|
<!--## credit-->
|
|
267
|
-
<div class="act_as_cell amount">
|
|
311
|
+
<div t-if="credit_visible" class="act_as_cell amount">
|
|
268
312
|
<t t-set="credit_domain" t-value="[('credit', '<>', 0)]" />
|
|
269
313
|
<t t-if="type == 'account_type'">
|
|
270
314
|
<span
|
|
@@ -290,7 +334,7 @@
|
|
|
290
334
|
</t>
|
|
291
335
|
</div>
|
|
292
336
|
<!--## balance cumulated-->
|
|
293
|
-
<div class="act_as_cell amount">
|
|
337
|
+
<div t-if="balance_visible" class="act_as_cell amount">
|
|
294
338
|
<t t-if="type == 'account_type'">
|
|
295
339
|
<span t-att-domain="misc_domain" res-model="account.move.line">
|
|
296
340
|
<t
|
|
@@ -311,7 +355,7 @@
|
|
|
311
355
|
</span>
|
|
312
356
|
</t>
|
|
313
357
|
</div>
|
|
314
|
-
<t t-if="foreign_currency">
|
|
358
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
315
359
|
<t t-if="account['currency_id']">
|
|
316
360
|
<t
|
|
317
361
|
t-set="account_currency"
|
|
@@ -378,7 +422,7 @@
|
|
|
378
422
|
<!-- # lines or centralized lines -->
|
|
379
423
|
<div class="act_as_row lines">
|
|
380
424
|
<!--## date-->
|
|
381
|
-
<div class="act_as_cell left">
|
|
425
|
+
<div t-if="date_visible" class="act_as_cell left">
|
|
382
426
|
<t t-if="line['id']">
|
|
383
427
|
<!--## We don't use t-field because it throws an error on click -->
|
|
384
428
|
<span
|
|
@@ -403,7 +447,7 @@
|
|
|
403
447
|
</t>
|
|
404
448
|
</div>
|
|
405
449
|
<!--## move-->
|
|
406
|
-
<div class="act_as_cell left">
|
|
450
|
+
<div t-if="entry_visible" class="act_as_cell left">
|
|
407
451
|
<t t-if="line['entry_id']">
|
|
408
452
|
<span
|
|
409
453
|
t-att-res-id="line['entry_id']"
|
|
@@ -415,7 +459,7 @@
|
|
|
415
459
|
</t>
|
|
416
460
|
</div>
|
|
417
461
|
<!--## journal-->
|
|
418
|
-
<div class="act_as_cell left">
|
|
462
|
+
<div t-if="journal_visible" class="act_as_cell left">
|
|
419
463
|
<span
|
|
420
464
|
t-att-res-id="line['journal_id']"
|
|
421
465
|
res-model="account.journal"
|
|
@@ -427,7 +471,7 @@
|
|
|
427
471
|
</span>
|
|
428
472
|
</div>
|
|
429
473
|
<!--## account code-->
|
|
430
|
-
<div class="act_as_cell left">
|
|
474
|
+
<div t-if="account_code_visible" class="act_as_cell left">
|
|
431
475
|
<span
|
|
432
476
|
t-att-res-id="account['id']"
|
|
433
477
|
res-model="account.account"
|
|
@@ -437,7 +481,7 @@
|
|
|
437
481
|
</span>
|
|
438
482
|
</div>
|
|
439
483
|
<!--## taxes-->
|
|
440
|
-
<div class="act_as_cell left">
|
|
484
|
+
<div t-if="taxes_visible" class="act_as_cell left">
|
|
441
485
|
<t t-if="taxes_data and line['tax_ids']">
|
|
442
486
|
<t t-foreach="line['tax_ids']" t-as="tax_id">
|
|
443
487
|
<span
|
|
@@ -450,7 +494,7 @@
|
|
|
450
494
|
</t>
|
|
451
495
|
</div>
|
|
452
496
|
<!--## partner-->
|
|
453
|
-
<div class="act_as_cell left">
|
|
497
|
+
<div t-if="partner_visible" class="act_as_cell left">
|
|
454
498
|
<t t-if="line['partner_id']">
|
|
455
499
|
<span
|
|
456
500
|
t-att-res-id="line['partner_id']"
|
|
@@ -462,24 +506,28 @@
|
|
|
462
506
|
</t>
|
|
463
507
|
</div>
|
|
464
508
|
<!--## ref - label-->
|
|
465
|
-
<div class="act_as_cell left">
|
|
509
|
+
<div t-if="ref_label_visible" class="act_as_cell left">
|
|
466
510
|
<t t-if="line['id']">
|
|
467
511
|
<span
|
|
468
512
|
t-att-res-id="line['id']"
|
|
469
513
|
res-model="account.move.line"
|
|
470
514
|
view-type="form"
|
|
471
515
|
>
|
|
472
|
-
<t
|
|
516
|
+
<t
|
|
517
|
+
t-out="limit_text(line['ref_label'], ref_label_limit)"
|
|
518
|
+
/>
|
|
473
519
|
</span>
|
|
474
520
|
</t>
|
|
475
521
|
<t t-else="">
|
|
476
522
|
<span>
|
|
477
|
-
<t
|
|
523
|
+
<t
|
|
524
|
+
t-out="limit_text(line['ref_label'], ref_label_limit)"
|
|
525
|
+
/>
|
|
478
526
|
</span>
|
|
479
527
|
</t>
|
|
480
528
|
</div>
|
|
481
529
|
<!--## cost_center-->
|
|
482
|
-
<t t-if="show_cost_center">
|
|
530
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
483
531
|
<div class="act_as_cell left">
|
|
484
532
|
<t t-if="line['analytic_account_id']">
|
|
485
533
|
<span
|
|
@@ -492,7 +540,7 @@
|
|
|
492
540
|
</t>
|
|
493
541
|
</div>
|
|
494
542
|
</t>
|
|
495
|
-
<t t-if="show_analytic_tags">
|
|
543
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
496
544
|
<!--## analytic tags-->
|
|
497
545
|
<div class="act_as_cell left">
|
|
498
546
|
<t t-if="line['tag_ids']">
|
|
@@ -505,7 +553,7 @@
|
|
|
505
553
|
</div>
|
|
506
554
|
</t>
|
|
507
555
|
<!--## matching_number-->
|
|
508
|
-
<div class="act_as_cell">
|
|
556
|
+
<div t-if="matching_number_visible" class="act_as_cell">
|
|
509
557
|
<t t-if="line['rec_id']">
|
|
510
558
|
<span
|
|
511
559
|
t-att-res-id="line['rec_id']"
|
|
@@ -517,7 +565,7 @@
|
|
|
517
565
|
</t>
|
|
518
566
|
</div>
|
|
519
567
|
<!--## debit-->
|
|
520
|
-
<div class="act_as_cell amount">
|
|
568
|
+
<div t-if="debit_visible" class="act_as_cell amount">
|
|
521
569
|
<t t-if="line['id']">
|
|
522
570
|
<span
|
|
523
571
|
t-att-res-id="line['id']"
|
|
@@ -540,7 +588,7 @@
|
|
|
540
588
|
</t>
|
|
541
589
|
</div>
|
|
542
590
|
<!--## credit-->
|
|
543
|
-
<div class="act_as_cell amount">
|
|
591
|
+
<div t-if="credit_visible" class="act_as_cell amount">
|
|
544
592
|
<t t-if="line['id']">
|
|
545
593
|
<span
|
|
546
594
|
t-att-res-id="line['id']"
|
|
@@ -563,7 +611,7 @@
|
|
|
563
611
|
</t>
|
|
564
612
|
</div>
|
|
565
613
|
<!--## balance cumulated-->
|
|
566
|
-
<div class="act_as_cell amount">
|
|
614
|
+
<div t-if="balance_visible" class="act_as_cell amount">
|
|
567
615
|
<t t-if="line['id']">
|
|
568
616
|
<span
|
|
569
617
|
t-att-res-id="line['id']"
|
|
@@ -585,7 +633,7 @@
|
|
|
585
633
|
</span>
|
|
586
634
|
</t>
|
|
587
635
|
</div>
|
|
588
|
-
<t t-if="foreign_currency">
|
|
636
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
589
637
|
<t t-if="line['currency_id']">
|
|
590
638
|
<t
|
|
591
639
|
t-set="line_currency"
|
|
@@ -653,32 +701,48 @@
|
|
|
653
701
|
<t t-if="'taxes' in account">Tax ending balance</t>
|
|
654
702
|
</div>
|
|
655
703
|
</t>
|
|
656
|
-
<t t-if="show_cost_center">
|
|
704
|
+
<t t-if="show_cost_center and cost_center_visible">
|
|
657
705
|
<!--## cost_center-->
|
|
658
706
|
<div class="act_as_cell" style="width: 8.03%" />
|
|
659
707
|
</t>
|
|
660
|
-
<t t-if="show_analytic_tags">
|
|
708
|
+
<t t-if="show_analytic_tags and analytic_tags_visible">
|
|
661
709
|
<!--## analytic tags-->
|
|
662
710
|
<div class="act_as_cell" style="width: 4.75%;" />
|
|
663
711
|
</t>
|
|
664
712
|
<!--## matching_number-->
|
|
665
|
-
<div
|
|
713
|
+
<div
|
|
714
|
+
t-if="matching_number_visible"
|
|
715
|
+
class="act_as_cell"
|
|
716
|
+
style="width: 2.41%;"
|
|
717
|
+
/>
|
|
666
718
|
<!--## debit-->
|
|
667
|
-
<div
|
|
719
|
+
<div
|
|
720
|
+
t-if="debit_visible"
|
|
721
|
+
class="act_as_cell amount"
|
|
722
|
+
style="width: 8.02%;"
|
|
723
|
+
>
|
|
668
724
|
<span
|
|
669
725
|
t-out="account_or_group_item_object['fin_bal']['debit']"
|
|
670
726
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
671
727
|
/>
|
|
672
728
|
</div>
|
|
673
729
|
<!--## credit-->
|
|
674
|
-
<div
|
|
730
|
+
<div
|
|
731
|
+
t-if="credit_visible"
|
|
732
|
+
class="act_as_cell amount"
|
|
733
|
+
style="width: 8.02%;"
|
|
734
|
+
>
|
|
675
735
|
<span
|
|
676
736
|
t-out="account_or_group_item_object['fin_bal']['credit']"
|
|
677
737
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
678
738
|
/>
|
|
679
739
|
</div>
|
|
680
740
|
<!--## balance cumulated-->
|
|
681
|
-
<div
|
|
741
|
+
<div
|
|
742
|
+
t-if="balance_visible"
|
|
743
|
+
class="act_as_cell amount"
|
|
744
|
+
style="width: 8.02%;"
|
|
745
|
+
>
|
|
682
746
|
<span
|
|
683
747
|
t-out="account_or_group_item_object['fin_bal']['balance']"
|
|
684
748
|
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
|
@@ -695,7 +759,7 @@
|
|
|
695
759
|
t-if="'partners' in account"
|
|
696
760
|
/>
|
|
697
761
|
<t t-set="misc_grouped_domain" t-value="[]" t-else="" />
|
|
698
|
-
<t t-if="foreign_currency">
|
|
762
|
+
<t t-if="foreign_currency and foreign_currency_visible">
|
|
699
763
|
<t t-if="account['fin_bal_currency_id']">
|
|
700
764
|
<t
|
|
701
765
|
t-set="account_currency"
|