diff --git a/account_statement_base/README.rst b/account_statement_base/README.rst
index 2de7fde18a..eee9cab524 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 f2f54ec4f4..c1a728eaca 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 e65a657d2e..bf92455c59 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 28052d0116..fe99effc19 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 c3e44b14c2..a4c8ab7dc9 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 a6eae53375..0265bd0895 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 8f9ab733b6..6ec63b6a32 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 30a6d7122f..bb65841026 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 6fb459d97e..a75d542333 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 f41e90f167..6a0ae1844f 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 @@ def action_open_statement_lines(self):
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 0adbd01696..a5b4dbb3d1 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 0000000000..83b3ec91f7
--- /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 4d74b0351c..24690c3765 100644
--- a/account_statement_base/static/description/index.html
+++ b/account_statement_base/static/description/index.html
@@ -369,7 +369,7 @@ Bank Statement Base
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:baed690e1bab1fc9aea5f5fbb74b80f3a00ed79c64bd911ce8b59571b8b27ad4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
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 @@ Bank Statement Base
Credits
@@ -390,7 +391,7 @@
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 @@
Jordi Ballester
+
Trobz :
+
+
+
+
+
+
The migration of this module from 17.0 to 18.0 was financially supported
+by Camptocamp.
diff --git a/account_statement_base/tests/test_account_statement_base.py b/account_statement_base/tests/test_account_statement_base.py
index 9d16a5e3ec..8919154689 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 @@
@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 @@ def setUpClass(cls, chart_template_ref=None):
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 @@ def setUpClass(cls, chart_template_ref=None):
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 21db7bbfe0..7ec5f8ca94 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
- account.bank.statement.tree
+ account.bank.statement.list
account.bank.statement
-
+
true
-
+
-
+
@@ -59,7 +59,7 @@
account.bank.statement.line
-
+
@@ -114,7 +114,7 @@
-
+
@@ -147,7 +147,7 @@
@@ -175,7 +175,7 @@
Bank Statement Lines
account.bank.statement.line
- tree,form
+ list,form
{'account_bank_statement_line_main_view': True}