odoo-addon-account-financial-report 15.0.2.9.2.3__py3-none-any.whl → 15.0.2.10.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 (29) hide show
  1. odoo/addons/account_financial_report/README.rst +36 -1
  2. odoo/addons/account_financial_report/__manifest__.py +4 -1
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +102 -4
  4. odoo/addons/account_financial_report/i18n/es.po +132 -84
  5. odoo/addons/account_financial_report/models/__init__.py +2 -0
  6. odoo/addons/account_financial_report/models/account_age_report_configuration.py +47 -0
  7. odoo/addons/account_financial_report/models/res_config_settings.py +14 -0
  8. odoo/addons/account_financial_report/readme/CONFIGURE.rst +26 -0
  9. odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +1 -0
  10. odoo/addons/account_financial_report/readme/DESCRIPTION.rst +4 -0
  11. odoo/addons/account_financial_report/report/aged_partner_balance.py +74 -8
  12. odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +145 -104
  13. odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +428 -333
  14. odoo/addons/account_financial_report/security/ir.model.access.csv +2 -0
  15. odoo/addons/account_financial_report/security/security.xml +10 -0
  16. odoo/addons/account_financial_report/static/description/index.html +45 -21
  17. odoo/addons/account_financial_report/tests/__init__.py +1 -0
  18. odoo/addons/account_financial_report/tests/test_age_report_configuration.py +41 -0
  19. odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +85 -4
  20. odoo/addons/account_financial_report/tests/test_general_ledger.py +5 -1
  21. odoo/addons/account_financial_report/tests/test_open_items.py +4 -1
  22. odoo/addons/account_financial_report/view/account_age_report_configuration_views.xml +44 -0
  23. odoo/addons/account_financial_report/view/res_config_settings_views.xml +56 -0
  24. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +4 -0
  25. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +2 -0
  26. {odoo_addon_account_financial_report-15.0.2.9.2.3.dist-info → odoo_addon_account_financial_report-15.0.2.10.0.dist-info}/METADATA +37 -2
  27. {odoo_addon_account_financial_report-15.0.2.9.2.3.dist-info → odoo_addon_account_financial_report-15.0.2.10.0.dist-info}/RECORD +29 -22
  28. {odoo_addon_account_financial_report-15.0.2.9.2.3.dist-info → odoo_addon_account_financial_report-15.0.2.10.0.dist-info}/WHEEL +0 -0
  29. {odoo_addon_account_financial_report-15.0.2.9.2.3.dist-info → odoo_addon_account_financial_report-15.0.2.10.0.dist-info}/top_level.txt +0 -0
@@ -53,6 +53,11 @@ msgstr "91 - 120 d."
53
53
  msgid "<b>Taxes summary</b>"
54
54
  msgstr "<b>Resumen de Impuestos</b>"
55
55
 
56
+ #. module: account_financial_report
57
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
58
+ msgid "<span class=\"o_form_label\">Intervals configuration</span>"
59
+ msgstr "<span class=\"o_form_label\">Configuración de intervalos</span>"
60
+
56
61
  #. module: account_financial_report
57
62
  #: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
58
63
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
@@ -92,6 +97,11 @@ msgstr "Extracto XLSX Account Financial Report"
92
97
  msgid "Account"
93
98
  msgstr "Cuenta"
94
99
 
100
+ #. module: account_financial_report
101
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__account_age_report_config_id
102
+ msgid "Account Age Report Config"
103
+ msgstr "Configuración del informe de calidad de deuda"
104
+
95
105
  #. module: account_financial_report
96
106
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__account_code_from
97
107
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__account_code_from
@@ -150,14 +160,17 @@ msgstr "Activar centralización"
150
160
  msgid "Additional Filtering"
151
161
  msgstr "Filtrado adicional"
152
162
 
163
+ #. module: account_financial_report
164
+ #: model:ir.actions.act_window,name:account_financial_report.action_aged_partner_report_configuration
165
+ msgid "Age Partner Report Configuration"
166
+ msgstr "Configuración Calidad de deuda"
167
+
153
168
  #. module: account_financial_report
154
169
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
155
170
  msgid ""
156
171
  "Age ≤ 120\n"
157
- " d."
172
+ " d."
158
173
  msgstr ""
159
- "Tiempo ≤ 120\n"
160
- " d."
161
174
 
162
175
  #. module: account_financial_report
163
176
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@@ -398,8 +411,21 @@ msgstr "Grupos Hijos"
398
411
  msgid "Code"
399
412
  msgstr "Código"
