odoo-addon-account-financial-report 15.0.3.2.2__py3-none-any.whl → 15.0.3.3.0.1__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 (62) 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/i18n/ar.po +125 -3
  6. odoo/addons/account_financial_report/i18n/ca.po +125 -0
  7. odoo/addons/account_financial_report/i18n/da.po +125 -0
  8. odoo/addons/account_financial_report/i18n/de.po +125 -3
  9. odoo/addons/account_financial_report/i18n/es.po +125 -0
  10. odoo/addons/account_financial_report/i18n/es_AR.po +125 -0
  11. odoo/addons/account_financial_report/i18n/es_MX.po +125 -0
  12. odoo/addons/account_financial_report/i18n/fr.po +125 -3
  13. odoo/addons/account_financial_report/i18n/fr_CH.po +125 -3
  14. odoo/addons/account_financial_report/i18n/fr_FR.po +125 -0
  15. odoo/addons/account_financial_report/i18n/hr.po +125 -0
  16. odoo/addons/account_financial_report/i18n/hr_HR.po +125 -0
  17. odoo/addons/account_financial_report/i18n/it.po +125 -3
  18. odoo/addons/account_financial_report/i18n/ja.po +125 -0
  19. odoo/addons/account_financial_report/i18n/nl.po +125 -3
  20. odoo/addons/account_financial_report/i18n/nl_NL.po +125 -0
  21. odoo/addons/account_financial_report/i18n/pt.po +125 -0
  22. odoo/addons/account_financial_report/i18n/pt_BR.po +125 -3
  23. odoo/addons/account_financial_report/i18n/ro.po +125 -3
  24. odoo/addons/account_financial_report/models/__init__.py +1 -0
  25. odoo/addons/account_financial_report/models/account_financial_report_column.py +17 -0
  26. odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +1 -0
  27. odoo/addons/account_financial_report/readme/DESCRIPTION.rst +3 -0
  28. odoo/addons/account_financial_report/readme/HISTORY.rst +5 -0
  29. odoo/addons/account_financial_report/readme/ROADMAP.rst +3 -0
  30. odoo/addons/account_financial_report/report/abstract_report.py +15 -0
  31. odoo/addons/account_financial_report/report/aged_partner_balance.py +16 -12
  32. odoo/addons/account_financial_report/report/general_ledger.py +28 -24
  33. odoo/addons/account_financial_report/report/journal_ledger.py +27 -22
  34. odoo/addons/account_financial_report/report/open_items.py +24 -19
  35. odoo/addons/account_financial_report/report/templates/general_ledger.xml +116 -52
  36. odoo/addons/account_financial_report/report/templates/journal_ledger.xml +79 -31
  37. odoo/addons/account_financial_report/report/templates/open_items.xml +65 -24
  38. odoo/addons/account_financial_report/report/trial_balance.py +29 -25
  39. odoo/addons/account_financial_report/report/vat_report.py +17 -12
  40. odoo/addons/account_financial_report/security/ir.model.access.csv +1 -0
  41. odoo/addons/account_financial_report/static/description/index.html +33 -19
  42. odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +4 -4
  43. odoo/addons/account_financial_report/tests/test_general_ledger.py +1 -1
  44. odoo/addons/account_financial_report/tests/test_journal_ledger.py +5 -5
  45. odoo/addons/account_financial_report/tests/test_open_items.py +1 -1
  46. odoo/addons/account_financial_report/tests/test_trial_balance.py +4 -4
  47. odoo/addons/account_financial_report/tests/test_vat_report.py +1 -1
  48. odoo/addons/account_financial_report/view/account_financial_report_column_view.xml +46 -0
  49. odoo/addons/account_financial_report/wizard/abstract_wizard.py +24 -1
  50. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +19 -17
  51. odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +1 -5
  52. odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +7 -0
  53. odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py +19 -17
  54. odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml +48 -32
  55. odoo/addons/account_financial_report/wizard/open_items_wizard.py +22 -20
  56. odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +79 -66
  57. odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +26 -24
  58. odoo/addons/account_financial_report/wizard/vat_report_wizard.py +15 -13
  59. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info}/METADATA +16 -3
  60. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info}/RECORD +62 -59
  61. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info}/WHEEL +0 -0
  62. {odoo_addon_account_financial_report-15.0.3.2.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info}/top_level.txt +0 -0
@@ -149,6 +149,18 @@ msgstr "Filtru cont la 0"
149
149
  msgid "Account balance at 0 filter"
150
150
  msgstr "Conturi cu sold zero filtrate"
