odoo-addon-account-financial-report 15.0.3.2.2__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.

Files changed (43) hide show
  1. odoo/addons/account_financial_report/README.rst +14 -1
  2. odoo/addons/account_financial_report/__manifest__.py +5 -1
  3. odoo/addons/account_financial_report/data/report_column_data.xml +358 -0
  4. odoo/addons/account_financial_report/i18n/account_financial_report.pot +125 -0
  5. odoo/addons/account_financial_report/models/__init__.py +1 -0
  6. odoo/addons/account_financial_report/models/account_financial_report_column.py +17 -0
  7. odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +1 -0
  8. odoo/addons/account_financial_report/readme/DESCRIPTION.rst +3 -0
  9. odoo/addons/account_financial_report/readme/HISTORY.rst +5 -0
  10. odoo/addons/account_financial_report/readme/ROADMAP.rst +3 -0
  11. odoo/addons/account_financial_report/report/abstract_report.py +15 -0
  12. odoo/addons/account_financial_report/report/aged_partner_balance.py +16 -12
  13. odoo/addons/account_financial_report/report/general_ledger.py +28 -24
  14. odoo/addons/account_financial_report/report/journal_ledger.py +27 -22
  15. odoo/addons/account_financial_report/report/open_items.py +24 -19
  16. odoo/addons/account_financial_report/report/templates/general_ledger.xml +116 -52
  17. odoo/addons/account_financial_report/report/templates/journal_ledger.xml +79 -31
  18. odoo/addons/account_financial_report/report/templates/open_items.xml +65 -24
  19. odoo/addons/account_financial_report/report/trial_balance.py +29 -25
  20. odoo/addons/account_financial_report/report/vat_report.py +17 -12
  21. odoo/addons/account_financial_report/security/ir.model.access.csv +1 -0
  22. odoo/addons/account_financial_report/static/description/index.html +33 -19
  23. odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +4 -4
  24. odoo/addons/account_financial_report/tests/test_general_ledger.py +1 -1
  25. odoo/addons/account_financial_report/tests/test_journal_ledger.py +5 -5
  26. odoo/addons/account_financial_report/tests/test_open_items.py +1 -1
  27. odoo/addons/account_financial_report/tests/test_trial_balance.py +4 -4
  28. odoo/addons/account_financial_report/tests/test_vat_report.py +1 -1
  29. odoo/addons/account_financial_report/view/account_financial_report_column_view.xml +46 -0
  30. odoo/addons/account_financial_report/wizard/abstract_wizard.py +24 -1
  31. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +19 -17
  32. odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +1 -5
  33. odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +7 -0
  34. odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py +19 -17
  35. odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml +48 -32
  36. odoo/addons/account_financial_report/wizard/open_items_wizard.py +22 -20
  37. odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +79 -66
  38. odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +26 -24
  39. odoo/addons/account_financial_report/wizard/vat_report_wizard.py +15 -13
  40. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/METADATA +16 -3
  41. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/RECORD +43 -40
  42. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/WHEEL +0 -0
  43. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/top_level.txt +0 -0
@@ -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 class="act_as_cell" name="partner" style="width: 15.14%;">
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 class="act_as_cell" name="label" t-att-style="label_column_style">
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 class="act_as_cell" name="taxes" style="width: 7.57%;">Taxes</div>
154
- <div class="act_as_cell" name="debit" style="width: 8.65%;">Debit</div>
155
- <div class="act_as_cell" name="credit" style="width: 8.65%;">
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 class="act_as_cell" name="account" />
181
- <div class="act_as_cell" name="partner" />
182
- <div class="act_as_cell" name="label" />
183
- <div class="act_as_cell" name="taxes" />
184
- <div class="act_as_cell amount" name="debit">
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 class="act_as_cell left" name="auto_sequence" t-if="with_auto_sequence">
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 class="act_as_cell left" name="account">
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 t-if="move_line['label']" t-esc="move_line['label']" />
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 t-esc="currency_ids_data.get(move_line['currency_id'], '')" />
@@ -238,47 +238,88 @@
238
238
  <div class="act_as_thead">
239
239
  <div class="act_as_row labels">
240
240
  <!--## date-->
241
- <div class="act_as_cell first_column" style="width: 5.51%;">Date</div>
241
+ <div
242
+ t-if="date_visible"
243
+ class="act_as_cell first_column"
244
+ style="width: 5.51%;"
245
+ >Date</div>
242
246
  <!--## move-->