400
413
 
414
+ #. module: account_financial_report
415
+ #: code:addons/account_financial_report/models/account_age_report_configuration.py:0
416
+ #: model:ir.model.constraint,message:account_financial_report.constraint_account_age_report_configuration_line_unique_name_config_combination
417
+ #, python-format
418
+ msgid "Name must be unique per report configuration"
419
+ msgstr "El nombre debe ser único por cada configuración del informe"
420
+
421
+ #. module: account_financial_report
422
+ #: model:ir.model,name:account_financial_report.model_res_company
423
+ msgid "Companies"
424
+ msgstr "Compañías"
425
+
401
426
  #. module: account_financial_report
402
427
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
428
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__company_id
403
429
  #: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
404
430
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
405
431
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
@@ -417,6 +443,18 @@ msgid "Compute accounts"
417
443
  msgstr "Cuentas calculadas"
418
444
 
419
445
  #. module: account_financial_report
446
+ #: model:ir.model,name:account_financial_report.model_res_config_settings
447
+ msgid "Config Settings"
448
+ msgstr "Opciones de configuración"
449
+
450
+ #. module: account_financial_report
451
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
452
+ msgid "Configurations"
453
+ msgstr "Configuraciones"
454
+
455
+ #. module: account_financial_report
456
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_uid
457
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_uid
420
458
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_uid
421
459
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_uid
422
460
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_uid
@@ -427,6 +465,8 @@ msgid "Created by"
427
465
  msgstr "Creado por"
428
466
 
429
467
  #. module: account_financial_report
468
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__create_date
469
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__create_date
430
470
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__create_date
431
471
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__create_date
432
472
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__create_date
@@ -600,6 +640,8 @@ msgid "Detail Taxes"
600
640
  msgstr "Detalle de impuestos"
601
641
 
602
642
  #. module: account_financial_report
643
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__display_name
644
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__display_name
603
645
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
604
646
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
605
647
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
@@ -614,13 +656,11 @@ msgstr "Nombre mostrado"
614
656
  #: model:ir.model.fields,help:account_financial_report.field_open_items_report_wizard__foreign_currency
615
657
  #: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__foreign_currency
616
658
  msgid ""
617
- "Display foreign currency for move lines, unless account currency is not "
618
- "setup through chart of accounts will display initial and final balance in "
619
- "that currency."
659
+ "Display foreign currency for move lines, unless account currency is not setup through chart of accounts "
660
+ "will display initial and final balance in that currency."
620
661
  msgstr ""
621
- "Mostrar moneda extranjera para líneas de movimiento contable, a menos que la "
622
- "moneda de la cuenta no esté configurada a través del plan de cuentas "
623
- "mostrará el saldo inicial y final en esa moneda."
662
+ "Mostrar moneda extranjera para líneas de movimiento contable, a menos que la moneda de la cuenta no esté "
663
+ "configurada a través del plan de cuentas mostrará el saldo inicial y final en esa moneda."
624
664
 
625
665
  #. module: account_financial_report
626
666
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hide_parent_hierarchy_level
@@ -875,8 +915,7 @@ msgid ""
875
915
  " only one unaffected earnings account."
876
916
  msgstr ""
877
917
  "El Libro mayor solo se puede calcular si la empresa seleccionada tiene \n"
878
- " solo una "
879
- "cuenta de resultados no afectados."
918
+ " solo una cuenta de resultados no afectados."
880
919
 
881
920
  #. module: account_financial_report
882
921
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@@ -888,6 +927,13 @@ msgstr "Agrupar por"
888
927
  msgid "Grouped By"
889
928
  msgstr "Agrupado por"
890
929
 
930
+ #. module: account_financial_report
931
+ #: model:ir.model.fields,help:account_financial_report.field_res_company__age_partner_config_id
932
+ #: model:ir.model.fields,help:account_financial_report.field_res_config_settings__default_age_partner_config_id
933
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
934
+ msgid "Here you can set the intervals that will appear on the Aged Partner Balance."
935
+ msgstr "Aquí puede configurar los intervalos que aparecerán en el informe de Calidad de la deuda."
936
+
891
937
  #. module: account_financial_report
892
938
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
893
939
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
@@ -916,6 +962,8 @@ msgid "Hierarchy Levels to display"
916
962
  msgstr "Niveles de Jerarquía a mostrar"
917
963
 
918
964
  #. module: account_financial_report