151
151
 
152
+ #. module: account_financial_report
153
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_account_code
154
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_account_code
155
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_account_code
156
+ msgid "Account code"
157
+ msgstr ""
158
+
159
+ #. module: account_financial_report
160
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_account_name
161
+ msgid "Account name"
162
+ msgstr ""
163
+
152
164
  #. module: account_financial_report
153
165
  #: model:ir.model.fields,field_description:account_financial_report.field_account_group__account_ids
154
166
  msgid "Accounts"
@@ -343,6 +355,17 @@ msgid "Analytic Account"
343
355
  msgstr "Cont analitic"
344
356
 
345
357
  #. module: account_financial_report
358
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_cost_center
359
+ msgid "Analytic account"
360
+ msgstr ""
361
+
362
+ #. module: account_financial_report
363
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_analytic_tags
364
+ msgid "Analytic tags"
365
+ msgstr ""
366
+
367
+ #. module: account_financial_report
368
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_balance
346
369
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
347
370
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_taxes
348
371
  msgid "Balance"
@@ -420,6 +443,24 @@ msgstr "Grupuri subordonate"
420
443
  msgid "Code"
421
444
  msgstr "Cod"
422
445
 
446
+ #. module: account_financial_report
447
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__column_ids
448
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__column_ids
449
+ #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__column_ids
450
+ #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__column_ids
451
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__column_ids
452
+ #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__column_ids
453
+ #: model:ir.model.fields,field_description:account_financial_report.field_vat_report_wizard__column_ids
454
+ msgid "Column"
455
+ msgstr ""
456
+
457
+ #. module: account_financial_report
458
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
459
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
460
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
461
+ msgid "Columns"
462
+ msgstr ""
463
+
423
464
  #. module: account_financial_report
424
465
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
425
466
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__company_id
@@ -452,6 +493,7 @@ msgstr ""
452
493
  #. module: account_financial_report
453
494
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_uid
454
495
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_uid
496
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__create_uid
455
497
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
456
498
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
457
499
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_uid
@@ -464,6 +506,7 @@ msgstr "Creat de"
464
506
  #. module: account_financial_report
465
507
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_date
466
508
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_date
509
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__create_date
467
510
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_date
468
511
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_date
469
512
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_date
@@ -477,6 +520,8 @@ msgstr "Creat pe"
477
520
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
478
521
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
479
522
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
523
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_credit
524
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_credit
480
525
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
481
526
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
482
527
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@@ -541,6 +586,9 @@ msgstr "Curent"
541
586
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
542
587
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
543
588
  #: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:0
589
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_date
590
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_date
591
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_date
544
592
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
545
593
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
546
594
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@@ -580,6 +628,11 @@ msgstr "Până la"
580
628
  msgid "Date at filter"
581
629
  msgstr ""
582
630
 
631
+ #. module: account_financial_report
632
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_date_due
633
+ msgid "Date due"
634
+ msgstr ""
635
+
583
636
  #. module: account_financial_report
584
637
  #: code:addons/account_financial_report/report/vat_report_xlsx.py:0
585
638
  #, python-format
@@ -614,6 +667,8 @@ msgstr "Până la"
614
667
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
615
668
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
616
669
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
670
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_debit
671
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_debit
617
672
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
618
673
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
619
674
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@@ -639,6 +694,7 @@ msgstr "Detalii impozite"
639
694
  #. module: account_financial_report
640
695
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__display_name
641
696
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__display_name
697
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__display_name
642
698
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
643
699
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
644
700
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
@@ -744,6 +800,9 @@ msgstr "Înregistrări sortate după"
744
800
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
745
801
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
746
802
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
803
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_entry
804
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_entry
805
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_entry
747
806
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
748
807
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
749
808
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@@ -785,6 +844,16 @@ msgstr "Export PDF"
785
844
  msgid "Export XLSX"
786
845
  msgstr "Exportați XLSX"
787
846
 
847
+ #. module: account_financial_report
848
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__expression_label
849
+ msgid "Expression Label"
850
+ msgstr ""
851
+
852
+ #. module: account_financial_report
853
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__field_type
854
+ msgid "Field Type"
855
+ msgstr ""
856
+
788
857
  #. module: account_financial_report
789
858
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__account_ids
790
859
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__account_ids
@@ -826,11 +895,24 @@ msgstr "Filtrează Jurnale"
826
895
  msgid "Filter partners"
827
896
  msgstr "Filtru partener"
828
897
 
