diff --git a/account_statement_base/README.rst b/account_statement_base/README.rst index 2de7fde1..eee9cab5 100644 --- a/account_statement_base/README.rst +++ b/account_statement_base/README.rst @@ -17,13 +17,13 @@ Bank Statement Base :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github - :target: https://github.com/OCA/account-reconcile/tree/17.0/account_statement_base + :target: https://github.com/OCA/account-reconcile/tree/18.0/account_statement_base :alt: OCA/account-reconcile .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_statement_base + :target: https://translation.odoo-community.org/projects/account-reconcile-18-0/account-reconcile-18-0-account_statement_base :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -43,7 +43,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -71,6 +71,16 @@ Contributors - Jordi Ballester +- `Trobz `__: + + - Do Anh Duy + +Other credits +------------- + +The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp. + Maintainers ----------- @@ -92,6 +102,6 @@ Current `maintainer `__: |maintainer-alexis-via| -This module is part of the `OCA/account-reconcile `_ project on GitHub. +This module is part of the `OCA/account-reconcile `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_statement_base/__manifest__.py b/account_statement_base/__manifest__.py index f2f54ec4..c1a728ea 100644 --- a/account_statement_base/__manifest__.py +++ b/account_statement_base/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Bank Statement Base", - "version": "17.0.1.3.1", + "version": "18.0.1.0.0", "category": "Accounting", "license": "LGPL-3", "summary": "Base module for Bank Statements", diff --git a/account_statement_base/i18n/account_statement_base.pot b/account_statement_base/i18n/account_statement_base.pot index e65a657d..bf92455c 100644 --- a/account_statement_base/i18n/account_statement_base.pot +++ b/account_statement_base/i18n/account_statement_base.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 17.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/account_statement_base/i18n/es.po b/account_statement_base/i18n/es.po index 28052d01..fe99effc 100644 --- a/account_statement_base/i18n/es.po +++ b/account_statement_base/i18n/es.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-07-29 12:10+0000\n" "Last-Translator: Ivorra78 \n" diff --git a/account_statement_base/i18n/fr.po b/account_statement_base/i18n/fr.po index c3e44b14..a4c8ab7d 100644 --- a/account_statement_base/i18n/fr.po +++ b/account_statement_base/i18n/fr.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-08-16 17:10+0000\n" "Last-Translator: Rémi \n" diff --git a/account_statement_base/i18n/it.po b/account_statement_base/i18n/it.po index a6eae533..0265bd08 100644 --- a/account_statement_base/i18n/it.po +++ b/account_statement_base/i18n/it.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 17.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2024-10-04 08:12+0000\n" "Last-Translator: mymage \n" diff --git a/account_statement_base/i18n/pt_BR.po b/account_statement_base/i18n/pt_BR.po index 8f9ab733..6ec63b6a 100644 --- a/account_statement_base/i18n/pt_BR.po +++ b/account_statement_base/i18n/pt_BR.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-06-22 15:09+0000\n" "Last-Translator: Adriano Prado \n" diff --git a/account_statement_base/i18n/zh.po b/account_statement_base/i18n/zh.po index 30a6d712..bb658410 100644 --- a/account_statement_base/i18n/zh.po +++ b/account_statement_base/i18n/zh.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 17.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" diff --git a/account_statement_base/i18n/zh_CN.po b/account_statement_base/i18n/zh_CN.po index 6fb459d9..a75d5423 100644 --- a/account_statement_base/i18n/zh_CN.po +++ b/account_statement_base/i18n/zh_CN.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 17.0\n" +"Project-Id-Version: Odoo Server 18.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2024-06-12 02:41+0000\n" "Last-Translator: xtanuiha \n" diff --git a/account_statement_base/models/account_bank_statement.py b/account_statement_base/models/account_bank_statement.py index f41e90f1..6a0ae184 100644 --- a/account_statement_base/models/account_bank_statement.py +++ b/account_statement_base/models/account_bank_statement.py @@ -1,4 +1,4 @@ -from odoo import _, models +from odoo import models class AccountBankStatement(models.Model): @@ -48,8 +48,8 @@ class AccountBankStatement(models.Model): def open_entries(self): self.ensure_one() return { - "name": _("Journal Items"), - "view_mode": "tree,form", + "name": self.env._("Journal Items"), + "view_mode": "list,form", "res_model": "account.move.line", "view_id": False, "type": "ir.actions.act_window", diff --git a/account_statement_base/readme/CONTRIBUTORS.md b/account_statement_base/readme/CONTRIBUTORS.md index 0adbd016..a5b4dbb3 100644 --- a/account_statement_base/readme/CONTRIBUTORS.md +++ b/account_statement_base/readme/CONTRIBUTORS.md @@ -5,4 +5,5 @@ - Sergio Teruel - [ForgeFlow](https://www.forgeflow.com): - Jordi Ballester - + - [Trobz](https://www.trobz.com): + - Do Anh Duy \<\> diff --git a/account_statement_base/readme/CREDITS.md b/account_statement_base/readme/CREDITS.md new file mode 100644 index 00000000..83b3ec91 --- /dev/null +++ b/account_statement_base/readme/CREDITS.md @@ -0,0 +1 @@ +The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp. diff --git a/account_statement_base/static/description/index.html b/account_statement_base/static/description/index.html index 4d74b035..24690c37 100644 --- a/account_statement_base/static/description/index.html +++ b/account_statement_base/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:baed690e1bab1fc9aea5f5fbb74b80f3a00ed79c64bd911ce8b59571b8b27ad4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Mature License: LGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runboat