965
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__id
966
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__id
919
967
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
920
968
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
921
969
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
@@ -923,16 +971,16 @@ msgstr "Niveles de Jerarquía a mostrar"
923
971
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__id
924
972
  #: model:ir.model.fields,field_description:account_financial_report.field_vat_report_wizard__id
925
973
  msgid "ID"
926
- msgstr "ID"
974
+ msgstr ""
927
975
 
928
976
  #. module: account_financial_report
929
977
  #: model:ir.model.fields,help:account_financial_report.field_account_account__centralized
930
978
  msgid ""
931
- "If flagged, no details will be displayed in the General Ledger report (the "
932
- "webkit one only), only centralized amounts per period."
979
+ "If flagged, no details will be displayed in the General Ledger report (the webkit one only), only "
980
+ "centralized amounts per period."
933
981
  msgstr ""
934
- "Si se marca, no se mostrarán detalles en el informe del libro mayor (solo el "
935
- "webkit), solo importes centralizados por período."
982
+ "Si se marca, no se mostrarán detalles en el informe del libro mayor (solo el webkit), solo importes "
983
+ "centralizados por período."
936
984
 
937
985
  #. module: account_financial_report
938
986
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_lines_header
@@ -960,6 +1008,13 @@ msgstr ""
960
1008
  msgid "Initial balance"
961
1009
  msgstr "Saldo inicial"
962
1010
 
1011
+ #. module: account_financial_report
1012
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__age_partner_config_id
1013
+ #: model:ir.model.fields,field_description:account_financial_report.field_res_company__age_partner_config_id
1014
+ #: model:ir.model.fields,field_description:account_financial_report.field_res_config_settings__default_age_partner_config_id
1015
+ msgid "Intervals configuration"
1016
+ msgstr "Configuración de intervalos"
1017
+
963
1018
  #. module: account_financial_report
964
1019
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
965
1020
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -1026,6 +1081,8 @@ msgid "Journals"
1026
1081
  msgstr "Diarios"
1027
1082
 
1028
1083
  #. module: account_financial_report
1084
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration____last_update
1085
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line____last_update
1029
1086
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
1030
1087
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
1031
1088
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
@@ -1036,6 +1093,8 @@ msgid "Last Modified on"
1036
1093
  msgstr "Última modificación en"
1037
1094
 
1038
1095
  #. module: account_financial_report
1096
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_uid
1097
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_uid
1039
1098
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_uid
1040
1099
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_uid
1041
1100
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_uid
@@ -1046,6 +1105,8 @@ msgid "Last Updated by"
1046
1105
  msgstr "Última actualización por"
1047
1106
 
1048
1107
  #. module: account_financial_report
1108
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__write_date
1109
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__write_date
1049
1110
  #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__write_date
1050
1111
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__write_date
1051
1112
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__write_date
@@ -1076,12 +1137,30 @@ msgid "Limit hierarchy levels"
1076
1137
  msgstr "Limitar niveles de jerarquía"
1077
1138
 
1078
1139
  #. module: account_financial_report
1079
- #: code:addons/account_financial_report/report/general_ledger.py:0
1080
- #: code:addons/account_financial_report/report/open_items.py:0
1081
- #: code:addons/account_financial_report/report/trial_balance.py:0
1140
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__line_ids
1141
+ msgid "Line"
1142
+ msgstr "Línea"
1143
+
1144
+ #. module: account_financial_report
1145
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__inferior_limit
1146
+ msgid "Inferior Limit"
1147
+ msgstr "Límite inferior"
1148
+
1149
+ #. module: account_financial_report
1150
+ #: code:addons/account_financial_report/models/account_age_report_configuration.py:0
1082
1151
  #, python-format
1083
- msgid "Missing Partner"
1084
- msgstr "Falta el Socio"
1152
+ msgid "Inferior Limit must be greather than zero"
1153
+ msgstr "El límite inferior debe ser mayor que cero"
1154
+
1155
+ #. module: account_financial_report
1156
+ #: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
1157
+ msgid "Model to set interval lines for Age partner balance report"
1158
+ msgstr "Modelo para establecer líneas de intervalo para el informe de Calidad de deuda"
1159
+
1160
+ #. module: account_financial_report
1161
+ #: model:ir.model,name:account_financial_report.model_account_age_report_configuration
1162
+ msgid "Model to set intervals for Age partner balance report"
1163
+ msgstr "Modelo para establecer intervalos en el informe de Calidad de deudaFalta el Socio"
1085
1164
 
1086
1165
  #. module: account_financial_report