898
+ #. module: account_financial_report
899
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
900
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
901
+ msgid "Filters"
902
+ msgstr ""
903
+
829
904
  #. module: account_financial_report
830
905
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__foreign_currency
831
906
  msgid "Foreign Currency"
832
907
  msgstr "Monedă străină"
833
908
 
909
+ #. module: account_financial_report
910
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_foreign_currency
911
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_foreign_currency
912
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_foreign_currency
913
+ msgid "Foreign currency"
914
+ msgstr ""
915
+
834
916
  #. module: account_financial_report
835
917
  #: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
836
918
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
@@ -961,6 +1043,7 @@ msgstr "Niveluri Ierahie de afișat"
961
1043
  #. module: account_financial_report
962
1044
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__id
963
1045
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__id
1046
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__id
964
1047
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
965
1048
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
966
1049
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
@@ -1024,6 +1107,8 @@ msgstr ""
1024
1107
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
1025
1108
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1026
1109
  #: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:0
1110
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_journal
1111
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_journal
1027
1112
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__journal_ids
1028
1113
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1029
1114
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
@@ -1087,9 +1172,15 @@ msgstr "Jurnal"
1087
1172
  msgid "Journals"
1088
1173
  msgstr "Jurnale"
1089
1174
 
1175
+ #. module: account_financial_report
1176
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_ref_label
1177
+ msgid "Label"
1178
+ msgstr "Etichetă"
1179
+
1090
1180
  #. module: account_financial_report
1091
1181
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration____last_update
1092
1182
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line____last_update
1183
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column____last_update
1093
1184
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
1094
1185
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
1095
1186
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
@@ -1102,6 +1193,7 @@ msgstr "Ultima modificare pe"
1102
1193
  #. module: account_financial_report
1103
1194
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_uid
1104
1195
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_uid
1196
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__write_uid
1105
1197
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_uid
1106
1198
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_uid
1107
1199
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_uid
@@ -1114,6 +1206,7 @@ msgstr "Ultima dată actualizat de"
1114
1206
  #. module: account_financial_report
1115
1207
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_date
1116
1208
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_date
1209
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__write_date
1117
1210
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_date
1118
1211
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_date
1119
1212
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_date
@@ -1135,6 +1228,11 @@ msgstr "Nivel"
1135
1228
  msgid "Level %s"
1136
1229
  msgstr "Nivel %s"
1137
1230
 
1231
+ #. module: account_financial_report
1232
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__limit
1233
+ msgid "Limit"
1234
+ msgstr ""
1235
+
1138
1236
  #. module: account_financial_report
1139
1237
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1140
1238
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__limit_hierarchy_level
@@ -1148,6 +1246,16 @@ msgstr "Limitați nivelurile de ierarhie"
1148
1246
  msgid "Line"
1149
1247
  msgstr "Linie"
1150
1248
 
1249
+ #. module: account_financial_report
1250
+ #: model:ir.model,name:account_financial_report.model_account_financial_report_column
1251
+ msgid "Manage column options in financial reports"
1252
+ msgstr ""
1253
+
1254
+ #. module: account_financial_report
1255
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_matching_number
1256
+ msgid "Matching number"
1257
+ msgstr ""
1258
+
1151
1259
  #. module: account_financial_report
1152
1260
  #: code:addons/account_financial_report/report/general_ledger.py:0
1153
1261
  #: code:addons/account_financial_report/report/open_items.py:0
@@ -1194,6 +1302,7 @@ msgstr ""
1194
1302
  #: code:addons/account_financial_report/report/vat_report_xlsx.py:0
1195
1303
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__name
1196
1304
  #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__name
1305
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__name
1197
1306
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
1198
1307
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_taxes
1199
1308
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_vat_report_base
@@ -1334,6 +1443,7 @@ msgstr "Opțiuni"
1334
1443
 
1335
1444
  #. module: account_financial_report
1336
1445
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1446
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_original
1337
1447
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1338
1448
  #, python-format
1339
1449
  msgid "Original"
@@ -1345,6 +1455,9 @@ msgstr "Original"
1345
1455
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
1346
1456
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1347
1457
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1458
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_partner
1459
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_partner
1460
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_partner
1348
1461
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_lines_header
1349
1462
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1350
1463
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
@@ -1472,6 +1585,8 @@ msgstr ""
1472
1585
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
1473
1586
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
1474
1587
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1588
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_ref_label
1589
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_ref_label
1475
1590
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
1476
1591
  #, python-format
1477
1592
  msgid "Ref - Label"
