odoo-addon-account-financial-report 15.0.2.11.0.1__py3-none-any.whl → 15.0.2.12.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-account-financial-report might be problematic. Click here for more details.

Files changed (37) hide show
  1. odoo/addons/account_financial_report/README.rst +1 -1
  2. odoo/addons/account_financial_report/__manifest__.py +1 -1
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +26 -3
  4. odoo/addons/account_financial_report/i18n/ar.po +33 -5
  5. odoo/addons/account_financial_report/i18n/ca.po +34 -6
  6. odoo/addons/account_financial_report/i18n/da.po +34 -6
  7. odoo/addons/account_financial_report/i18n/de.po +34 -6
  8. odoo/addons/account_financial_report/i18n/es.po +35 -7
  9. odoo/addons/account_financial_report/i18n/es_AR.po +34 -6
  10. odoo/addons/account_financial_report/i18n/es_MX.po +26 -3
  11. odoo/addons/account_financial_report/i18n/fr.po +34 -6
  12. odoo/addons/account_financial_report/i18n/fr_CH.po +34 -6
  13. odoo/addons/account_financial_report/i18n/fr_FR.po +33 -5
  14. odoo/addons/account_financial_report/i18n/hr.po +26 -3
  15. odoo/addons/account_financial_report/i18n/hr_HR.po +26 -3
  16. odoo/addons/account_financial_report/i18n/it.po +34 -6
  17. odoo/addons/account_financial_report/i18n/ja.po +26 -3
  18. odoo/addons/account_financial_report/i18n/nl.po +34 -6
  19. odoo/addons/account_financial_report/i18n/nl_NL.po +26 -3
  20. odoo/addons/account_financial_report/i18n/pt.po +34 -6
  21. odoo/addons/account_financial_report/i18n/pt_BR.po +34 -6
  22. odoo/addons/account_financial_report/i18n/ro.po +32 -4
  23. odoo/addons/account_financial_report/report/aged_partner_balance.py +39 -0
  24. odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +9 -4
  25. odoo/addons/account_financial_report/report/open_items.py +45 -1
  26. odoo/addons/account_financial_report/report/open_items_xlsx.py +12 -7
  27. odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +77 -27
  28. odoo/addons/account_financial_report/report/templates/open_items.xml +38 -7
  29. odoo/addons/account_financial_report/static/description/index.html +1 -1
  30. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +28 -2
  31. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +12 -0
  32. odoo/addons/account_financial_report/wizard/open_items_wizard.py +23 -1
  33. odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +12 -0
  34. {odoo_addon_account_financial_report-15.0.2.11.0.1.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.1.dist-info}/METADATA +2 -2
  35. {odoo_addon_account_financial_report-15.0.2.11.0.1.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.1.dist-info}/RECORD +37 -37
  36. {odoo_addon_account_financial_report-15.0.2.11.0.1.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.1.dist-info}/WHEEL +0 -0
  37. {odoo_addon_account_financial_report-15.0.2.11.0.1.dist-info → odoo_addon_account_financial_report-15.0.2.12.0.1.dist-info}/top_level.txt +0 -0
@@ -284,6 +284,12 @@ msgstr "Alle Regels"
284
284
  msgid "All Posted Entries"
285
285
  msgstr "Alle Geboekte Regels"
286
286
 
287
+ #. module: account_financial_report
288
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__all_analytic
289
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__all_analytic
290
+ msgid "All analytic items"
291
+ msgstr ""
292
+
287
293
  #. module: account_financial_report
288
294
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
289
295
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -329,8 +335,12 @@ msgid "Amount cur."
329
335
  msgstr "Valutabedrag."
330
336
 
331
337
  #. module: account_financial_report
338
+ #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
332
339
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
340
+ #: code:addons/account_financial_report/report/open_items_xlsx.py:0
341
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
333
342
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
343
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
334
344
  #, fuzzy, python-format
335
345
  msgid "Analytic Account"
336
346
  msgstr "Filter Rekening"
@@ -795,6 +805,8 @@ msgid "Filter accounts"
795
805
  msgstr "Filter rekeningen"
796
806
 
797
807
  #. module: account_financial_report
808
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__analytic_account_ids
809
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__analytic_account_ids
798
810
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
799
811
  msgid "Filter analytic accounts"
800
812
  msgstr "Filter kostenplaatsen"
@@ -1285,6 +1297,17 @@ msgstr "OCA boekhoudkundige rapporten"
1285
1297
  msgid "Older"
1286
1298
  msgstr "Ouder"
1287
1299
 