243
- <div class="act_as_cell" style="width: 9.76%;">Entry</div>
247
+ <div
248
+ t-if="entry_visible"
249
+ class="act_as_cell"
250
+ style="width: 9.76%;"
251
+ >Entry</div>
244
252
  <!--## journal-->
245
- <div class="act_as_cell" style="width: 4.78%;">Journal</div>
253
+ <div
254
+ t-if="journal_visible"
255
+ class="act_as_cell"
256
+ style="width: 4.78%;"
257
+ >Journal</div>
246
258
  <!--## account code-->
247
- <div class="act_as_cell" style="width: 5.38%;">Account</div>
259
+ <div
260
+ t-if="account_code_visible"
261
+ class="act_as_cell"
262
+ style="width: 5.38%;"
263
+ >Account</div>
248
264
 
249
265
  <t t-if="analytic_account_ids">
250
266
  <!--## partner-->
251
- <div class="act_as_cell" style="width: 13.19%;">Partner</div>
267
+ <div
268
+ t-if="partner_visible"
269
+ class="act_as_cell"
270
+ style="width: 13.19%;"
271
+ >Partner</div>
252
272
  <!--## analytic_account-->
253
273
  <div
274
+ t-if="analytic_account_visible"
254
275
  class="act_as_cell"
255
276
  style="width: 13.19%;"
256
277
  >Analytic Account</div>
257
278
  <!--## ref - label-->
258
- <div class="act_as_cell" style="width: 13.19%;">
279
+ <div
280
+ t-if="ref_label_visible"
281
+ class="act_as_cell"
282
+ style="width: 13.19%;"
283
+ >
259
284
  Ref -
260
285
  Label
261
286
  </div>
262
287
  </t>
263
288
  <t t-else="">
264
289
  <!--## partner-->
265
- <div class="act_as_cell" style="width: 15.07%;">Partner</div>
290
+ <div
291
+ t-if="partner_visible"
292
+ class="act_as_cell"
293
+ style="width: 15.07%;"
294
+ >Partner</div>
266
295
  <!--## ref - label-->
267
- <div class="act_as_cell" style="width: 24.5%;">
296
+ <div
297
+ t-if="ref_label_visible"
298
+ class="act_as_cell"
299
+ style="width: 24.5%;"
300
+ >
268
301
  Ref -
269
302
  Label
270
303
  </div>
271
304
  </t>
272
305
  <!--## date_due-->
273
- <div class="act_as_cell" style="width: 6.47%;">
306
+ <div t-if="date_due_visible" class="act_as_cell" style="width: 6.47%;">
274
307
  Due
275
308
  date
276
309
  </div>
277
310
  <!--## amount_total_due-->
278
- <div class="act_as_cell" style="width: 6.57%;">Original</div>
311
+ <div
312
+ t-if="original_visible"
313
+ class="act_as_cell"
314
+ style="width: 6.57%;"
315
+ >Original</div>
279
316
  <!--## amount_residual-->
280
- <div class="act_as_cell" style="width: 6.57%;">Residual</div>
281
- <t t-if="foreign_currency">
317
+ <div
318
+ t-if="residual_visible"
319
+ class="act_as_cell"
320
+ style="width: 6.57%;"
321
+ >Residual</div>
322
+ <t t-if="foreign_currency and foreign_currency_visible">
282
323
  <!--## currency_name-->
283
324
  <div class="act_as_cell" style="width: 2.25%;">Cur.</div>
284
325
  <!--## amount_total_due_currency-->
@@ -297,11 +338,11 @@
297
338
  <!-- # lines or centralized lines -->
298
339
  <div class="act_as_row lines">
299
340
  <!--## date-->
300
- <div class="act_as_cell left">
341
+ <div t-if="date_visible" class="act_as_cell left">
301
342
  <span t-raw="line['date'].strftime('%d/%m/%Y')" />
302
343
  </div>
303
344
  <!--## move-->
304
- <div class="act_as_cell left">
345
+ <div t-if="entry_visible" class="act_as_cell left">
305
346
  <span
306
347
  t-att-res-id="line['entry_id']"
307
348
  res-model="account.move"
@@ -311,7 +352,7 @@
311
352
  </span>
312
353
  </div>
313
354
  <!--## journal-->
314
- <div class="act_as_cell left">
355
+ <div t-if="journal_visible" class="act_as_cell left">
315
356
  <span