@@ -1482,9 +1597,15 @@ msgstr ""
1482
1597
  msgid "Report Action"
1483
1598
  msgstr "Raportați acțiunea"
1484
1599
 
1600
+ #. module: account_financial_report
1601
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__res_model
1602
+ msgid "Res Model"
1603
+ msgstr ""
1604
+
1485
1605
  #. module: account_financial_report
1486
1606
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
1487
1607
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1608
+ #: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_residual
1488
1609
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_lines_header
1489
1610
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1490
1611
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
@@ -1494,6 +1615,8 @@ msgstr "Rezidual"
1494
1615
 
1495
1616
  #. module: account_financial_report
1496
1617
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
1618
+ #: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_sequence
1619
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__sequence
1497
1620
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
1498
1621
  #, python-format
1499
1622
  msgid "Sequence"
@@ -1503,6 +1626,7 @@ msgstr "Secvență"
1503
1626
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
1504
1627
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1505
1628
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1629
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__is_visible
1506
1630
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_filters
1507
1631
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_filters
1508
1632
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@@ -1684,6 +1808,7 @@ msgstr ""
1684
1808
  #. module: account_financial_report
1685
1809
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
1686
1810
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
1811
+ #: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_taxes
1687
1812
  #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__taxes
1688
1813
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1689
1814
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@@ -2120,9 +2245,6 @@ msgstr "lățime: 8,11%;"
2120
2245
  #~ msgid "Initial Debit"
2121
2246
  #~ msgstr "Debit inițial"
2122
2247
 
2123
- #~ msgid "Label"
2124
- #~ msgstr "Etichetă"
2125
-
2126
2248
  #~ msgid "Move"
2127
2249
  #~ msgstr "Mișcare"
2128
2250
 
@@ -1,4 +1,5 @@
1
1
  from . import account_age_report_configuration
2
+ from . import account_financial_report_column
2
3
  from . import account_group
3
4
  from . import account
4
5
  from . import account_move_line
@@ -0,0 +1,17 @@
1
+ # Copyright 2025 Tecnativa - Carlos Dauden
2
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+ from odoo import fields, models
4
+
5
+
6
+ class AccountFinancialReportColumn(models.Model):
7
+ _name = "account.financial.report.column"
8
+ _description = "Manage column options in financial reports"
9
+ _order = "sequence, id"
10
+
11
+ res_model = fields.Char()
12
+ sequence = fields.Integer()
13
+ name = fields.Char(required=True, translate=True)
14
+ expression_label = fields.Char(required=True)
15
+ is_visible = fields.Boolean(string="Show", default=True)
16
+ field_type = fields.Char()
17
+ limit = fields.Integer()
@@ -25,6 +25,7 @@
25
25
  * Alexandre D. Díaz
26
26
  * Víctor Martínez
27
27
  * Carolina Fernandez
28
+ * Carlos Dauden
28
29
 
29
30
  * `Sygel <https://www.sygel.es>`__:
30
31
 
@@ -8,6 +8,9 @@ Invoicing / Reporting / OCA accounting reports.
8
8
  - VAT Report
9
9
  - Journal Ledger
10
10
 
11
+ It is possible to select the columns to show and limit the size of some of them from the
12
+ columns page.
13
+
11
14
  Currently General ledger, Trial Balance and Open Items are fully compatible with a foreign
12
15
  currency set up in account in order to display balances. Moreover, any foreign
13
16
  currency used in account move lines is properly shown.
@@ -1,3 +1,8 @@
1
+ 15.0.3.2.3 (2025-02-17)
2
+ ~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ * Added the option to select columns to display and the ability to limit the width of the text
5
+
1
6
  11.0.2.5.0 (2019-04-26)
2
7
  ~~~~~~~~~~~~~~~~~~~~~~~
3
8
 
@@ -5,3 +5,6 @@
5
5
  * It would be nice to have in reports a column indicating the
6
6
  state of the entries when the option "All Entries" is selected
7
7
  in "Target Moves" field in a wizard
8
+ * Adapt reports so that the order of the columns displayed is dynamic
9
+ * Remove duplicated options to show columns (it has not been made in a stable version so
10
+ as not to generate confusion in users)
@@ -1,4 +1,5 @@
1
1
  # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
2
+ # Copyright 2025 Tecnativa - Carlos Dauden
2
3
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
4
 
4
5
  from odoo import api, models
@@ -160,3 +161,17 @@ class AgedPartnerBalanceReport(models.AbstractModel):
160
161
  "debit",
161
162
  "amount_currency",
