Skip to content

Commit 2e33697

Browse files
committed
[IMP] edi_product_oca: pre-commit execution
1 parent d5461b7 commit 2e33697

8 files changed

Lines changed: 39 additions & 31 deletions

File tree

edi_product_oca/README.rst

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@ EDI Product
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github
20-
:target: https://github.com/OCA/edi-framework/tree/16.0/edi_product_oca
20+
:target: https://github.com/OCA/edi-framework/tree/18.0/edi_product_oca
2121
: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-framework-16-0/edi-framework-16-0-edi_product_oca
23+
:target: https://translation.odoo-community.org/projects/edi-framework-18-0/edi-framework-18-0-edi_product_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-framework&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
Provide basic configuration for products and product packaging with EDI framework.
31+
Provide basic configuration for products and product packaging with EDI
32+
framework.
3233

3334
**Table of contents**
3435

@@ -41,26 +42,26 @@ Bug Tracker
4142
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi-framework/issues>`_.
4243
In case of trouble, please check there if your issue has already been reported.
4344
If you spotted it first, help us to smash it by providing a detailed and welcomed
44-
`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_product_oca%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
45+
`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_product_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4546

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

4849
Credits
4950
=======
5051

5152
Authors
52-
~~~~~~~
53+
-------
5354

5455
* ForgeFlow
5556

5657
Contributors
57-
~~~~~~~~~~~~
58+
------------
5859

59-
* Oriol Miranda <oriol.miranda@forgeflow.com>
60-
* Duong (Tran Quoc) <duongtq@trobz.com>
60+
- Oriol Miranda <oriol.miranda@forgeflow.com>
61+
- Duong (Tran Quoc) <duongtq@trobz.com>
6162

6263
Maintainers
63-
~~~~~~~~~~~
64+
-----------
6465

6566
This module is maintained by the OCA.
6667

@@ -72,6 +73,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7273
mission is to support the collaborative development of Odoo features and
7374
promote its widespread use.
7475

75-
This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/16.0/edi_product_oca>`_ project on GitHub.
76+
This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/18.0/edi_product_oca>`_ project on GitHub.
7677

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

edi_product_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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Oriol Miranda \<oriol.miranda@forgeflow.com\>
2+
- Duong (Tran Quoc) \<duongtq@trobz.com\>

edi_product_oca/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Provide basic configuration for products and product packaging with EDI framework.
1+
Provide basic configuration for products and product packaging with EDI
2+
framework.

edi_product_oca/static/description/index.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -368,8 +369,9 @@ <h1 class="title">EDI Product</h1>
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369370
!! source digest: sha256:8f49d35294d2a460c2a760795e6ae4db9f0b69301fe18c483bf7bc0c1177d5b1
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi-framework/tree/16.0/edi_product_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-16-0/edi-framework-16-0-edi_product_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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372-
<p>Provide basic configuration for products and product packaging with EDI framework.</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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi-framework/tree/18.0/edi_product_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-18-0/edi-framework-18-0-edi_product_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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<p>Provide basic configuration for products and product packaging with EDI
374+
framework.</p>
373375
<p><strong>Table of contents</strong></p>
374376
<div class="contents local topic" id="contents">
375377
<ul class="simple">
@@ -387,7 +389,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
387389
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/edi-framework/issues">GitHub Issues</a>.
388390
In case of trouble, please check there if your issue has already been reported.
389391
If you spotted it first, help us to smash it by providing a detailed and welcomed
390-
<a class="reference external" href="https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_product_oca%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
392+
<a class="reference external" href="https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_product_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
391393
<p>Do not contact contributors directly about support or help with technical issues.</p>
392394
</div>
393395
<div class="section" id="credits">
@@ -408,11 +410,13 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
408410
<div class="section" id="maintainers">
409411
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
410412
<p>This module is maintained by the OCA.</p>
411-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
413+
<a class="reference external image-reference" href="https://odoo-community.org">
414+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
415+
</a>
412416
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
413417
mission is to support the collaborative development of Odoo features and
414418
promote its widespread use.</p>
415-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi-framework/tree/16.0/edi_product_oca">OCA/edi-framework</a> project on GitHub.</p>
419+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi-framework/tree/18.0/edi_product_oca">OCA/edi-framework</a> project on GitHub.</p>
416420
<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>
417421
</div>
418422
</div>

edi_product_oca/views/product_packaging_views.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<field name="inherit_id" ref="product.product_packaging_form_view" />
77
<field name="arch" type="xml">
88
<group name="qty" position="after">
9-
<group name="edi" string="EDI">
10-
<group name="edi_main">
11-
<field name="edi_disable_auto" />
12-
</group>
9+
<group name="edi" string="EDI">
10+
<group name="edi_main">
11+
<field name="edi_disable_auto" />
1312
</group>
13+
</group>
1414
</group>
1515
<xpath expr="//label[@for='name']" position="before">
1616
<div name="button_box" class="oe_button_box">
@@ -29,6 +29,6 @@
2929
</button>
3030
</div>
3131
</xpath>
32-
</field>
33-
</record>
32+
</field>
33+
</record>
3434
</odoo>

edi_product_oca/views/product_views.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
/>
3434
</button>
3535
</div>
36-
37-
</field>
38-
</record>
36+
</field>
37+
</record>
3938
</odoo>

0 commit comments

Comments
 (0)