diff --git a/edi_oca/README.rst b/edi_oca/README.rst
index 1970d133f..49f956396 100644
--- a/edi_oca/README.rst
+++ b/edi_oca/README.rst
@@ -17,13 +17,13 @@ EDI
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github
- :target: https://github.com/OCA/edi-framework/tree/17.0/edi_oca
+ :target: https://github.com/OCA/edi-framework/tree/18.0/edi_oca
:alt: OCA/edi-framework
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/edi-framework-17-0/edi-framework-17-0-edi_oca
+ :target: https://translation.odoo-community.org/projects/edi-framework-18-0/edi-framework-18-0-edi_oca
: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/edi-framework&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -152,7 +152,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.
@@ -197,6 +197,6 @@ Current `maintainers `__:
|maintainer-simahawk| |maintainer-etobella|
-This module is part of the `OCA/edi-framework `_ project on GitHub.
+This module is part of the `OCA/edi-framework `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/edi_oca/security/ir_model_access.xml b/edi_oca/security/ir_model_access.xml
index 7920b0906..0c37acca9 100644
--- a/edi_oca/security/ir_model_access.xml
+++ b/edi_oca/security/ir_model_access.xml
@@ -119,12 +119,12 @@
['|',('company_id','=',False),('company_id', 'in', company_ids)]
-
-
+
+
edi_backend multi-company
['|',('company_id','=',False),('company_id', 'in', company_ids)]
-
+
diff --git a/edi_oca/static/description/index.html b/edi_oca/static/description/index.html
index ccf2db1e2..72b567e7b 100644
--- a/edi_oca/static/description/index.html
+++ b/edi_oca/static/description/index.html
@@ -368,7 +368,7 @@ EDI
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c7344329c34f917fed853ce360400a3a6512a865e75db046046a87b86b25eeac
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
Base EDI backend.
Provides following models:
@@ -503,7 +503,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.
diff --git a/edi_oca/tests/test_backend_jobs.py b/edi_oca/tests/test_backend_jobs.py
index aa5893018..3961f813e 100644
--- a/edi_oca/tests/test_backend_jobs.py
+++ b/edi_oca/tests/test_backend_jobs.py
@@ -31,11 +31,12 @@ def test_output(self):
self.assertEqual(
created.name, "Generate output content for given exchange record."
)
- with mock.patch.object(
- type(self.backend), "_exchange_generate"
- ) as mocked_generate, mock.patch.object(
- type(self.backend), "_validate_data"
- ) as mocked_validate:
+ with (
+ mock.patch.object(
+ type(self.backend), "_exchange_generate"
+ ) as mocked_generate,
+ mock.patch.object(type(self.backend), "_validate_data") as mocked_validate,
+ ):
mocked_generate.return_value = "filecontent"
mocked_validate.return_value = None
res = job.perform()
@@ -77,11 +78,12 @@ def test_input(self):
created = job_counter.search_created()
self.assertEqual(len(created), 1)
self.assertEqual(created.name, "Retrieve an incoming document.")
- with mock.patch.object(
- type(self.backend), "_exchange_receive"
- ) as mocked_receive, mock.patch.object(
- type(self.backend), "_validate_data"
- ) as mocked_validate:
+ with (
+ mock.patch.object(
+ type(self.backend), "_exchange_receive"
+ ) as mocked_receive,
+ mock.patch.object(type(self.backend), "_validate_data") as mocked_validate,
+ ):
mocked_receive.return_value = "filecontent"
mocked_validate.return_value = None
res = job.perform()
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 000000000..71c1f6ea2
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+# generated from manifests external_dependencies
+PyYAML