1087
1166
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
@@ -1093,9 +1172,17 @@ msgstr "Asiento Objetivo"
1093
1172
  msgid "Moves"
1094
1173
  msgstr "Asientos"
1095
1174
 
1175
+ #. module: account_financial_report
1176
+ #: code:addons/account_financial_report/models/account_age_report_configuration.py:0
1177
+ #, python-format
1178
+ msgid "Must complete Configuration Lines"
1179
+ msgstr "Debe completar las líneas de configuración"
1180
+
1096
1181
  #. module: account_financial_report
1097
1182
  #: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
1098
1183
  #: code:addons/account_financial_report/report/vat_report_xlsx.py:0
1184
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration__name
1185
+ #: model:ir.model.fields,field_description:account_financial_report.field_account_age_report_configuration_line__name
1099
1186
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
1100
1187
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_taxes
1101
1188
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_vat_report_base
@@ -1154,6 +1241,11 @@ msgstr "Sin Postear"
1154
1241
  msgid "Not due"
1155
1242
  msgstr "Deuda"
1156
1243
 
1244
+ #. module: account_financial_report
1245
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
1246
+ msgid "OCA Aged Report Configuration"
1247
+ msgstr "Configuración del informe Calidad de deuda OCA"
1248
+
1157
1249
  #. module: account_financial_report
1158
1250
  #: model:ir.ui.menu,name:account_financial_report.menu_oca_reports
1159
1251
  msgid "OCA accounting reports"
@@ -1566,31 +1658,22 @@ msgstr "Impuestos"
1566
1658
  #. module: account_financial_report
1567
1659
  #: code:addons/account_financial_report/wizard/general_ledger_wizard.py:0
1568
1660
  #, python-format
1569
- msgid ""
1570
- "The Company in the General Ledger Report Wizard and in Date Range must be "
1571
- "the same."
1661
+ msgid "The Company in the General Ledger Report Wizard and in Date Range must be the same."
1572
1662
  msgstr ""
1573
- "La empresa en el Asistente de informe de Contabilidad General y de rango de "
1574
- "fechas debe ser la misma."
1663
+ "La empresa en el Asistente de informe de Contabilidad General y de rango de fechas debe ser la misma."
1575
1664
 
1576
1665
  #. module: account_financial_report
1577
1666
  #: code:addons/account_financial_report/wizard/trial_balance_wizard.py:0
1578
1667
  #, python-format
1579
- msgid ""
1580
- "The Company in the Trial Balance Report Wizard and in Date Range must be the "
1581
- "same."
1668
+ msgid "The Company in the Trial Balance Report Wizard and in Date Range must be the same."
1582
1669
  msgstr ""
1583
- "La empresa en el Asistente de informe de Balance de comprobación y en rango "
1584
- "de fechas debe ser la misma."
1670
+ "La empresa en el Asistente de informe de Balance de comprobación y en rango de fechas debe ser la misma."
1585
1671
 
1586
1672
  #. module: account_financial_report
1587
1673
  #: code:addons/account_financial_report/wizard/vat_report_wizard.py:0
1588
1674
  #, python-format
1589
- msgid ""
1590
- "The Company in the Vat Report Wizard and in Date Range must be the same."
1591
- msgstr ""
1592
- "La empresa en el Asistente para informes de IVA y en rango de fechas debe "
1593
- "ser la misma."
1675
+ msgid "The Company in the Vat Report Wizard and in Date Range must be the same."
1676
+ msgstr "La empresa en el Asistente para informes de IVA y en rango de fechas debe ser la misma."
1594
1677
 
1595
1678
  #. module: account_financial_report
1596
1679
  #: code:addons/account_financial_report/wizard/trial_balance_wizard.py:0
@@ -1601,9 +1684,7 @@ msgstr "El nivel de jerarquía a filtrar debe ser mayor que 0."
1601
1684
  #. module: account_financial_report
1602
1685
  #: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
1603
1686
  msgid "This domain will be used to select specific domain for Journal Items"
1604
- msgstr ""
1605
- "Este dominio se usará para seleccionar dominios específicos para Apuntes "
1606
- "Contables"
1687
+ msgstr "Este dominio se usará para seleccionar dominios específicos para Apuntes Contables"
1607
1688
 
1608
1689
  #. module: account_financial_report
1609
1690
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@@ -1618,7 +1699,7 @@ msgstr "A:"
1618
1699
  #. module: account_financial_report
1619
1700
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_account_ending_cumul
1620
1701
  msgid "Total"
1621
- msgstr "Total"
1702
+ msgstr ""
1622
1703
 
