Skip to content

Commit 6bf7294

Browse files
john-herholz-dtphucph
authored andcommitted
[IMP] edi_purchase_oca: pre-commit auto fixes
1 parent 1f0c4ff commit 6bf7294

File tree

8 files changed

+42
-39
lines changed

8 files changed

+42
-39
lines changed

edi_purchase_oca/README.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ EDI Purchase
1616
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
19-
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
20-
:target: https://github.com/OCA/edi/tree/14.0/edi_purchase_oca
21-
:alt: OCA/edi
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github
20+
:target: https://github.com/OCA/edi-framework/tree/17.0/edi_purchase_oca
21+
:alt: OCA/edi-framework
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_purchase_oca
23+
:target: https://translation.odoo-community.org/projects/edi-framework-17-0/edi-framework-17-0-edi_purchase_oca
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=14.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -33,15 +33,15 @@ for purchase.
3333

3434
In order to add a new integration, you need to create a listener:
3535

36-
.. code-block:: python
36+
.. code:: python
3737
38-
class MyEventListener(Component):
39-
_name = "purchase.order.event.listener.demo"
40-
_inherit = "base.event.listener"
41-
_apply_on = ["purchase.order"]
38+
class MyEventListener(Component):
39+
_name = "purchase.order.event.listener.demo"
40+
_inherit = "base.event.listener"
41+
_apply_on = ["purchase.order"]
4242
43-
def on_button_confirm_purchase_order(self, move):
44-
"""Add your code here"""
43+
def on_button_confirm_purchase_order(self, move):
44+
"""Add your code here"""
4545
4646
**Table of contents**
4747

@@ -51,28 +51,28 @@ In order to add a new integration, you need to create a listener:
5151
Bug Tracker
5252
===========
5353

54-
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
54+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi-framework/issues>`_.
5555
In case of trouble, please check there if your issue has already been reported.
5656
If you spotted it first, help us to smash it by providing a detailed and welcomed
57-
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20edi_purchase_oca%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
57+
`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_purchase_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5858

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

6161
Credits
6262
=======
6363

6464
Authors
65-
~~~~~~~
65+
-------
6666

6767
* ForgeFlow
6868

6969
Contributors
70-
~~~~~~~~~~~~
70+
------------
7171

72-
* Lois Rilo <lois.rilo@forgeflow.com>
72+
- Lois Rilo <lois.rilo@forgeflow.com>
7373

7474
Maintainers
75-
~~~~~~~~~~~
75+
-----------
7676

7777
This module is maintained by the OCA.
7878

@@ -84,6 +84,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8484
mission is to support the collaborative development of Odoo features and
8585
promote its widespread use.
8686

87-
This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/14.0/edi_purchase_oca>`_ project on GitHub.
87+
This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/17.0/edi_purchase_oca>`_ project on GitHub.
8888

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

edi_purchase_oca/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"version": "14.0.1.0.0",
99
"license": "LGPL-3",
1010
"author": "ForgeFlow, Odoo Community Association (OCA)",
11-
"website": "https://github.com/OCA/edi",
11+
"website": "https://github.com/OCA/edi-framework",
1212
"depends": ["purchase", "edi_oca", "component_event"],
1313
"data": ["views/purchase_order_views.xml", "views/edi_exchange_record_views.xml"],
1414
"demo": [],

edi_purchase_oca/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Lois Rilo \<<lois.rilo@forgeflow.com>\>

edi_purchase_oca/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This module intends to create a base to be extended by local edi rules
2+
for purchase.
3+
4+
In order to add a new integration, you need to create a listener:
5+
6+
``` python
7+
class MyEventListener(Component):
8+
_name = "purchase.order.event.listener.demo"
9+
_inherit = "base.event.listener"
10+
_apply_on = ["purchase.order"]
11+
12+
def on_button_confirm_purchase_order(self, move):
13+
"""Add your code here"""
14+
```

edi_purchase_oca/readme/DESCRIPTION.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

edi_purchase_oca/static/description/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">EDI Purchase</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:8ab40ab13f4a26ea0ba04ff19e53af88e490d1b2e783699454ae6255422e00c3
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi/tree/14.0/edi_purchase_oca"><img alt="OCA/edi" src="https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_purchase_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&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<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/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi-framework/tree/17.0/edi_purchase_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-17-0/edi-framework-17-0-edi_purchase_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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module intends to create a base to be extended by local edi rules
374374
for purchase.</p>
375375
<p>In order to add a new integration, you need to create a listener:</p>
@@ -396,10 +396,10 @@ <h1 class="title">EDI Purchase</h1>
396396
</div>
397397
<div class="section" id="bug-tracker">
398398
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
399-
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/edi/issues">GitHub Issues</a>.
399+
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/edi-framework/issues">GitHub Issues</a>.
400400
In case of trouble, please check there if your issue has already been reported.
401401
If you spotted it first, help us to smash it by providing a detailed and welcomed
402-
<a class="reference external" href="https://github.com/OCA/edi/issues/new?body=module:%20edi_purchase_oca%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
402+
<a class="reference external" href="https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_purchase_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
403403
<p>Do not contact contributors directly about support or help with technical issues.</p>
404404
</div>
405405
<div class="section" id="credits">
@@ -423,7 +423,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
423423
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
424424
mission is to support the collaborative development of Odoo features and
425425
promote its widespread use.</p>
426-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi/tree/14.0/edi_purchase_oca">OCA/edi</a> project on GitHub.</p>
426+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi-framework/tree/17.0/edi_purchase_oca">OCA/edi-framework</a> project on GitHub.</p>
427427
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
428428
</div>
429429
</div>

0 commit comments

Comments
 (0)