316
357
  t-att-res-id="journals_data[line['journal_id']]['id']"
317
358
  res-model="account.journal"
@@ -321,7 +362,7 @@
321
362
  </span>
322
363
  </div>
323
364
  <!--## account code-->
324
- <div class="act_as_cell left">
365
+ <div t-if="account_code_visible" class="act_as_cell left">
325
366
  <span
326
367
  t-att-res-id="accounts_data[account_id]['id']"
327
368
  res-model="account.account"
@@ -331,7 +372,7 @@
331
372
  </span>
332
373
  </div>
333
374
  <!--## partner-->
334
- <div class="act_as_cell left">
375
+ <div t-if="partner_visible" class="act_as_cell left">
335
376
  <span
336
377
  t-if="line.get('partner_id', False)"
337
378
  t-att-res-id="line['partner_id']"
@@ -356,15 +397,15 @@
356
397
  </div>
357
398
  </t>
358
399
  <!--## ref - label-->
359
- <div class="act_as_cell left">
360
- <span t-esc="line['ref_label']" />
400
+ <div t-if="ref_label_visible" class="act_as_cell left">
401
+ <span t-esc="limit_text(line['ref_label'], ref_label_limit)" />
361
402
  </div>
362
403
  <!--## date_due-->
363
- <div class="act_as_cell left">
404
+ <div t-if="date_due_visible" class="act_as_cell left">
364
405
  <span t-esc="line['date_maturity']" />
365
406
  </div>
366
407
  <!--## amount_total_due-->
367
- <div class="act_as_cell amount">
408
+ <div t-if="original_visible" class="act_as_cell amount">
368
409
  <span
369
410
  t-if="line.get('original', False)"
370
411
  t-esc="line['original']"
@@ -372,13 +413,13 @@
372
413
  />
373
414
  </div>
374
415
  <!--## amount_residual-->
375
- <div class="act_as_cell amount">
416
+ <div t-if="residual_visible" class="act_as_cell amount">
376
417
  <span
377
418
  t-esc="line['amount_residual']"
378
419
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
379
420
  />
380
421
  </div>
381
- <t t-if="foreign_currency">
422
+ <t t-if="foreign_currency and foreign_currency_visible">
382
423
  <t t-if="line['currency_id']">
383
424
  <!--## currency_name-->
384
425
  <div class="act_as_cell amount">
@@ -472,7 +513,7 @@
472
513
  </t>
473
514
  </div>
474
515
  <!--## amount_total_due_currency + amount_residual_currency -->
475
- <t t-if="foreign_currency">
516
+ <t t-if="foreign_currency and foreign_currency_visible">
476
517
  <!--## currency_name-->
477
518
  <div class="act_as_cell" />
478
519
  <!--## amount_total_due_currency-->
@@ -808,6 +808,7 @@ class TrialBalanceReport(models.AbstractModel):
808
808
  return groups_data
809
809
 
810
810
  def _get_report_values(self, docids, data):
811
+ res = super()._get_report_values(docids, data)
811
812
  show_partner_details = data["show_partner_details"]
812
813
  wizard_id = data["wizard_id"]
813
814
  company = self.env["res.company"].browse(data["company_id"])
@@ -902,28 +903,31 @@ class TrialBalanceReport(models.AbstractModel):
902
903
  total_amount[account_id]["currency_name"] = accounts_data[
903
904
  account_id
904
905
  ]["currency_name"]