1300
+ #. module: account_financial_report
1301
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__only_analytic
1302
+ msgid "Only analytic items"
1303
+ msgstr ""
1304
+
1305
+ #. module: account_financial_report
1306
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__no_analytic
1307
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__no_analytic
1308
+ msgid "Only no analytic items"
1309
+ msgstr ""
1310
+
1288
1311
  #. module: account_financial_report
1289
1312
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1290
1313
  #: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
@@ -1458,20 +1481,17 @@ msgstr "Alleen debiteuren"
1458
1481
 
1459
1482
  #. module: account_financial_report
1460
1483
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1461
- #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1462
1484
  msgid ""
1463
1485
  "Ref -\n"
1464
- " Label"
1486
+ " Label"
1465
1487
  msgstr ""
1466
- "Ref -\n"
1467
- " Label"
1468
1488
 
1469
1489
  #. module: account_financial_report
1490
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1470
1491
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1471
- #, fuzzy
1472
1492
  msgid ""
1473
1493
  "Ref -\n"
1474
- " Label"
1494
+ " Label"
1475
1495
  msgstr ""
1476
1496
  "Ref -\n"
1477
1497
  " Label"
@@ -1948,6 +1968,14 @@ msgstr "breedte: 38.92%;"
1948
1968
  msgid "width: 8.11%;"
1949
1969
  msgstr "breedte: 8.11%;"
1950
1970
 
1971
+ #, fuzzy
1972
+ #~ msgid ""
1973
+ #~ "Ref -\n"
1974
+ #~ " Label"
1975
+ #~ msgstr ""
1976
+ #~ "Ref -\n"
1977
+ #~ " Label"
1978
+
1951
1979
  #~ msgid ""
1952
1980
  #~ "Age ≤ 120\n"
1953
1981
  #~ " d."
@@ -283,6 +283,12 @@ msgstr ""
283
283
  msgid "All Posted Entries"
284
284
  msgstr ""
285
285
 
286
+ #. module: account_financial_report
287
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__all_analytic
288
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__all_analytic
289
+ msgid "All analytic items"
290
+ msgstr ""
291
+
286
292
  #. module: account_financial_report
287
293
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
288
294
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -328,8 +334,12 @@ msgid "Amount cur."
328
334
  msgstr ""
329
335
 
330
336
  #. module: account_financial_report
337
+ #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
331
338
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
339
+ #: code:addons/account_financial_report/report/open_items_xlsx.py:0
340
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
332
341
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
342
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
333
343
  #, fuzzy, python-format
334
344
  msgid "Analytic Account"
335
345
  msgstr "Rekening"
@@ -781,6 +791,8 @@ msgid "Filter accounts"
781
791
  msgstr ""
782
792
 
783
793
  #. module: account_financial_report
794
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__analytic_account_ids
795
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__analytic_account_ids
784
796
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
785
797
  msgid "Filter analytic accounts"
786
798
  msgstr ""
@@ -1252,6 +1264,17 @@ msgstr ""
1252
1264
  msgid "Older"
1253
1265
  msgstr ""
1254
1266
 
1267
+ #. module: account_financial_report
1268
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__only_analytic
1269
+ msgid "Only analytic items"
1270
+ msgstr ""
1271
+
1272
+ #. module: account_financial_report
1273
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__no_analytic
1274
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__no_analytic
1275
+ msgid "Only no analytic items"
1276
+ msgstr ""
1277
+
1255
1278
  #. module: account_financial_report
1256
1279
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1257
1280
  #: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
@@ -1419,17 +1442,17 @@ msgstr ""
1419
1442
 
1420
1443
  #. module: account_financial_report
1421
1444
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1422
- #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1423
1445
  msgid ""
1424
1446
  "Ref -\n"
1425
- " Label"
1447
+ " Label"
1426
1448
  msgstr ""
1427
1449
 
1428
1450
  #. module: account_financial_report
1451
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1429
1452
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1430
1453
  msgid ""
1431
1454
  "Ref -\n"
1432
- " Label"
1455
+ " Label"
1433
1456
  msgstr ""
1434
1457
 
1435
1458
  #. module: account_financial_report
@@ -278,6 +278,12 @@ msgstr "Todos os Lançamentos"
278
278
  msgid "All Posted Entries"
279
279
  msgstr "Todos os Lançamentos Publicados"
280
280
 
281
+ #. module: account_financial_report
282
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__all_analytic
283
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__all_analytic
284
+ msgid "All analytic items"
285
+ msgstr ""
286
+
281
287
  #. module: account_financial_report
282
288
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
283
289
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -323,8 +329,12 @@ msgid "Amount cur."
323
329
  msgstr "Montante em moeda."
324
330
 
325
331
  #. module: account_financial_report