1623
1704
  #. module: account_financial_report
1624
1705
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
@@ -1661,10 +1742,8 @@ msgid ""
1661
1742
  "Trial Balance can be computed only if selected company have only\n"
1662
1743
  " one unaffected earnings account."
1663
1744
  msgstr ""
1664
- "El balance de sumas y saldos solo puede calcularse si la compañía "
1665
- "seleccionada tiene una y solo \n"
1666
- " una cuenta de "
1667
- "ganancias."
1745
+ "El balance de sumas y saldos solo puede calcularse si la compañía seleccionada tiene una y solo \n"
1746
+ " una cuenta de ganancias."
1668
1747
 
1669
1748
  #. module: account_financial_report
1670
1749
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@@ -1676,10 +1755,11 @@ msgstr "Cuenta de Ganancias No Afectadas"
1676
1755
  #: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__hide_account_at_0
1677
1756
  #: model:ir.model.fields,help:account_financial_report.field_open_items_report_wizard__hide_account_at_0
1678
1757
  msgid ""
1679
- "Use this filter to hide an account or a partner with an ending balance at 0. "
1680
- "If partners are filtered, debits and credits totals will not match the trial "
1681
- "balance."
1682
- msgstr "Use este filtro para ocultar las cuentas sin actividad."
1758
+ "Use this filter to hide an account or a partner with an ending balance at 0. If partners are filtered, "
1759
+ "debits and credits totals will not match the trial balance."
1760
+ msgstr ""
1761
+ "Use este filtro para ocultar las cuentas o empresas con saldo final 0. Si las empresas se filtran, los "
1762
+ "debe y haber totales no coincidirán con el balance de sumas y saldos."
1683
1763
 
1684
1764
  #. module: account_financial_report
1685
1765
  #: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
@@ -1743,11 +1823,11 @@ msgstr "Ver"
1743
1823
  #. module: account_financial_report
1744
1824
  #: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__hide_account_at_0
1745
1825
  msgid ""
1746
- "When this option is enabled, the trial balance will not display accounts "
1747
- "that have initial balance = debit = credit = end balance = 0"
1826
+ "When this option is enabled, the trial balance will not display accounts that have initial balance = debit "
1827
+ "= credit = end balance = 0"
1748
1828
  msgstr ""
1749
- "Cuando habilite esta opción el balance de sumas y saldos no va a mostrar "
1750
- "cuentas que tengan saldo inicial = débito = crédito = saldo final = 0"
1829
+ "Cuando habilite esta opción el balance de sumas y saldos no va a mostrar cuentas que tengan saldo inicial "
1830
+ "= débito = crédito = saldo final = 0"
1751
1831
 
1752
1832
  #. module: account_financial_report
1753
1833
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__with_account_name
@@ -1818,35 +1898,3 @@ msgstr "ancho: 38.92%;"
1818
1898
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
1819
1899
  msgid "width: 8.11%;"
1820
1900
  msgstr "ancho: 8.11%;"
1821
-
1822
- #~ msgid "Child Accounts"
1823
- #~ msgstr "Cuentas Hijas"
1824
-
1825
- #~ msgid "Computed Accounts"
1826
- #~ msgstr "Cuentas Calculadas"
1827
-
1828
- #~ msgid ""
1829
- #~ "Computed Accounts: Use when the account group have codes\n"
1830
- #~ " that represent prefixes of the actual accounts.\n"
1831
- #~ "\n"
1832
- #~ " Child Accounts: Use when your account groups are hierarchical.\n"
1833
- #~ "\n"
1834
- #~ " No hierarchy: Use to display just the accounts, without any "
1835
- #~ "grouping.\n"
1836
- #~ " "
1837
- #~ msgstr ""
1838
- #~ "Cuentas Calculadas: Usar cuando el grupo de cuentas tiene códigos \n"
1839
- #~ " que representan prefijos de las cuentas reales.\n"
1840
- #~ "\n"
1841
- #~ " Cuentas Hijas: Usar cuando los grupos de cuentas son "
1842
- #~ "jerárquicos.\n"
1843
- #~ "\n"
1844
- #~ " Sin jerarquía: Usar para mostrar sólo las cuentas, sin ninguna "
1845
- #~ "agrupación.\n"
1846
- #~ " "
1847
-
1848
- #~ msgid "Hierarchy On"
1849
- #~ msgstr "Jerarquía en"
1850
-
1851
- #~ msgid "No hierarchy"
1852
- #~ msgstr "Sin jerarquía"
@@ -1,4 +1,6 @@
1
+ from . import account_age_report_configuration
1
2
  from . import account_group