905
- return {
906
- "doc_ids": [wizard_id],
907
- "doc_model": "trial.balance.report.wizard",
908
- "docs": self.env["trial.balance.report.wizard"].browse(wizard_id),
909
- "foreign_currency": data["foreign_currency"],
910
- "company_name": company.display_name,
911
- "company_currency": company.currency_id,
912
- "currency_name": company.currency_id.name,
913
- "date_from": data["date_from"],
914
- "date_to": data["date_to"],
915
- "only_posted_moves": data["only_posted_moves"],
916
- "hide_account_at_0": data["hide_account_at_0"],
917
- "show_partner_details": data["show_partner_details"],
918
- "limit_hierarchy_level": data["limit_hierarchy_level"],
919
- "show_hierarchy": show_hierarchy,
920
- "hide_parent_hierarchy_level": data["hide_parent_hierarchy_level"],
921
- "trial_balance": trial_balance,
922
- "trial_balance_grouped": trial_balance_grouped,
923
- "total_amount": total_amount,
924
- "total_amount_grouped": total_amount_grouped,
925
- "accounts_data": accounts_data,
926
- "partners_data": partners_data,
927
- "show_hierarchy_level": show_hierarchy_level,
928
- "grouped_by": grouped_by,
929
- }
906
+ res.update(
907
+ {
908
+ "doc_ids": [wizard_id],
909
+ "doc_model": "trial.balance.report.wizard",
910
+ "docs": self.env["trial.balance.report.wizard"].browse(wizard_id),
911
+ "foreign_currency": data["foreign_currency"],
912
+ "company_name": company.display_name,
913
+ "company_currency": company.currency_id,
914
+ "currency_name": company.currency_id.name,
915
+ "date_from": data["date_from"],
916
+ "date_to": data["date_to"],
917
+ "only_posted_moves": data["only_posted_moves"],
918
+ "hide_account_at_0": data["hide_account_at_0"],
919
+ "show_partner_details": data["show_partner_details"],
920
+ "limit_hierarchy_level": data["limit_hierarchy_level"],
921
+ "show_hierarchy": show_hierarchy,
922
+ "hide_parent_hierarchy_level": data["hide_parent_hierarchy_level"],
923
+ "trial_balance": trial_balance,
924
+ "trial_balance_grouped": trial_balance_grouped,
925
+ "total_amount": total_amount,
926
+ "total_amount_grouped": total_amount_grouped,
927
+ "accounts_data": accounts_data,
928
+ "partners_data": partners_data,
929
+ "show_hierarchy_level": show_hierarchy_level,
930
+ "grouped_by": grouped_by,
931
+ }
932
+ )
933
+ return res
@@ -8,6 +8,7 @@ from odoo import api, models
8
8
 
9
9
 
10
10
  class VATReport(models.AbstractModel):
11
+ _inherit = "report.account_financial_report.abstract_report"
11
12
  _name = "report.account_financial_report.vat_report"
12
13
  _description = "Vat Report Report"
13
14
 
@@ -197,6 +198,7 @@ class VATReport(models.AbstractModel):
197
198
  return vat_report_list
198
199
 
199
200
  def _get_report_values(self, docids, data):
201
+ res = super()._get_report_values(docids, data)
200
202
  wizard_id = data["wizard_id"]
201
203
  company = self.env["res.company"].browse(data["company_id"])
202
204
  company_id = data["company_id"]
@@ -216,18 +218,21 @@ class VATReport(models.AbstractModel):
216
218
  vat_report = self._get_vat_report_tag_data(
217
219
  vat_report_data, tax_data, tax_detail
218
220
  )
219
- return {
220
- "doc_ids": [wizard_id],
221
- "doc_model": "open.items.report.wizard",
222
- "docs": self.env["open.items.report.wizard"].browse(wizard_id),
223
- "company_name": company.display_name,
224
- "currency_name": company.currency_id.name,
225
- "date_to": data["date_to"],
226
- "date_from": data["date_from"],
227
- "based_on": data["based_on"],
228
- "tax_detail": data["tax_detail"],
229
- "vat_report": vat_report,
230
- }
221
+ res.update(
222
+ {
223
+ "doc_ids": [wizard_id],
224
+ "doc_model": "open.items.report.wizard",
225
+ "docs": self.env["open.items.report.wizard"].browse(wizard_id),
226
+ "company_name": company.display_name,
227
+ "currency_name": company.currency_id.name,
228
+ "date_to": data["date_to"],
229
+ "date_from": data["date_from"],
230
+ "based_on": data["based_on"],
231
+ "tax_detail": data["tax_detail"],
232
+ "vat_report": vat_report,
233
+ }
234
+ )
235
+ return res
231
236
 
232
237
  def _get_ml_fields_vat_report(self):
233
238
  return [
@@ -7,3 +7,4 @@ access_trial_balance_report_wizard,access_trial_balance_report_wizard,model_tria
7
7
  access_vat_report_wizard,access_vat_report_wizard,model_vat_report_wizard,base.group_user,1,1,1,1
8
8
  access_account_age_report_configuration,access_account_age_report_configuration,model_account_age_report_configuration,base.group_user,1,1,1,1
9
9
  access_account_age_report_configuration_line,access_account_age_report_configuration_line,model_account_age_report_configuration_line,base.group_user,1,1,1,1
10
+ account_financial_report.access_account_financial_report_column,access_account_financial_report_column,account_financial_report.model_account_financial_report_column,base.group_user,1,1,1,1