Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[edi_component_oca](edi_component_oca/) | 19.0.1.1.0 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/etobella'><img src='https://github.com/etobella.png' width='32' height='32' style='border-radius:50%;' alt='etobella'/></a> | Allow to use Connector as a source in EDI
[edi_core_oca](edi_core_oca/) | 19.0.1.2.2 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/etobella'><img src='https://github.com/etobella.png' width='32' height='32' style='border-radius:50%;' alt='etobella'/></a> | Define backends, exchange types, exchange records, basic automation and views for handling EDI exchanges.
[edi_core_oca](edi_core_oca/) | 19.0.1.2.3 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/etobella'><img src='https://github.com/etobella.png' width='32' height='32' style='border-radius:50%;' alt='etobella'/></a> | Define backends, exchange types, exchange records, basic automation and views for handling EDI exchanges.
[edi_endpoint_oca](edi_endpoint_oca/) | 19.0.1.1.1 | | Base module allowing configuration of custom endpoints for EDI framework.
[edi_exchange_deduplicate_oca](edi_exchange_deduplicate_oca/) | 19.0.1.1.0 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/etobella'><img src='https://github.com/etobella.png' width='32' height='32' style='border-radius:50%;' alt='etobella'/></a> | Introduce a deduplication mechanism at the sending step
[edi_notification_oca](edi_notification_oca/) | 19.0.1.0.0 | | Define notification activities on exchange records.
Expand Down
2 changes: 1 addition & 1 deletion edi_core_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ EDI
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4ec88c7d3c0a39f0bff2c564a723a84929b67b4af392298cbf7e5daf8e98bf3d
!! source digest: sha256:081c8a98336c6ce07c20c17946e18e6f889e7c2150e59b11669ec58319668819
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion edi_core_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Define backends, exchange types, exchange records,
basic automation and views for handling EDI exchanges.
""",
"version": "19.0.1.2.2",
"version": "19.0.1.2.3",
"website": "https://github.com/OCA/edi-framework",
"development_status": "Beta",
"license": "LGPL-3",
Expand Down
2 changes: 1 addition & 1 deletion edi_core_oca/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>EDI</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4ec88c7d3c0a39f0bff2c564a723a84929b67b4af392298cbf7e5daf8e98bf3d
!! source digest: sha256:081c8a98336c6ce07c20c17946e18e6f889e7c2150e59b11669ec58319668819
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi-framework/tree/19.0/edi_core_oca"><img alt="OCA/edi-framework" src="https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/edi-framework-19-0/edi-framework-19-0-edi_core_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Base EDI backend.</p>
Expand Down
2 changes: 1 addition & 1 deletion edi_core_oca/tests/test_backend_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_create_record(self):
expected = {
"type_id": self.exchange_type_in.id,
"edi_exchange_state": "new",
"exchange_filename": "EDI_EXC_TEST-test_csv_input-2020-10-21-100000.csv",
"exchange_filename": "EDI_EXC_TEST-test_csv_input-2020-10-21-10-00-00.csv",
}
self.assertRecordValues(record, [expected])
self.assertEqual(record.record, self.partner)
Expand Down
6 changes: 3 additions & 3 deletions edi_core_oca/tests/test_exchange_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ def test_filename_pattern_settings(self):
# Test with datetime in filename pattern
self.exchange_type_out.exchange_file_ext = "csv"
self.exchange_type_out.exchange_filename_pattern = "Test-File-{dt}"
self._test_exchange_filename("Test-File-2022-04-28-083724.csv")
self._test_exchange_filename("Test-File-2022-04-28-08-37-24.csv")

# Add timezone on current user
self.env.user.tz = "America/New_York" # New_York time is -4h
self._test_exchange_filename("Test-File-2022-04-28-043724.csv")
self._test_exchange_filename("Test-File-2022-04-28-04-37-24.csv")

# Force date pattern on advanced settings
self.exchange_type_out.advanced_settings_edit = """
Expand All @@ -130,7 +130,7 @@ def test_filename_pattern_settings(self):
# Rome time is +2h
force_tz: Europe/Rome
"""
self._test_exchange_filename("Test-File-2022-04-28-103724.csv")
self._test_exchange_filename("Test-File-2022-04-28-10-37-24.csv")

# Force date pattern and timezone on advanced settings
self.exchange_type_out.advanced_settings_edit = """
Expand Down
Loading