Skip to content

Commit

Permalink
[IMP] pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
john-herholz-dt committed Jun 29, 2024
1 parent fb92a37 commit c0cb280
Show file tree
Hide file tree
Showing 10 changed files with 618 additions and 445 deletions.
19 changes: 10 additions & 9 deletions edi_exchange_template_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ EDI Exchange Template
: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/16.0/edi_exchange_template_oca
:target: https://github.com/OCA/edi-framework/tree/17.0/edi_exchange_template_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-16-0/edi-framework-16-0-edi_exchange_template_oca
:target: https://translation.odoo-community.org/projects/edi-framework-17-0/edi-framework-17-0-edi_exchange_template_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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -46,26 +46,27 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi-framework/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 <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_exchange_template_oca%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_exchange_template_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~
-------

* ACSONE
* Camptocamp

Contributors
~~~~~~~~~~~~
------------

* Simone Orsi <[email protected]>
- Simone Orsi <[email protected]>
- John Herholz <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -85,6 +86,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-simahawk|

This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/16.0/edi_exchange_template_oca>`_ project on GitHub.
This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/17.0/edi_exchange_template_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion edi_exchange_template_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "EDI Exchange Template",
"summary": """Allows definition of exchanges via templates.""",
"version": "16.0.1.1.1",
"version": "17.0.1.0.0",
"development_status": "Beta",
"license": "LGPL-3",
"author": "ACSONE,Camptocamp,Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion edi_exchange_template_oca/models/edi_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _exchange_generate(self, exchange_record, **kw):
# Template take precedence over component lookup
tmpl = self._get_output_template(exchange_record)
if tmpl:
# FIXME: env_ctx is not propagated here because we bypass components completly.
# FIXME: env_ctx is not propagated here as we bypass components completely.
# It would be better to move this machinery inside a `generate` component.
exchange_record = exchange_record.with_context(
edi_framework_action="generate"
Expand Down
3 changes: 3 additions & 0 deletions edi_exchange_template_oca/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions edi_exchange_template_oca/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Simone Orsi \<<[email protected]>\>
- John Herholz \<<[email protected]>\>
1 change: 0 additions & 1 deletion edi_exchange_template_oca/readme/CONTRIBUTORS.rst

This file was deleted.

6 changes: 6 additions & 0 deletions edi_exchange_template_oca/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Provide EDI exchange templates to control input/output records contents.

Provides following models:

1. EDI exchange output template, generates output using QWeb templates
2. \[TODO\] EDI exchange input template
6 changes: 0 additions & 6 deletions edi_exchange_template_oca/readme/DESCRIPTION.rst

This file was deleted.

Loading

0 comments on commit c0cb280

Please sign in to comment.