332
+ #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
326
333
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
334
+ #: code:addons/account_financial_report/report/open_items_xlsx.py:0
335
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
327
336
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
337
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
328
338
  #, python-format
329
339
  msgid "Analytic Account"
330
340
  msgstr "Conta Analítica"
@@ -778,6 +788,8 @@ msgid "Filter accounts"
778
788
  msgstr "Filtrar contas"
779
789
 
780
790
  #. module: account_financial_report
791
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__analytic_account_ids
792
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__analytic_account_ids
781
793
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
782
794
  msgid "Filter analytic accounts"
783
795
  msgstr "Filtrar contas analíticas"
@@ -1255,6 +1267,17 @@ msgstr "Relatórios de contabilidade OCA"
1255
1267
  msgid "Older"
1256
1268
  msgstr "Mais Antigo"
1257
1269
 
1270
+ #. module: account_financial_report
1271
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__only_analytic
1272
+ msgid "Only analytic items"
1273
+ msgstr ""
1274
+
1275
+ #. module: account_financial_report
1276
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__no_analytic
1277
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__no_analytic
1278
+ msgid "Only no analytic items"
1279
+ msgstr ""
1280
+
1258
1281
  #. module: account_financial_report
1259
1282
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1260
1283
  #: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
@@ -1424,20 +1447,20 @@ msgstr "Apenas Contas Recebíveis"
1424
1447
 
1425
1448
  #. module: account_financial_report
1426
1449
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1427
- #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1428
1450
  msgid ""
1429
1451
  "Ref -\n"
1430
- " Label"
1452
+ " Label"
1431
1453
  msgstr ""
1432
- "Ref -\n"
1433
- " Rótulo"
1434
1454
 
1435
1455
  #. module: account_financial_report
1456
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1436
1457
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1437
1458
  msgid ""
1438
1459
  "Ref -\n"
1439
- " Label"
1440
- msgstr "Ref - Etiqueta"
1460
+ " Label"
1461
+ msgstr ""
1462
+ "Ref -\n"
1463
+ " Rótulo"
1441
1464
 
1442
1465
  #. module: account_financial_report
1443
1466
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@@ -1910,6 +1933,11 @@ msgstr "largura: 38.92%;"
1910
1933
  msgid "width: 8.11%;"
1911
1934
  msgstr "largura: 8.11%;"
1912
1935
 
1936
+ #~ msgid ""
1937
+ #~ "Ref -\n"
1938
+ #~ " Label"
1939
+ #~ msgstr "Ref - Etiqueta"
1940
+
1913
1941
  #~ msgid ""
1914
1942
  #~ "Age ≤ 120\n"
1915
1943
  #~ " d."
@@ -279,6 +279,12 @@ msgstr "Todos os lançamentos"
279
279
  msgid "All Posted Entries"
280
280
  msgstr "Todas as movimentações lançadas"
281
281
 
282
+ #. module: account_financial_report
283
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__all_analytic
284
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__all_analytic
285
+ msgid "All analytic items"
286
+ msgstr ""
287
+
282
288
  #. module: account_financial_report
283
289
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
284
290
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -324,8 +330,12 @@ msgid "Amount cur."
324
330
  msgstr "Moeda."
325
331
 
326
332
  #. module: account_financial_report
333
+ #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
327
334
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
335
+ #: code:addons/account_financial_report/report/open_items_xlsx.py:0
336
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
328
337
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
338
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
329
339
  #, fuzzy, python-format
330
340
  msgid "Analytic Account"
331
341
  msgstr "Filtrar Conta"
@@ -789,6 +799,8 @@ msgid "Filter accounts"
789
799
  msgstr "Filtrar Contas"
790
800
 
791
801
  #. module: account_financial_report
802
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__analytic_account_ids
803
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__analytic_account_ids
792
804
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
793
805
  #, fuzzy
794
806
  msgid "Filter analytic accounts"
@@ -1275,6 +1287,17 @@ msgstr "Relatórios Contábeis OCA"
1275
1287
  msgid "Older"
1276
1288
  msgstr "Mais antigo"
1277
1289
 
1290
+ #. module: account_financial_report
1291
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__only_analytic
1292
+ msgid "Only analytic items"
1293
+ msgstr ""
1294
+
1295
+ #. module: account_financial_report
1296
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__no_analytic
1297
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__no_analytic
1298
+ msgid "Only no analytic items"
1299
+ msgstr ""
1300
+
1278
1301
  #. module: account_financial_report
1279
1302
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1280
1303
  #: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
@@ -1446,20 +1469,17 @@ msgstr "Apenas Contas a Receber"
1446
1469
 
1447
1470
  #. module: account_financial_report