162
163
  ]
164
+
165
+ def _get_report_values(self, docids, data):
166
+ wizard = self.env[data["wizard_name"]].browse(data["wizard_id"])
167
+ res = {f"{c.expression_label}_visible": c.is_visible for c in wizard.column_ids}
168
+ res.update(
169
+ {
170
+ f"{c.expression_label}_limit": c.limit
171
+ for c in wizard.column_ids
172
+ if c.field_type == "string"
173
+ }
174
+ )
175
+ # Pass function to be called in report
176
+ res["limit_text"] = wizard._limit_text
177
+ return res
@@ -437,6 +437,7 @@ class AgedPartnerBalanceReport(models.AbstractModel):
437
437
  return aged_partner_data
438
438
 
439
439
  def _get_report_values(self, docids, data):
440
+ res = super()._get_report_values(docids, data)
440
441
  wizard_id = data["wizard_id"]
441
442
  company = self.env["res.company"].browse(data["company_id"])
442
443
  company_id = data["company_id"]
@@ -478,18 +479,21 @@ class AgedPartnerBalanceReport(models.AbstractModel):
478
479
  aged_partner_data = self.with_context(
479
480
  age_partner_config=aged_partner_configuration
480
481
  )._calculate_percent(aged_partner_data)
481
- return {
482
- "doc_ids": [wizard_id],
483
- "doc_model": "open.items.report.wizard",
484
- "docs": self.env["open.items.report.wizard"].browse(wizard_id),
485
- "company_name": company.display_name,
486
- "currency_name": company.currency_id.name,
487
- "date_at": date_at,
488
- "only_posted_moves": only_posted_moves,
489
- "aged_partner_balance": aged_partner_data,
490
- "show_move_lines_details": show_move_line_details,
491
- "age_partner_config": aged_partner_configuration,
492
- }
482
+ res.update(
483
+ {
484
+ "doc_ids": [wizard_id],
485
+ "doc_model": "open.items.report.wizard",
486
+ "docs": self.env["open.items.report.wizard"].browse(wizard_id),
487
+ "company_name": company.display_name,
488
+ "currency_name": company.currency_id.name,
489
+ "date_at": date_at,
490
+ "only_posted_moves": only_posted_moves,
491
+ "aged_partner_balance": aged_partner_data,
492
+ "show_move_lines_details": show_move_line_details,
493
+ "age_partner_config": aged_partner_configuration,
494
+ }
495
+ )
496
+ return res
493
497
 
494
498
  def _get_ml_fields(self):