+

Mature License: LGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runboat

This is a technical module that adds the views of the Bank Statement Lines (since Odoo 16.0, these views are not part of the account module any more).

@@ -380,7 +380,8 @@ module any more).

  • Credits
  • @@ -390,7 +391,7 @@ module any more).

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    @@ -417,10 +418,19 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
  • Jordi Ballester
  • +
  • Trobz: +
  • +
    +

    Other credits

    +

    The migration of this module from 17.0 to 18.0 was financially supported +by Camptocamp.

    +
    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -430,7 +440,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

    Current maintainer:

    alexis-via

    -

    This module is part of the OCA/account-reconcile project on GitHub.

    +

    This module is part of the OCA/account-reconcile project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/account_statement_base/tests/test_account_statement_base.py b/account_statement_base/tests/test_account_statement_base.py index 9d16a5e3..89191546 100644 --- a/account_statement_base/tests/test_account_statement_base.py +++ b/account_statement_base/tests/test_account_statement_base.py @@ -7,8 +7,8 @@ from odoo.addons.account.tests.common import AccountTestInvoicingCommon @tagged("post_install", "-at_install") class TestOpenEntries(AccountTestInvoicingCommon): @classmethod - def setUpClass(cls, chart_template_ref=None): - super().setUpClass(chart_template_ref=chart_template_ref) + def setUpClass(cls): + super().setUpClass() cls.company = cls.company_data["company"] cls.acc_bank_stmt_model = cls.env["account.bank.statement"] cls.account_move_model = cls.env["account.move"] @@ -16,7 +16,7 @@ class TestOpenEntries(AccountTestInvoicingCommon): cls.current_assets_account = cls.env["account.account"].search( [ ("account_type", "=", "asset_current"), - ("company_id", "=", cls.company.id), + ("company_ids", "in", cls.company.ids), ], limit=1, ) @@ -24,7 +24,7 @@ class TestOpenEntries(AccountTestInvoicingCommon): cls.non_current_assets_account = cls.env["account.account"].search( [ ("account_type", "=", "asset_non_current"), - ("company_id", "=", cls.company.id), + ("company_ids", "in", cls.company.ids), ], limit=1, ) diff --git a/account_statement_base/views/account_bank_statement.xml b/account_statement_base/views/account_bank_statement.xml index 21db7bbf..5fe93c9b 100644 --- a/account_statement_base/views/account_bank_statement.xml +++ b/account_statement_base/views/account_bank_statement.xml @@ -90,20 +90,20 @@ account.bank.statement - tree,form,pivot,graph + list,form,pivot,graph - tree,form,pivot,graph + list,form,pivot,graph - account.bank.statement.tree + account.bank.statement.list account.bank.statement - + true - +