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.
- 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 +28 -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.2.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.2.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.2.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.2.dist-info → odoo_addon_account_financial_report-15.0.3.3.0.dist-info}/top_level.txt +0 -0
|
@@ -141,6 +141,18 @@ msgstr ""
|
|
|
141
141
|
msgid "Account balance at 0 filter"
|
|
142
142
|
msgstr ""
|
|
143
143
|
|
|
144
|
+
#. module: account_financial_report
|
|
145
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_account_code
|
|
146
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_account_code
|
|
147
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_account_code
|
|
148
|
+
msgid "Account code"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
#. module: account_financial_report
|
|
152
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_account_name
|
|
153
|
+
msgid "Account name"
|
|
154
|
+
msgstr ""
|
|
155
|
+
|
|
144
156
|
#. module: account_financial_report
|
|
145
157
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__account_ids
|
|
146
158
|
msgid "Accounts"
|
|
@@ -339,6 +351,17 @@ msgid "Analytic Account"
|
|
|
339
351
|
msgstr ""
|
|
340
352
|
|
|
341
353
|
#. module: account_financial_report
|
|
354
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_cost_center
|
|
355
|
+
msgid "Analytic account"
|
|
356
|
+
msgstr ""
|
|
357
|
+
|
|
358
|
+
#. module: account_financial_report
|
|
359
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_analytic_tags
|
|
360
|
+
msgid "Analytic tags"
|
|
361
|
+
msgstr ""
|
|
362
|
+
|
|
363
|
+
#. module: account_financial_report
|
|
364
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_balance
|
|
342
365
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
|
|
343
366
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_taxes
|
|
344
367
|
msgid "Balance"
|
|
@@ -416,6 +439,24 @@ msgstr ""
|
|
|
416
439
|
msgid "Code"
|
|
417
440
|
msgstr ""
|
|
418
441
|
|
|
442
|
+
#. module: account_financial_report
|
|
443
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__column_ids
|
|
444
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__column_ids
|
|
445
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__column_ids
|
|
446
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__column_ids
|
|
447
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__column_ids
|
|
448
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__column_ids
|
|
449
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_vat_report_wizard__column_ids
|
|
450
|
+
msgid "Column"
|
|
451
|
+
msgstr ""
|
|
452
|
+
|
|
453
|
+
#. module: account_financial_report
|
|
454
|
+
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
|
|
455
|
+
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
|
|
456
|
+
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
|
|
457
|
+
msgid "Columns"
|
|
458
|
+
msgstr ""
|
|
459
|
+
|
|
419
460
|
#. module: account_financial_report
|
|
420
461
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
421
462
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__company_id
|
|
@@ -448,6 +489,7 @@ msgstr ""
|
|
|
448
489
|
#. module: account_financial_report
|
|
449
490
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_uid
|
|
450
491
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_uid
|
|
492
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__create_uid
|
|
451
493
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
|
|
452
494
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
|
|
453
495
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_uid
|
|
@@ -460,6 +502,7 @@ msgstr ""
|
|
|
460
502
|
#. module: account_financial_report
|
|
461
503
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_date
|
|
462
504
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_date
|
|
505
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__create_date
|
|
463
506
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_date
|
|
464
507
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_date
|
|
465
508
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_date
|
|
@@ -474,6 +517,8 @@ msgstr ""
|
|
|
474
517
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
475
518
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
476
519
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
520
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_credit
|
|
521
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_credit
|
|
477
522
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
478
523
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
|
|
479
524
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
@@ -539,6 +584,9 @@ msgstr ""
|
|
|
539
584
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
540
585
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
541
586
|
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:0
|
|
587
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_date
|
|
588
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_date
|
|
589
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_date
|
|
542
590
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
|
543
591
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
544
592
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
@@ -578,6 +626,11 @@ msgstr ""
|
|
|
578
626
|
msgid "Date at filter"
|
|
579
627
|
msgstr ""
|
|
580
628
|
|
|
629
|
+
#. module: account_financial_report
|
|
630
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_date_due
|
|
631
|
+
msgid "Date due"
|
|
632
|
+
msgstr ""
|
|
633
|
+
|
|
581
634
|
#. module: account_financial_report
|
|
582
635
|
#: code:addons/account_financial_report/report/vat_report_xlsx.py:0
|
|
583
636
|
#, python-format
|
|
@@ -613,6 +666,8 @@ msgstr ""
|
|
|
613
666
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
614
667
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
615
668
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
669
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_debit
|
|
670
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_debit
|
|
616
671
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
617
672
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
|
|
618
673
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
@@ -638,6 +693,7 @@ msgstr ""
|
|
|
638
693
|
#. module: account_financial_report
|
|
639
694
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__display_name
|
|
640
695
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__display_name
|
|
696
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__display_name
|
|
641
697
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
|
|
642
698
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
|
|
643
699
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
|
|
@@ -740,6 +796,9 @@ msgstr ""
|
|
|
740
796
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
741
797
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
742
798
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
799
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_entry
|
|
800
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_entry
|
|
801
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_entry
|
|
743
802
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
|
744
803
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
745
804
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
@@ -782,6 +841,16 @@ msgstr ""
|
|
|
782
841
|
msgid "Export XLSX"
|
|
783
842
|
msgstr ""
|
|
784
843
|
|
|
844
|
+
#. module: account_financial_report
|
|
845
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__expression_label
|
|
846
|
+
msgid "Expression Label"
|
|
847
|
+
msgstr ""
|
|
848
|
+
|
|
849
|
+
#. module: account_financial_report
|
|
850
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__field_type
|
|
851
|
+
msgid "Field Type"
|
|
852
|
+
msgstr ""
|
|
853
|
+
|
|
785
854
|
#. module: account_financial_report
|
|
786
855
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__account_ids
|
|
787
856
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__account_ids
|
|
@@ -823,11 +892,24 @@ msgstr ""
|
|
|
823
892
|
msgid "Filter partners"
|
|
824
893
|
msgstr ""
|
|
825
894
|
|
|
895
|
+
#. module: account_financial_report
|
|
896
|
+
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
|
|
897
|
+
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
|
|
898
|
+
msgid "Filters"
|
|
899
|
+
msgstr ""
|
|
900
|
+
|
|
826
901
|
#. module: account_financial_report
|
|
827
902
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__foreign_currency
|
|
828
903
|
msgid "Foreign Currency"
|
|
829
904
|
msgstr ""
|
|
830
905
|
|
|
906
|
+
#. module: account_financial_report
|
|
907
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_foreign_currency
|
|
908
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_foreign_currency
|
|
909
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_foreign_currency
|
|
910
|
+
msgid "Foreign currency"
|
|
911
|
+
msgstr ""
|
|
912
|
+
|
|
831
913
|
#. module: account_financial_report
|
|
832
914
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
|
|
833
915
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
|
|
@@ -957,6 +1039,7 @@ msgstr ""
|
|
|
957
1039
|
#. module: account_financial_report
|
|
958
1040
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__id
|
|
959
1041
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__id
|
|
1042
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__id
|
|
960
1043
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
|
|
961
1044
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
|
|
962
1045
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
|
|
@@ -1020,6 +1103,8 @@ msgstr ""
|
|
|
1020
1103
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
1021
1104
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1022
1105
|
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:0
|
|
1106
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_journal
|
|
1107
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_journal
|
|
1023
1108
|
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__journal_ids
|
|
1024
1109
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
|
1025
1110
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
@@ -1080,9 +1165,15 @@ msgstr ""
|
|
|
1080
1165
|
msgid "Journals"
|
|
1081
1166
|
msgstr ""
|
|
1082
1167
|
|
|
1168
|
+
#. module: account_financial_report
|
|
1169
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_ref_label
|
|
1170
|
+
msgid "Label"
|
|
1171
|
+
msgstr ""
|
|
1172
|
+
|
|
1083
1173
|
#. module: account_financial_report
|
|
1084
1174
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration____last_update
|
|
1085
1175
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line____last_update
|
|
1176
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column____last_update
|
|
1086
1177
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
|
|
1087
1178
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
|
|
1088
1179
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
|
|
@@ -1095,6 +1186,7 @@ msgstr ""
|
|
|
1095
1186
|
#. module: account_financial_report
|
|
1096
1187
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_uid
|
|
1097
1188
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_uid
|
|
1189
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__write_uid
|
|
1098
1190
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_uid
|
|
1099
1191
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_uid
|
|
1100
1192
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_uid
|
|
@@ -1107,6 +1199,7 @@ msgstr ""
|
|
|
1107
1199
|
#. module: account_financial_report
|
|
1108
1200
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_date
|
|
1109
1201
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_date
|
|
1202
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__write_date
|
|
1110
1203
|
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_date
|
|
1111
1204
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_date
|
|
1112
1205
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_date
|
|
@@ -1128,6 +1221,11 @@ msgstr ""
|
|
|
1128
1221
|
msgid "Level %s"
|
|
1129
1222
|
msgstr ""
|
|
1130
1223
|
|
|
1224
|
+
#. module: account_financial_report
|
|
1225
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__limit
|
|
1226
|
+
msgid "Limit"
|
|
1227
|
+
msgstr ""
|
|
1228
|
+
|
|
1131
1229
|
#. module: account_financial_report
|
|
1132
1230
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
1133
1231
|
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__limit_hierarchy_level
|
|
@@ -1141,6 +1239,16 @@ msgstr ""
|
|
|
1141
1239
|
msgid "Line"
|
|
1142
1240
|
msgstr ""
|
|
1143
1241
|
|
|
1242
|
+
#. module: account_financial_report
|
|
1243
|
+
#: model:ir.model,name:account_financial_report.model_account_financial_report_column
|
|
1244
|
+
msgid "Manage column options in financial reports"
|
|
1245
|
+
msgstr ""
|
|
1246
|
+
|
|
1247
|
+
#. module: account_financial_report
|
|
1248
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_matching_number
|
|
1249
|
+
msgid "Matching number"
|
|
1250
|
+
msgstr ""
|
|
1251
|
+
|
|
1144
1252
|
#. module: account_financial_report
|
|
1145
1253
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1146
1254
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
@@ -1190,6 +1298,7 @@ msgstr ""
|
|
|
1190
1298
|
#: code:addons/account_financial_report/report/vat_report_xlsx.py:0
|
|
1191
1299
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__name
|
|
1192
1300
|
#: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__name
|
|
1301
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__name
|
|
1193
1302
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
|
|
1194
1303
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_taxes
|
|
1195
1304
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_vat_report_base
|
|
@@ -1333,6 +1442,7 @@ msgstr ""
|
|
|
1333
1442
|
|
|
1334
1443
|
#. module: account_financial_report
|
|
1335
1444
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1445
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_original
|
|
1336
1446
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
|
|
1337
1447
|
#, python-format
|
|
1338
1448
|
msgid "Original"
|
|
@@ -1345,6 +1455,9 @@ msgstr ""
|
|
|
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
|
|
@@ -1474,6 +1587,8 @@ msgstr ""
|
|
|
1474
1587
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
1475
1588
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
1476
1589
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1590
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_ref_label
|
|
1591
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_ref_label
|
|
1477
1592
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
1478
1593
|
#, python-format
|
|
1479
1594
|
msgid "Ref - Label"
|
|
@@ -1484,10 +1599,16 @@ msgstr ""
|
|
|
1484
1599
|
msgid "Report Action"
|
|
1485
1600
|
msgstr ""
|
|
1486
1601
|
|
|
1602
|
+
#. module: account_financial_report
|
|
1603
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__res_model
|
|
1604
|
+
msgid "Res Model"
|
|
1605
|
+
msgstr ""
|
|
1606
|
+
|
|
1487
1607
|
#. module: account_financial_report
|
|
1488
1608
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1489
1609
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1490
1610
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1611
|
+
#: model:account.financial.report.column,name:account_financial_report.open_items_report_wizard_column_residual
|
|
1491
1612
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_lines_header
|
|
1492
1613
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
|
|
1493
1614
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
|
|
@@ -1497,6 +1618,8 @@ msgstr ""
|
|
|
1497
1618
|
|
|
1498
1619
|
#. module: account_financial_report
|
|
1499
1620
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
1621
|
+
#: model:account.financial.report.column,name:account_financial_report.journal_ledger_report_wizard_column_sequence
|
|
1622
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__sequence
|
|
1500
1623
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
1501
1624
|
#, python-format
|
|
1502
1625
|
msgid "Sequence"
|
|
@@ -1506,6 +1629,7 @@ msgstr ""
|
|
|
1506
1629
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
1507
1630
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1508
1631
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
1632
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_column__is_visible
|
|
1509
1633
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_filters
|
|
1510
1634
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_filters
|
|
1511
1635
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
|
|
@@ -1687,6 +1811,7 @@ msgstr ""
|
|
|
1687
1811
|
#. module: account_financial_report
|
|
1688
1812
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
1689
1813
|
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
|
|
1814
|
+
#: model:account.financial.report.column,name:account_financial_report.general_ledger_report_wizard_column_taxes
|
|
1690
1815
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__taxes
|
|
1691
1816
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
|
|
1692
1817
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
|
|
@@ -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()
|
|
@@ -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.
|
|
@@ -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
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
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
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
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
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
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
|