495
499
  return self.COMMON_ML_FIELDS + [
@@ -776,6 +776,7 @@ class GeneralLedgerReport(models.AbstractModel):
776
776
 
777
777
  # flake8: noqa: C901
778
778
  def _get_report_values(self, docids, data):
779
+ res = super()._get_report_values(docids, data)
779
780
  wizard_id = data["wizard_id"]
780
781
  wizard = self.env["general.ledger.report.wizard"].browse(wizard_id)
781
782
  company = wizard.company_id
@@ -909,30 +910,33 @@ class GeneralLedgerReport(models.AbstractModel):
909
910
  if not gl_item["currency_id"] and len(fin_bal_currency_ids) == 1:
910
911
  fin_bal_currency_id = fin_bal_currency_ids[0]
911
912
  gl_item["fin_bal_currency_id"] = fin_bal_currency_id
912
- return {
913
- "doc_ids": [wizard_id],
914
- "doc_model": "general.ledger.report.wizard",
915
- "docs": wizard,
916
- "foreign_currency": foreign_currency,
917
- "company_name": company.display_name,
918
- "company_currency": company.currency_id,
919
- "currency_name": company.currency_id.name,
920
- "date_from": date_from,
921
- "date_to": date_to,
922
- "only_posted_moves": only_posted_moves,
923
- "hide_account_at_0": hide_account_at_0,
924
- "show_analytic_tags": wizard.show_analytic_tags,
925
- "show_cost_center": wizard.show_cost_center,
926
- "general_ledger": general_ledger,
927
- "accounts_data": accounts_data,
928
- "journals_data": journals_data,
929
- "full_reconcile_data": full_reconcile_data,
930
- "taxes_data": taxes_data,
931
- "centralize": centralize,
932
- "tags_data": tags_data,
933
- "filter_partner_ids": True if partner_ids else False,
934
- "currency_model": self.env["res.currency"],
935
- }
913
+ res.update(
914
+ {
915
+ "doc_ids": [wizard_id],
916
+ "doc_model": "general.ledger.report.wizard",
917
+ "docs": wizard,
918
+ "foreign_currency": foreign_currency,
919
+ "company_name": company.display_name,
920
+ "company_currency": company.currency_id,
921
+ "currency_name": company.currency_id.name,
922
+ "date_from": date_from,
923
+ "date_to": date_to,
924
+ "only_posted_moves": only_posted_moves,
925
+ "hide_account_at_0": hide_account_at_0,
926
+ "show_analytic_tags": wizard.show_analytic_tags,
927
+ "show_cost_center": wizard.show_cost_center,
928
+ "general_ledger": general_ledger,
929
+ "accounts_data": accounts_data,
930
+ "journals_data": journals_data,
931
+ "full_reconcile_data": full_reconcile_data,
932
+ "taxes_data": taxes_data,
933
+ "centralize": centralize,
934
+ "tags_data": tags_data,
935
+ "filter_partner_ids": True if partner_ids else False,
936
+ "currency_model": self.env["res.currency"],
937
+ }
938
+ )
939
+ return res
936
940
 
937
941
  def _get_ml_fields(self):
938
942
  return self.COMMON_ML_FIELDS + [
@@ -8,6 +8,7 @@ from odoo import models
8
8
 
9
9
 
10
10
  class JournalLedgerReport(models.AbstractModel):
11
+ _inherit = "report.account_financial_report.abstract_report"
11
12
  _name = "report.account_financial_report.journal_ledger"
12
13
  _description = "Journal Ledger Report"
13
14
 
@@ -296,6 +297,7 @@ class JournalLedgerReport(models.AbstractModel):
296
297
  return journals_taxes_data_2
297
298
 
298
299
  def _get_report_values(self, docids, data):
300
+ res = super()._get_report_values(docids, data)
299
301
  wizard_id = data["wizard_id"]
300
302
  wizard = self.env["journal.ledger.report.wizard"].browse(wizard_id)
301
303
  company = self.env["res.company"].browse(data["company_id"])
@@ -349,25 +351,28 @@ class JournalLedgerReport(models.AbstractModel):
349
351
  if journal_id in journal_totals.keys():
350
352
  for item in ["debit", "credit"]:
351
353
  journal_ledger_data[item] += journal_totals[journal_id][item]
352
- return {
353
- "doc_ids": [wizard_id],
354
- "doc_model": "journal.ledger.report.wizard",
355
- "docs": self.env["journal.ledger.report.wizard"].browse(wizard_id),
356
- "group_option": data["group_option"],
357
- "foreign_currency": data["foreign_currency"],
358
- "with_account_name": data["with_account_name"],
359
- "company_name": company.display_name,
360
- "currency_name": company.currency_id.name,
361
- "date_from": data["date_from"],
362
- "date_to": data["date_to"],
363
- "move_target": data["move_target"],
364
- "with_auto_sequence": data["with_auto_sequence"],
365
- "account_ids_data": account_ids_data,
366
- "partner_ids_data": partner_ids_data,
367
- "currency_ids_data": currency_ids_data,
368
- "move_ids_data": move_ids_data,
369
- "tax_line_data": tax_line_ids_data,
370
- "move_line_ids_taxes_data": move_line_ids_taxes_data,
371
- "Journal_Ledgers": journal_ledgers_data,
372
- "Moves": moves_data,
373
- }
354
+ res.update(
355
+ {
356
+ "doc_ids": [wizard_id],
357
+ "doc_model": "journal.ledger.report.wizard",
358
+ "docs": self.env["journal.ledger.report.wizard"].browse(wizard_id),
359
+ "group_option": data["group_option"],
360
+ "foreign_currency": data["foreign_currency"],
361
+ "with_account_name": data["with_account_name"],
362
+ "company_name": company.display_name,
363
+ "currency_name": company.currency_id.name,
364
+ "date_from": data["date_from"],
365
+ "date_to": data["date_to"],
366
+ "move_target": data["move_target"],
367
+ "with_auto_sequence": data["with_auto_sequence"],
368
+ "account_ids_data": account_ids_data,
369
+ "partner_ids_data": partner_ids_data,
370
+ "currency_ids_data": currency_ids_data,
371
+ "move_ids_data": move_ids_data,
372
+ "tax_line_data": tax_line_ids_data,
373
+ "move_line_ids_taxes_data": move_line_ids_taxes_data,
374
+ "Journal_Ledgers": journal_ledgers_data,
375
+ "Moves": moves_data,
376
+ }
377
+ )
378
+ return res