1448
1471
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1449
- #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1450
1472
  msgid ""
1451
1473
  "Ref -\n"
1452
- " Label"
1474
+ " Label"
1453
1475
  msgstr ""
1454
- "Ref -\n"
1455
- " Rótulo"
1456
1476
 
1457
1477
  #. module: account_financial_report
1478
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1458
1479
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1459
- #, fuzzy
1460
1480
  msgid ""
1461
1481
  "Ref -\n"
1462
- " Label"
1482
+ " Label"
1463
1483
  msgstr ""
1464
1484
  "Ref -\n"
1465
1485
  " Rótulo"
@@ -1938,6 +1958,14 @@ msgstr "largura: 38.92%;"
1938
1958
  msgid "width: 8.11%;"
1939
1959
  msgstr "largura: 8.11%;"
1940
1960
 
1961
+ #, fuzzy
1962
+ #~ msgid ""
1963
+ #~ "Ref -\n"
1964
+ #~ " Label"
1965
+ #~ msgstr ""
1966
+ #~ "Ref -\n"
1967
+ #~ " Rótulo"
1968
+
1941
1969
  #~ msgid ""
1942
1970
  #~ "Age ≤ 120\n"
1943
1971
  #~ " d."
@@ -280,6 +280,12 @@ msgstr "Toate înregistrările"
280
280
  msgid "All Posted Entries"
281
281
  msgstr "Toate înregistrările postare"
282
282
 
283
+ #. module: account_financial_report
284
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__all_analytic
285
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__all_analytic
286
+ msgid "All analytic items"
287
+ msgstr ""
288
+
283
289
  #. module: account_financial_report
284
290
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
285
291
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -325,8 +331,12 @@ msgid "Amount cur."
325
331
  msgstr ""
326
332
 
327
333
  #. module: account_financial_report
334
+ #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
328
335
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
336
+ #: code:addons/account_financial_report/report/open_items_xlsx.py:0
337
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
329
338
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
339
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
330
340
  #, python-format
331
341
  msgid "Analytic Account"
332
342
  msgstr "Cont analitic"
@@ -784,6 +794,8 @@ msgid "Filter accounts"
784
794
  msgstr "Contrui filtrate"
785
795
 
786
796
  #. module: account_financial_report
797
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__analytic_account_ids
798
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__analytic_account_ids
787
799
  #: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
788
800
  msgid "Filter analytic accounts"
789
801
  msgstr "Filtrați conturile analitice"
@@ -1262,6 +1274,17 @@ msgstr "Rapoarte contabilitate"
1262
1274
  msgid "Older"
1263
1275
  msgstr "Mai vechi"
1264
1276
 
1277
+ #. module: account_financial_report
1278
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__only_analytic
1279
+ msgid "Only analytic items"
1280
+ msgstr ""
1281
+
1282
+ #. module: account_financial_report
1283
+ #: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__no_analytic
1284
+ #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__no_analytic
1285
+ msgid "Only no analytic items"
1286
+ msgstr ""
1287
+
1265
1288
  #. module: account_financial_report
1266
1289
  #: code:addons/account_financial_report/report/open_items_xlsx.py:0
1267
1290
  #: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
@@ -1429,18 +1452,18 @@ msgstr "Numai conturi de încasat"
1429
1452
 
1430
1453
  #. module: account_financial_report
1431
1454
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
1432
- #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1433
1455
  msgid ""
1434
1456
  "Ref -\n"
1435
- " Label"
1457
+ " Label"
1436
1458
  msgstr ""
1437
1459
 
1438
1460
  #. module: account_financial_report
1461
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1439
1462
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
1440
1463
  msgid ""
1441
1464
  "Ref -\n"
1442
- " Label"
1443
- msgstr "Referință"
1465
+ " Label"
1466
+ msgstr ""
1444
1467
 
1445
1468
  #. module: account_financial_report
1446
1469
  #: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@@ -1911,6 +1934,11 @@ msgstr "lățime: 38,92%;"
1911
1934
  msgid "width: 8.11%;"
1912
1935
  msgstr "lățime: 8,11%;"
1913
1936
 
1937
+ #~ msgid ""
1938
+ #~ "Ref -\n"
1939
+ #~ " Label"
1940
+ #~ msgstr "Referință"
1941
+
1914
1942
  #~ msgid ""
1915
1943
  #~ "Age ≤ 120\n"
1916
1944
  #~ " d."
@@ -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: {"header": _("Ref - Label"), "field": "ref_label", "width": 40},
108
- 6: {"header": _("Due date"), "field": "due_date", "width": 11},
109
- 7: {
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
- 8: {
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