2
3
  from . import account
3
4
  from . import account_move_line
4
5
  from . import ir_actions_report
6
+ from . import res_config_settings
@@ -0,0 +1,47 @@
1
+ # Copyright 2023 Ernesto García
2
+ # Copyright 2023 Carolina Fernandez
3
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
4
+ from odoo import _, api, fields, models
5
+ from odoo.exceptions import ValidationError
6
+
7
+
8
+ class AccountAgeReportConfiguration(models.Model):
9
+ _name = "account.age.report.configuration"
10
+ _description = "Model to set intervals for Age partner balance report"
11
+
12
+ name = fields.Char(required=True)
13
+ company_id = fields.Many2one(
14
+ "res.company", default=lambda self: self.env.company, readonly=True
15
+ )
16
+ line_ids = fields.One2many(
17
+ "account.age.report.configuration.line", "account_age_report_config_id"
18
+ )
19
+
20
+ @api.constrains("line_ids")
21
+ def _check_line_ids(self):
22
+ for rec in self:
23
+ if not rec.line_ids:
24
+ raise ValidationError(_("Must complete Configuration Lines"))
25
+
26
+
27
+ class AccountAgeReportConfigurationLine(models.Model):
28
+ _name = "account.age.report.configuration.line"
29
+ _description = "Model to set interval lines for Age partner balance report"
30
+
31
+ name = fields.Char(required=True)
32
+ account_age_report_config_id = fields.Many2one("account.age.report.configuration")
33
+ inferior_limit = fields.Integer()
34
+
35
+ @api.constrains("inferior_limit")
36
+ def _check_inferior_limit(self):
37
+ for rec in self:
38
+ if rec.inferior_limit <= 0:
39
+ raise ValidationError(_("Inferior Limit must be greather than zero"))
40
+
41
+ _sql_constraints = [
42
+ (
43
+ "unique_name_config_combination",
44
+ "UNIQUE(name,account_age_report_config_id)",
45
+ _("Name must be unique per report configuration"),
46
+ )
47
+ ]
@@ -0,0 +1,14 @@
1
+ # Copyright 2023 Tecnativa - Carolina Fernandez
2
+ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
3
+
4
+ from odoo import fields, models
5
+
6
+
7
+ class ResConfigSettings(models.TransientModel):
8
+ _inherit = "res.config.settings"
9
+
10
+ default_age_partner_config_id = fields.Many2one(
11
+ "account.age.report.configuration",
12
+ string="Intervals configuration",
13
+ default_model="aged.partner.balance.report.wizard",
14
+ )
@@ -0,0 +1,26 @@
1
+ To configure dynamic intervals for Aged Partner Balance you need to:
2
+
3
+ Go on 'Settings' -> 'Invoicing' -> 'OCA Aged Report Configuration'.
4
+
5
+ Click on option 'Configurations' and create new record.
6
+
7
+ Create new interval.
8
+ The name established on line will be the column to display in Aged Partner Balance.
9
+ Inferior limit established on line is the interval
10
+
11
+ Example of configuration inferior limit:
12
+
13
+ -> 15
14
+ -> 30
15
+ -> 60
16
+
17
+ It means the first interval is from 0 to 15, the second from 16 to 30, and the third is 61+.
18
+
19
+ Go on 'Invoicing' -> 'Reports' -> 'OCA accounting reports' -> 'Aged Partner Balance'
20
+
21
+ When wizard is open, you need to select your interval configuration and print report.
22
+
23
+ If you want to get default interval configuration any time you wish to print Aged Partner Report,
24
+ you can set default interval configuration per company in:
25
+
26
+ 'Settings' -> 'Invoicing' -> 'OCA Aged Report Configuration'.
@@ -24,6 +24,7 @@
24
24
  * João Marques
25
25
  * Alexandre D. Díaz
26
26
  * Víctor Martínez
27
+ * Carolina Fernandez
27
28
 
28
29
  * `Sygel <https://www.sygel.es>`__:
29
30
 
@@ -14,3 +14,7 @@ currency used in account move lines is properly shown.
14
14
 
15
15
  In case that in an account has not been configured a second currency foreign
16
16
  currency balances are not available.
17
+
18
+ Invoicing / Settings / Invoicing / OCA Aged Report Configuration you will be able to set
19
+ dynamic intervals that will appear on the Aged Partner Balance.
20
+ For further information, check CONFIGURE.rst