From 79b8e991175ce9f87d846bf52055d2f4a6988ff2 Mon Sep 17 00:00:00 2001
From: "Leonardo J. Caballero G"
Date: Mon, 13 Jan 2025 22:30:03 +0100
Subject: [PATCH] [ADD] Added more improvements about QA checking on the
sale_order_secondary_unit addon
---
sale_order_secondary_unit/README.rst | 14 +++++++-----
.../static/description/index.html | 22 +++++++++++++------
.../views/product_views.xml | 6 ++++-
.../odoo/addons/sale_order_secondary_unit | 1 +
setup/sale_order_secondary_unit/setup.py | 6 +++++
5 files changed, 36 insertions(+), 13 deletions(-)
create mode 120000 setup/sale_order_secondary_unit/odoo/addons/sale_order_secondary_unit
create mode 100644 setup/sale_order_secondary_unit/setup.py
diff --git a/sale_order_secondary_unit/README.rst b/sale_order_secondary_unit/README.rst
index c2c79659b56..11b01cd5026 100644
--- a/sale_order_secondary_unit/README.rst
+++ b/sale_order_secondary_unit/README.rst
@@ -17,13 +17,13 @@ Sale Order Secondary Unit
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
- :target: https://github.com/OCA/sale-workflow/tree/15.0/sale_order_secondary_unit
+ :target: https://github.com/OCA/sale-workflow/tree/16.0/sale_order_secondary_unit
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_secondary_unit
+ :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_secondary_unit
: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/sale-workflow&target_branch=15.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -61,7 +61,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.
@@ -71,6 +71,7 @@ Credits
Authors
~~~~~~~
+* Guavana
* Tecnativa
Contributors
@@ -85,6 +86,9 @@ Contributors
* Sergio Teruel
* Ernesto Tejeda
* Pedro M. Baeza
+* `Guavana `_:
+
+ * Leonardo J. Caballero G.
Maintainers
~~~~~~~~~~~
@@ -99,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/sale-workflow `_ project on GitHub.
+This module is part of the `OCA/sale-workflow `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/sale_order_secondary_unit/static/description/index.html b/sale_order_secondary_unit/static/description/index.html
index 24450e9dbac..7c4b6175ef6 100644
--- a/sale_order_secondary_unit/static/description/index.html
+++ b/sale_order_secondary_unit/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,7 +369,7 @@ Sale Order Secondary Unit
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b45b7689ba054c6a06dd97d394e18a22648e8133bb9cb1bb49ae3e8025df6bd3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module extends the functionality of sale orders to allow sale products in
secondary unit of distinct category.
Table of contents
@@ -409,7 +410,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.
@@ -417,6 +418,7 @@
@@ -433,16 +435,22 @@
Pedro M. Baeza
+
Guavana:
+- Leonardo J. Caballero G.
+
+
This module is maintained by the OCA.
-
+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-
This module is part of the OCA/sale-workflow project on GitHub.
+
This module is part of the OCA/sale-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/sale_order_secondary_unit/views/product_views.xml b/sale_order_secondary_unit/views/product_views.xml
index 3ff5986ba77..b5cc744f329 100644
--- a/sale_order_secondary_unit/views/product_views.xml
+++ b/sale_order_secondary_unit/views/product_views.xml
@@ -9,7 +9,11 @@
-
+
diff --git a/setup/sale_order_secondary_unit/odoo/addons/sale_order_secondary_unit b/setup/sale_order_secondary_unit/odoo/addons/sale_order_secondary_unit
new file mode 120000
index 00000000000..c1ca3bc48b3
--- /dev/null
+++ b/setup/sale_order_secondary_unit/odoo/addons/sale_order_secondary_unit
@@ -0,0 +1 @@
+../../../../sale_order_secondary_unit
\ No newline at end of file
diff --git a/setup/sale_order_secondary_unit/setup.py b/setup/sale_order_secondary_unit/setup.py
new file mode 100644
index 00000000000..28c57bb6403
--- /dev/null
+++ b/setup/sale_order_secondary_unit/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)