From f1828e936766626d4b8790c5ddb334425af5e55b Mon Sep 17 00:00:00 2001
From: Bhavesh Heliconia
Date: Thu, 26 Dec 2024 10:28:54 +0530
Subject: [PATCH] [MIG] stock_picking_purchase_order_link: Migration to 18.0
---
stock_picking_purchase_order_link/README.rst | 17 +++++++++--------
.../__manifest__.py | 2 +-
.../readme/CONTRIBUTORS.md | 1 +
.../static/description/index.html | 18 +++++++++++-------
.../test_stock_picking_purchase_order_link.py | 3 ++-
5 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/stock_picking_purchase_order_link/README.rst b/stock_picking_purchase_order_link/README.rst
index 748c8e231d7c..3a08c6416521 100644
--- a/stock_picking_purchase_order_link/README.rst
+++ b/stock_picking_purchase_order_link/README.rst
@@ -17,13 +17,13 @@ Stock Picking Purchase Order Link
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
- :target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_purchase_order_link
+ :target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_purchase_order_link
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_purchase_order_link
+ :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_picking_purchase_order_link
: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/stock-logistics-workflow&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -53,7 +53,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.
@@ -68,9 +68,10 @@ Authors
Contributors
------------
-- Adria Gil Sorribes
-- Jaume Planas
-- Joan Mateu Jordi
+- Adria Gil Sorribes
+- Jaume Planas
+- Joan Mateu Jordi
+- ``Heliconia Solutions Pvt. Ltd. ``\ \_
Maintainers
-----------
@@ -85,6 +86,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/stock-logistics-workflow `_ project on GitHub.
+This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/stock_picking_purchase_order_link/__manifest__.py b/stock_picking_purchase_order_link/__manifest__.py
index d6407e0ea375..5520f611d542 100644
--- a/stock_picking_purchase_order_link/__manifest__.py
+++ b/stock_picking_purchase_order_link/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Stock Picking Purchase Order Link",
"summary": "Link between picking and purchase order",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "ForgeFlow S.L., Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
diff --git a/stock_picking_purchase_order_link/readme/CONTRIBUTORS.md b/stock_picking_purchase_order_link/readme/CONTRIBUTORS.md
index f4a7bcacf243..85f201862048 100644
--- a/stock_picking_purchase_order_link/readme/CONTRIBUTORS.md
+++ b/stock_picking_purchase_order_link/readme/CONTRIBUTORS.md
@@ -1,3 +1,4 @@
- Adria Gil Sorribes \<\>
- Jaume Planas \<\>
- Joan Mateu Jordi \<\>
+- `Heliconia Solutions Pvt. Ltd. `_
diff --git a/stock_picking_purchase_order_link/static/description/index.html b/stock_picking_purchase_order_link/static/description/index.html
index 05a6832a994f..fd88c5dc4643 100644
--- a/stock_picking_purchase_order_link/static/description/index.html
+++ b/stock_picking_purchase_order_link/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 @@ Stock Picking Purchase Order Link
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8e2d4c88ab7f2dca315135a58b55eb173715eb4cfd661f62a294547314c2f30f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
![Try me on Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)
+
![Try me on Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)
This module extends standard WMS to add a smart button in pickings to go
to purchase order that creates the picking.
Table of contents
@@ -400,7 +401,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.
This module is maintained by the OCA.
-
![Odoo Community Association](https://odoo-community.org/logo.png)
+
+
+
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/stock-logistics-workflow project on GitHub.
+
This module is part of the OCA/stock-logistics-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/stock_picking_purchase_order_link/tests/test_stock_picking_purchase_order_link.py b/stock_picking_purchase_order_link/tests/test_stock_picking_purchase_order_link.py
index a5ba3be958e9..39ebe9564241 100644
--- a/stock_picking_purchase_order_link/tests/test_stock_picking_purchase_order_link.py
+++ b/stock_picking_purchase_order_link/tests/test_stock_picking_purchase_order_link.py
@@ -20,7 +20,8 @@ def setUp(self):
self.product = self.product_product_obj.create(
{
"name": "product_template_obj - Test",
- "type": "product",
+ "type": "consu",
+ "is_storable": True,
"standard_price": 100.00,
}
)