odoo-addon-account-financial-report 15.0.2.11.0__py3-none-any.whl → 15.0.2.12.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 +1 -1
- odoo/addons/account_financial_report/__manifest__.py +1 -1
- odoo/addons/account_financial_report/i18n/account_financial_report.pot +26 -3
- odoo/addons/account_financial_report/i18n/ar.po +14 -0
- odoo/addons/account_financial_report/i18n/ca.po +14 -0
- odoo/addons/account_financial_report/i18n/da.po +14 -0
- odoo/addons/account_financial_report/i18n/de.po +14 -0
- odoo/addons/account_financial_report/i18n/es.po +1 -0
- odoo/addons/account_financial_report/i18n/es_AR.po +14 -0
- odoo/addons/account_financial_report/i18n/es_MX.po +14 -0
- odoo/addons/account_financial_report/i18n/fr.po +14 -0
- odoo/addons/account_financial_report/i18n/fr_CH.po +14 -0
- odoo/addons/account_financial_report/i18n/fr_FR.po +14 -0
- odoo/addons/account_financial_report/i18n/hr.po +16 -2
- odoo/addons/account_financial_report/i18n/hr_HR.po +16 -2
- odoo/addons/account_financial_report/i18n/it.po +14 -0
- odoo/addons/account_financial_report/i18n/ja.po +14 -0
- odoo/addons/account_financial_report/i18n/nl.po +14 -0
- odoo/addons/account_financial_report/i18n/nl_NL.po +14 -0
- odoo/addons/account_financial_report/i18n/pt.po +14 -0
- odoo/addons/account_financial_report/i18n/pt_BR.po +14 -0
- odoo/addons/account_financial_report/i18n/ro.po +14 -0
- odoo/addons/account_financial_report/report/aged_partner_balance.py +39 -0
- odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +9 -4
- odoo/addons/account_financial_report/report/open_items.py +45 -1
- odoo/addons/account_financial_report/report/open_items_xlsx.py +12 -7
- odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +77 -27
- odoo/addons/account_financial_report/report/templates/open_items.xml +38 -7
- odoo/addons/account_financial_report/static/description/index.html +1 -1
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +28 -2
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +12 -0
- odoo/addons/account_financial_report/wizard/open_items_wizard.py +23 -1
- odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +12 -0
- {odoo_addon_account_financial_report-15.0.2.11.0.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.dist-info}/METADATA +2 -2
- {odoo_addon_account_financial_report-15.0.2.11.0.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.dist-info}/RECORD +37 -37
- {odoo_addon_account_financial_report-15.0.2.11.0.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-15.0.2.11.0.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.dist-info}/top_level.txt +0 -0
|
@@ -916,6 +916,7 @@ msgstr "Raggruppa registrazioni per"
|
|
|
916
916
|
|
|
917
917
|
#. module: account_financial_report
|
|
918
918
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
919
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
919
920
|
msgid "Grouped By"
|
|
920
921
|
msgstr ""
|
|
921
922
|
|
|
@@ -1144,11 +1145,18 @@ msgstr "Riga"
|
|
|
1144
1145
|
#. module: account_financial_report
|
|
1145
1146
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1146
1147
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1148
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1147
1149
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1148
1150
|
#, python-format
|
|
1149
1151
|
msgid "Missing Partner"
|
|
1150
1152
|
msgstr ""
|
|
1151
1153
|
|
|
1154
|
+
#. module: account_financial_report
|
|
1155
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1156
|
+
#, python-format
|
|
1157
|
+
msgid "Missing Salesperson"
|
|
1158
|
+
msgstr ""
|
|
1159
|
+
|
|
1152
1160
|
#. module: account_financial_report
|
|
1153
1161
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1154
1162
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1348,6 +1356,11 @@ msgstr ""
|
|
|
1348
1356
|
msgid "Partner Initial balance"
|
|
1349
1357
|
msgstr "Partner - Saldo iniziale"
|
|
1350
1358
|
|
|
1359
|
+
#. module: account_financial_report
|
|
1360
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1361
|
+
msgid "Partner Salesperson"
|
|
1362
|
+
msgstr ""
|
|
1363
|
+
|
|
1351
1364
|
#. module: account_financial_report
|
|
1352
1365
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1353
1366
|
#, python-format
|
|
@@ -1370,6 +1383,7 @@ msgstr ""
|
|
|
1370
1383
|
|
|
1371
1384
|
#. module: account_financial_report
|
|
1372
1385
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1386
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1373
1387
|
msgid "Partners"
|
|
1374
1388
|
msgstr ""
|
|
1375
1389
|
|
|
@@ -897,6 +897,7 @@ msgstr ""
|
|
|
897
897
|
|
|
898
898
|
#. module: account_financial_report
|
|
899
899
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
900
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
900
901
|
msgid "Grouped By"
|
|
901
902
|
msgstr ""
|
|
902
903
|
|
|
@@ -1120,11 +1121,18 @@ msgstr ""
|
|
|
1120
1121
|
#. module: account_financial_report
|
|
1121
1122
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1122
1123
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1124
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1123
1125
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1124
1126
|
#, python-format
|
|
1125
1127
|
msgid "Missing Partner"
|
|
1126
1128
|
msgstr ""
|
|
1127
1129
|
|
|
1130
|
+
#. module: account_financial_report
|
|
1131
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1132
|
+
#, python-format
|
|
1133
|
+
msgid "Missing Salesperson"
|
|
1134
|
+
msgstr ""
|
|
1135
|
+
|
|
1128
1136
|
#. module: account_financial_report
|
|
1129
1137
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1130
1138
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1319,6 +1327,11 @@ msgstr ""
|
|
|
1319
1327
|
msgid "Partner Initial balance"
|
|
1320
1328
|
msgstr ""
|
|
1321
1329
|
|
|
1330
|
+
#. module: account_financial_report
|
|
1331
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1332
|
+
msgid "Partner Salesperson"
|
|
1333
|
+
msgstr ""
|
|
1334
|
+
|
|
1322
1335
|
#. module: account_financial_report
|
|
1323
1336
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1324
1337
|
#, python-format
|
|
@@ -1341,6 +1354,7 @@ msgstr ""
|
|
|
1341
1354
|
|
|
1342
1355
|
#. module: account_financial_report
|
|
1343
1356
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1357
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1344
1358
|
msgid "Partners"
|
|
1345
1359
|
msgstr ""
|
|
1346
1360
|
|
|
@@ -924,6 +924,7 @@ msgstr "Groepeer boekingen per"
|
|
|
924
924
|
|
|
925
925
|
#. module: account_financial_report
|
|
926
926
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
927
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
927
928
|
msgid "Grouped By"
|
|
928
929
|
msgstr ""
|
|
929
930
|
|
|
@@ -1159,11 +1160,18 @@ msgstr "Regel"
|
|
|
1159
1160
|
#. module: account_financial_report
|
|
1160
1161
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1161
1162
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1163
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1162
1164
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1163
1165
|
#, python-format
|
|
1164
1166
|
msgid "Missing Partner"
|
|
1165
1167
|
msgstr ""
|
|
1166
1168
|
|
|
1169
|
+
#. module: account_financial_report
|
|
1170
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1171
|
+
#, python-format
|
|
1172
|
+
msgid "Missing Salesperson"
|
|
1173
|
+
msgstr ""
|
|
1174
|
+
|
|
1167
1175
|
#. module: account_financial_report
|
|
1168
1176
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1169
1177
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1364,6 +1372,11 @@ msgstr ""
|
|
|
1364
1372
|
msgid "Partner Initial balance"
|
|
1365
1373
|
msgstr "Relatiebeginsaldo"
|
|
1366
1374
|
|
|
1375
|
+
#. module: account_financial_report
|
|
1376
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1377
|
+
msgid "Partner Salesperson"
|
|
1378
|
+
msgstr ""
|
|
1379
|
+
|
|
1367
1380
|
#. module: account_financial_report
|
|
1368
1381
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1369
1382
|
#, python-format
|
|
@@ -1386,6 +1399,7 @@ msgstr ""
|
|
|
1386
1399
|
|
|
1387
1400
|
#. module: account_financial_report
|
|
1388
1401
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1402
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1389
1403
|
msgid "Partners"
|
|
1390
1404
|
msgstr ""
|
|
1391
1405
|
|
|
@@ -903,6 +903,7 @@ msgstr ""
|
|
|
903
903
|
|
|
904
904
|
#. module: account_financial_report
|
|
905
905
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
906
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
906
907
|
msgid "Grouped By"
|
|
907
908
|
msgstr ""
|
|
908
909
|
|
|
@@ -1126,11 +1127,18 @@ msgstr ""
|
|
|
1126
1127
|
#. module: account_financial_report
|
|
1127
1128
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1128
1129
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1130
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1129
1131
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1130
1132
|
#, python-format
|
|
1131
1133
|
msgid "Missing Partner"
|
|
1132
1134
|
msgstr ""
|
|
1133
1135
|
|
|
1136
|
+
#. module: account_financial_report
|
|
1137
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1138
|
+
#, python-format
|
|
1139
|
+
msgid "Missing Salesperson"
|
|
1140
|
+
msgstr ""
|
|
1141
|
+
|
|
1134
1142
|
#. module: account_financial_report
|
|
1135
1143
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1136
1144
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1325,6 +1333,11 @@ msgstr ""
|
|
|
1325
1333
|
msgid "Partner Initial balance"
|
|
1326
1334
|
msgstr ""
|
|
1327
1335
|
|
|
1336
|
+
#. module: account_financial_report
|
|
1337
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1338
|
+
msgid "Partner Salesperson"
|
|
1339
|
+
msgstr ""
|
|
1340
|
+
|
|
1328
1341
|
#. module: account_financial_report
|
|
1329
1342
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1330
1343
|
#, python-format
|
|
@@ -1347,6 +1360,7 @@ msgstr ""
|
|
|
1347
1360
|
|
|
1348
1361
|
#. module: account_financial_report
|
|
1349
1362
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1363
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1350
1364
|
msgid "Partners"
|
|
1351
1365
|
msgstr ""
|
|
1352
1366
|
|
|
@@ -902,6 +902,7 @@ msgstr "Agrupar movimentos por"
|
|
|
902
902
|
|
|
903
903
|
#. module: account_financial_report
|
|
904
904
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
905
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
905
906
|
msgid "Grouped By"
|
|
906
907
|
msgstr ""
|
|
907
908
|
|
|
@@ -1129,11 +1130,18 @@ msgstr ""
|
|
|
1129
1130
|
#. module: account_financial_report
|
|
1130
1131
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1131
1132
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1133
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1132
1134
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1133
1135
|
#, python-format
|
|
1134
1136
|
msgid "Missing Partner"
|
|
1135
1137
|
msgstr ""
|
|
1136
1138
|
|
|
1139
|
+
#. module: account_financial_report
|
|
1140
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1141
|
+
#, python-format
|
|
1142
|
+
msgid "Missing Salesperson"
|
|
1143
|
+
msgstr ""
|
|
1144
|
+
|
|
1137
1145
|
#. module: account_financial_report
|
|
1138
1146
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1139
1147
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1330,6 +1338,11 @@ msgstr ""
|
|
|
1330
1338
|
msgid "Partner Initial balance"
|
|
1331
1339
|
msgstr "Saldo inicial de Parceiro"
|
|
1332
1340
|
|
|
1341
|
+
#. module: account_financial_report
|
|
1342
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1343
|
+
msgid "Partner Salesperson"
|
|
1344
|
+
msgstr ""
|
|
1345
|
+
|
|
1333
1346
|
#. module: account_financial_report
|
|
1334
1347
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1335
1348
|
#, python-format
|
|
@@ -1352,6 +1365,7 @@ msgstr ""
|
|
|
1352
1365
|
|
|
1353
1366
|
#. module: account_financial_report
|
|
1354
1367
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1368
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1355
1369
|
msgid "Partners"
|
|
1356
1370
|
msgstr ""
|
|
1357
1371
|
|
|
@@ -917,6 +917,7 @@ msgstr "Agrupar lançamentos por"
|
|
|
917
917
|
|
|
918
918
|
#. module: account_financial_report
|
|
919
919
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
920
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
920
921
|
msgid "Grouped By"
|
|
921
922
|
msgstr ""
|
|
922
923
|
|
|
@@ -1149,11 +1150,18 @@ msgstr "Linha"
|
|
|
1149
1150
|
#. module: account_financial_report
|
|
1150
1151
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1151
1152
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1153
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1152
1154
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1153
1155
|
#, python-format
|
|
1154
1156
|
msgid "Missing Partner"
|
|
1155
1157
|
msgstr ""
|
|
1156
1158
|
|
|
1159
|
+
#. module: account_financial_report
|
|
1160
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1161
|
+
#, python-format
|
|
1162
|
+
msgid "Missing Salesperson"
|
|
1163
|
+
msgstr ""
|
|
1164
|
+
|
|
1157
1165
|
#. module: account_financial_report
|
|
1158
1166
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1159
1167
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1352,6 +1360,11 @@ msgstr ""
|
|
|
1352
1360
|
msgid "Partner Initial balance"
|
|
1353
1361
|
msgstr "Saldo inicial do parceiro"
|
|
1354
1362
|
|
|
1363
|
+
#. module: account_financial_report
|
|
1364
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1365
|
+
msgid "Partner Salesperson"
|
|
1366
|
+
msgstr ""
|
|
1367
|
+
|
|
1355
1368
|
#. module: account_financial_report
|
|
1356
1369
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1357
1370
|
#, python-format
|
|
@@ -1374,6 +1387,7 @@ msgstr ""
|
|
|
1374
1387
|
|
|
1375
1388
|
#. module: account_financial_report
|
|
1376
1389
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1390
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1377
1391
|
msgid "Partners"
|
|
1378
1392
|
msgstr ""
|
|
1379
1393
|
|
|
@@ -907,6 +907,7 @@ msgstr "Intrări de grup după"
|
|
|
907
907
|
|
|
908
908
|
#. module: account_financial_report
|
|
909
909
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
910
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
910
911
|
msgid "Grouped By"
|
|
911
912
|
msgstr ""
|
|
912
913
|
|
|
@@ -1136,11 +1137,18 @@ msgstr "Linie"
|
|
|
1136
1137
|
#. module: account_financial_report
|
|
1137
1138
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1138
1139
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1140
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1139
1141
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1140
1142
|
#, python-format
|
|
1141
1143
|
msgid "Missing Partner"
|
|
1142
1144
|
msgstr ""
|
|
1143
1145
|
|
|
1146
|
+
#. module: account_financial_report
|
|
1147
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1148
|
+
#, python-format
|
|
1149
|
+
msgid "Missing Salesperson"
|
|
1150
|
+
msgstr ""
|
|
1151
|
+
|
|
1144
1152
|
#. module: account_financial_report
|
|
1145
1153
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1146
1154
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1335,6 +1343,11 @@ msgstr ""
|
|
|
1335
1343
|
msgid "Partner Initial balance"
|
|
1336
1344
|
msgstr "Sold inițial partener"
|
|
1337
1345
|
|
|
1346
|
+
#. module: account_financial_report
|
|
1347
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1348
|
+
msgid "Partner Salesperson"
|
|
1349
|
+
msgstr ""
|
|
1350
|
+
|
|
1338
1351
|
#. module: account_financial_report
|
|
1339
1352
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
1340
1353
|
#, python-format
|
|
@@ -1357,6 +1370,7 @@ msgstr ""
|
|
|
1357
1370
|
|
|
1358
1371
|
#. module: account_financial_report
|
|
1359
1372
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1373
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1360
1374
|
msgid "Partners"
|
|
1361
1375
|
msgstr ""
|
|
1362
1376
|
|
|
@@ -6,6 +6,7 @@ import operator
|
|
|
6
6
|
from datetime import date, datetime, timedelta
|
|
7
7
|
|
|
8
8
|
from odoo import api, models
|
|
9
|
+
from odoo.osv import expression
|
|
9
10
|
from odoo.tools import float_is_zero
|
|
10
11
|
|
|
11
12
|
|
|
@@ -148,10 +149,38 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
148
149
|
date_from,
|
|
149
150
|
only_posted_moves,
|
|
150
151
|
show_move_line_details,
|
|
152
|
+
analytic_account_ids,
|
|
153
|
+
no_analytic,
|
|
151
154
|
):
|
|
152
155
|
domain = self._get_move_lines_domain_not_reconciled(
|
|
153
156
|
company_id, account_ids, partner_ids, only_posted_moves, date_from
|
|
154
157
|
)
|
|
158
|
+
if no_analytic:
|
|
159
|
+
domain = expression.AND(
|
|
160
|
+
[
|
|
161
|
+
domain,
|
|
162
|
+
[
|
|
163
|
+
(
|
|
164
|
+
"analytic_account_id",
|
|
165
|
+
"=",
|
|
166
|
+
False,
|
|
167
|
+
)
|
|
168
|
+
],
|
|
169
|
+
]
|
|
170
|
+
)
|
|
171
|
+
elif analytic_account_ids:
|
|
172
|
+
domain = expression.AND(
|
|
173
|
+
[
|
|
174
|
+
domain,
|
|
175
|
+
[
|
|
176
|
+
(
|
|
177
|
+
"analytic_account_id",
|
|
178
|
+
"in",
|
|
179
|
+
analytic_account_ids,
|
|
180
|
+
)
|
|
181
|
+
],
|
|
182
|
+
]
|
|
183
|
+
)
|
|
155
184
|
ml_fields = self._get_ml_fields()
|
|
156
185
|
line_model = self.env["account.move.line"]
|
|
157
186
|
move_lines = line_model.search_read(domain=domain, fields=ml_fields)
|
|
@@ -224,6 +253,10 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
224
253
|
ref_label = move_line["ref"]
|
|
225
254
|
else:
|
|
226
255
|
ref_label = move_line["ref"] + str(" - ") + move_line["name"]
|
|
256
|
+
if move_line["analytic_account_id"]:
|
|
257
|
+
analytic = move_line["analytic_account_id"][1]
|
|
258
|
+
else:
|
|
259
|
+
analytic = False
|
|
227
260
|
move_line_data.update(
|
|
228
261
|
{
|
|
229
262
|
"line_rec": line_model.browse(move_line["id"]),
|
|
@@ -235,6 +268,7 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
235
268
|
"ref_label": ref_label,
|
|
236
269
|
"due_date": move_line["date_maturity"],
|
|
237
270
|
"residual": move_line["amount_residual"],
|
|
271
|
+
"analytic_account_id": analytic,
|
|
238
272
|
}
|
|
239
273
|
)
|
|
240
274
|
ag_pb_data[acc_id][prt_id]["move_lines"].append(move_line_data)
|
|
@@ -416,6 +450,8 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
416
450
|
aged_partner_configuration = self.env[
|
|
417
451
|
"account.age.report.configuration"
|
|
418
452
|
].browse(data["age_partner_config_id"])
|
|
453
|
+
analytic_account_ids = data["analytic_account_ids"]
|
|
454
|
+
no_analytic = data["no_analytic"]
|
|
419
455
|
(ag_pb_data, accounts_data, partners_data, journals_data,) = self.with_context(
|
|
420
456
|
age_partner_config=aged_partner_configuration
|
|
421
457
|
)._get_move_lines_data(
|
|
@@ -426,6 +462,8 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
426
462
|
date_from,
|
|
427
463
|
only_posted_moves,
|
|
428
464
|
show_move_line_details,
|
|
465
|
+
analytic_account_ids,
|
|
466
|
+
no_analytic,
|
|
429
467
|
)
|
|
430
468
|
aged_partner_data = self.with_context(
|
|
431
469
|
age_partner_config=aged_partner_configuration
|
|
@@ -458,4 +496,5 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
458
496
|
"amount_residual",
|
|
459
497
|
"reconciled",
|
|
460
498
|
"date_maturity",
|
|
499
|
+
"analytic_account_id",
|
|
461
500
|
]
|
|
@@ -104,9 +104,14 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
|
|
|
104
104
|
2: {"header": _("Journal"), "field": "journal", "width": 8},
|
|
105
105
|
3: {"header": _("Account"), "field": "account", "width": 9},
|
|
106
106
|
4: {"header": _("Partner"), "field": "partner", "width": 25},
|
|
107
|
-
5: {
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
5: {
|
|
108
|
+
"header": _("Analytic Account"),
|
|
109
|
+
"field": "analytic_account_id",
|
|
110
|
+
"width": 25,
|
|
111
|
+
},
|
|
112
|
+
6: {"header": _("Ref - Label"), "field": "ref_label", "width": 40},
|
|
113
|
+
7: {"header": _("Due date"), "field": "due_date", "width": 11},
|
|
114
|
+
8: {
|
|
110
115
|
"header": _("Residual"),
|
|
111
116
|
"field": "residual",
|
|
112
117
|
"field_footer_total": "residual",
|
|
@@ -114,7 +119,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
|
|
|
114
119
|
"type": "amount",
|
|
115
120
|
"width": 14,
|
|
116
121
|
},
|
|
117
|
-
|
|
122
|
+
9: {
|
|
118
123
|
"header": _("Current"),
|
|
119
124
|
"field": "current",
|
|
120
125
|
"field_footer_total": "current",
|
|
@@ -7,6 +7,7 @@ import operator
|
|
|
7
7
|
from datetime import date, datetime
|
|
8
8
|
|
|
9
9
|
from odoo import _, api, models
|
|
10
|
+
from odoo.osv import expression
|
|
10
11
|
from odoo.tools import float_is_zero
|
|
11
12
|
|
|
12
13
|
|
|
@@ -68,10 +69,14 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
68
69
|
company_id,
|
|
69
70
|
date_from,
|
|
70
71
|
grouped_by,
|
|
72
|
+
analytic_account_ids,
|
|
73
|
+
no_analytic,
|
|
71
74
|
):
|
|
72
75
|
domain = self._get_move_lines_domain_not_reconciled(
|
|
73
76
|
company_id, account_ids, partner_ids, only_posted_moves, date_from
|
|
74
77
|
)
|
|
78
|
+
# moved out to avoid too complex method error
|
|
79
|
+
domain = self.get_analytic_domain(domain, analytic_account_ids, no_analytic)
|
|
75
80
|
ml_fields = self._get_ml_fields()
|
|
76
81
|
move_lines = self.env["account.move.line"].search_read(
|
|
77
82
|
domain=domain, fields=ml_fields
|
|
@@ -148,7 +153,10 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
148
153
|
ref_label = move_line["ref"]
|
|
149
154
|
else:
|
|
150
155
|
ref_label = move_line["ref"] + str(" - ") + move_line["name"]
|
|
151
|
-
|
|
156
|
+
if analytic_account_ids and move_line["analytic_account_id"]:
|
|
157
|
+
analytic_account_id = move_line["analytic_account_id"][1]
|
|
158
|
+
else:
|
|
159
|
+
analytic_account_id = False
|
|
152
160
|
move_line.update(
|
|
153
161
|
{
|
|
154
162
|
"date": move_line["date"],
|
|
@@ -167,6 +175,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
167
175
|
"currency_name": move_line["currency_id"][1]
|
|
168
176
|
if move_line["currency_id"]
|
|
169
177
|
else False,
|
|
178
|
+
"analytic_account_id": analytic_account_id,
|
|
170
179
|
}
|
|
171
180
|
)
|
|
172
181
|
|
|
@@ -247,6 +256,9 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
247
256
|
only_posted_moves = data["only_posted_moves"]
|
|
248
257
|
show_partner_details = data["show_partner_details"]
|
|
249
258
|
grouped_by = data["grouped_by"]
|
|
259
|
+
analytic_account_ids = data["analytic_account_ids"]
|
|
260
|
+
no_analytic = data["no_analytic"]
|
|
261
|
+
|
|
250
262
|
(
|
|
251
263
|
move_lines_data,
|
|
252
264
|
partners_data,
|
|
@@ -261,6 +273,8 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
261
273
|
company_id,
|
|
262
274
|
date_from,
|
|
263
275
|
grouped_by,
|
|
276
|
+
analytic_account_ids,
|
|
277
|
+
no_analytic,
|
|
264
278
|
)
|
|
265
279
|
|
|
266
280
|
total_amount = self._calculate_amounts(open_items_move_lines_data)
|
|
@@ -288,6 +302,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
288
302
|
|
|
289
303
|
def _get_ml_fields(self):
|
|
290
304
|
return self.COMMON_ML_FIELDS + [
|
|
305
|
+
"analytic_account_id",
|
|
291
306
|
"amount_residual",
|
|
292
307
|
"reconciled",
|
|
293
308
|
"currency_id",
|
|
@@ -297,3 +312,32 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
297
312
|
"debit",
|
|
298
313
|
"amount_currency",
|
|
299
314
|
]
|
|
315
|
+
|
|
316
|
+
def get_analytic_domain(self, domain, analytic_account_ids, no_analytic):
|
|
317
|
+
if no_analytic:
|
|
318
|
+
domain = expression.AND(
|
|
319
|
+
[
|
|
320
|
+
domain,
|
|
321
|
+
[
|
|
322
|
+
(
|
|
323
|
+
"analytic_account_id",
|
|
324
|
+
"=",
|
|
325
|
+
False,
|
|
326
|
+
)
|
|
327
|
+
],
|
|
328
|
+
]
|
|
329
|
+
)
|
|
330
|
+
elif analytic_account_ids:
|
|
331
|
+
domain = expression.AND(
|
|
332
|
+
[
|
|
333
|
+
domain,
|
|
334
|
+
[
|
|
335
|
+
(
|
|
336
|
+
"analytic_account_id",
|
|
337
|
+
"in",
|
|
338
|
+
analytic_account_ids,
|
|
339
|
+
)
|
|
340
|
+
],
|
|
341
|
+
]
|
|
342
|
+
)
|
|
343
|
+
return domain
|
|
@@ -27,15 +27,20 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
27
27
|
2: {"header": _("Journal"), "field": "journal", "width": 8},
|
|
28
28
|
3: {"header": _("Account"), "field": "account", "width": 9},
|
|
29
29
|
4: {"header": _("Partner"), "field": "partner_name", "width": 25},
|
|
30
|
-
5: {
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
5: {
|
|
31
|
+
"header": _("Analytic Account"),
|
|
32
|
+
"field": "analytic_account_id",
|
|
33
|
+
"width": 25,
|
|
34
|
+
},
|
|
35
|
+
6: {"header": _("Ref - Label"), "field": "ref_label", "width": 40},
|
|
36
|
+
7: {"header": _("Due date"), "field": "date_maturity", "width": 11},
|
|
37
|
+
8: {
|
|
33
38
|
"header": _("Original"),
|
|
34
39
|
"field": "original",
|
|
35
40
|
"type": "amount",
|
|
36
41
|
"width": 14,
|
|
37
42
|
},
|
|
38
|
-
|
|
43
|
+
9: {
|
|
39
44
|
"header": _("Residual"),
|
|
40
45
|
"field": "amount_residual",
|
|
41
46
|
"field_final_balance": "residual",
|
|
@@ -45,21 +50,21 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
45
50
|
}
|
|
46
51
|
if report.foreign_currency:
|
|
47
52
|
foreign_currency = {
|
|
48
|
-
|
|
53
|
+
10: {
|
|
49
54
|
"header": _("Cur."),
|
|
50
55
|
"field": "currency_name",
|
|
51
56
|
"field_currency_balance": "currency_name",
|
|
52
57
|
"type": "currency_name",
|
|
53
58
|
"width": 7,
|
|
54
59
|
},
|
|
55
|
-
|
|
60
|
+
11: {
|
|
56
61
|
"header": _("Cur. Original"),
|
|
57
62
|
"field": "amount_currency",
|
|
58
63
|
"field_final_balance": "amount_currency",
|
|
59
64
|
"type": "amount_currency",
|
|
60
65
|
"width": 14,
|
|
61
66
|
},
|
|
62
|
-
|
|
67
|
+
12: {
|
|
63
68
|
"header": _("Cur. Residual"),
|
|
64
69
|
"field": "amount_residual_currency",
|
|
65
70
|
"field_final_balance": "amount_currency",
|