Skip to content

Commit

Permalink
Merge pull request #837 from OCA/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/account-financial-reporting (15.0)
  • Loading branch information
bt-admin authored Feb 21, 2024
2 parents ead66a7 + 8816d44 commit 4c2f5ae
Show file tree
Hide file tree
Showing 27 changed files with 192 additions and 30 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[account_financial_report](account_financial_report/) | 15.0.2.8.8 | | OCA Financial Reports
[account_financial_report](account_financial_report/) | 15.0.2.9.0 | | OCA Financial Reports
[account_move_line_report_xls](account_move_line_report_xls/) | 15.0.1.0.0 | | Journal Items Excel export
[account_purchase_stock_report_non_billed](account_purchase_stock_report_non_billed/) | 15.0.1.1.0 | [![CarlosRoca13](https://github.com/CarlosRoca13.png?size=30px)](https://github.com/CarlosRoca13) | Account Purchase Stock Report Non Billed
[account_sale_stock_report_non_billed](account_sale_stock_report_non_billed/) | 15.0.1.0.3 | [![CarlosRoca13](https://github.com/CarlosRoca13.png?size=30px)](https://github.com/CarlosRoca13) | Account Sale Stock Report Non Billed
Expand Down
2 changes: 1 addition & 1 deletion account_financial_report/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Account Financial Reports
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:581d64a126adc09f18fb4f94ebee9cd570c9a27f3998e3cd60aa2e4ab8c5bc5f
!! source digest: sha256:bdb43c495fd2680033594629daba60b35a536ec2439f51f56b4ebeda02c15933
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion account_financial_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Account Financial Reports",
"version": "15.0.2.8.8",
"version": "15.0.2.9.0",
"category": "Reporting",
"summary": "OCA Financial Reports",
"author": "Camptocamp SA,"
Expand Down
10 changes: 10 additions & 0 deletions account_financial_report/i18n/account_financial_report.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,16 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,14 @@ msgstr "المستوى %s"
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,14 @@ msgstr "Nivell %s"
msgid "Limit hierarchy levels"
msgstr "Limita nivells de jerarquia"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,14 @@ msgstr "Niveau %s"
msgid "Limit hierarchy levels"
msgstr "Begræns niveauer"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,14 @@ msgstr "Ebene %s"
msgid "Limit hierarchy levels"
msgstr "Ebenen festlegen"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,14 @@ msgstr "Nivel %s"
msgid "Limit hierarchy levels"
msgstr "Limitar niveles de jerarquía"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/es_AR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,14 @@ msgstr "Nivel %s"
msgid "Limit hierarchy levels"
msgstr "Limitar niveles de jerarquía"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/es_MX.po
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,14 @@ msgstr "Niveau %s"
msgid "Limit hierarchy levels"
msgstr "Limiter les niveaux de hiérarchie"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/fr_CH.po
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,14 @@ msgstr "Niveau %s"
msgid "Limit hierarchy levels"
msgstr "Limiter les niveaux de hiérarchie"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,14 @@ msgstr "Niveau %s"
msgid "Limit hierarchy levels"
msgstr "Limiter les niveaux de hiérarchie"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/hr_HR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr "Limitare i livelli della gerarchia"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,14 @@ msgstr "Niveau %s"
msgid "Limit hierarchy levels"
msgstr "beperk hirarchie niveaus"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/nl_NL.po
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,14 @@ msgstr ""
msgid "Limit hierarchy levels"
msgstr ""

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,14 @@ msgstr "Nível %s"
msgid "Limit hierarchy levels"
msgstr "Limite dos níveis hierárquicos"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,14 @@ msgstr "Nível %s"
msgid "Limit hierarchy levels"
msgstr "Limitar níveis hierárquicos"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
8 changes: 8 additions & 0 deletions account_financial_report/i18n/ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,14 @@ msgstr "Nivel %s"
msgid "Limit hierarchy levels"
msgstr "Limitați nivelurile de ierarhie"

#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:0
#: code:addons/account_financial_report/report/open_items.py:0
#: code:addons/account_financial_report/report/trial_balance.py:0
#, python-format
msgid "Missing Partner"
msgstr ""

#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__move_target
msgid "Move Target"
Expand Down
4 changes: 2 additions & 2 deletions account_financial_report/report/general_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _prepare_gen_ld_data_group_partners(self, data, domain, grouped_by):
for gl in gl_initial_acc_prt:
if not gl["partner_id"]:
prt_id = 0
prt_name = "Missing Partner"
prt_name = _("Missing Partner")
else:
prt_id = gl["partner_id"][0]
prt_name = gl["partner_id"][1]
Expand Down Expand Up @@ -422,7 +422,7 @@ def _prepare_ml_items(self, move_line, grouped_by):
item_name = (
move_line["partner_id"][1]
if move_line["partner_id"]
else "Missing Partner"
else _("Missing Partner")
)
res.append({"id": item_id, "name": item_name})
elif grouped_by == "taxes":
Expand Down
4 changes: 2 additions & 2 deletions account_financial_report/report/open_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import operator
from datetime import date, datetime

from odoo import api, models
from odoo import _, api, models
from odoo.tools import float_is_zero


Expand Down Expand Up @@ -124,7 +124,7 @@ def _get_data(
prt_name = move_line["partner_id"][1]
else:
prt_id = 0
prt_name = "Missing Partner"
prt_name = _("Missing Partner")
if prt_id not in partners_ids:
partners_data.update({prt_id: {"id": prt_id, "name": prt_name}})
partners_ids.add(prt_id)
Expand Down
Loading

0 comments on commit 4c2f5ae

Please sign in to comment.