From 33779c604ebb3df676c8e463dda3ff54890f1f22 Mon Sep 17 00:00:00 2001
From: Bhavesh Heliconia
Date: Mon, 20 Jan 2025 17:05:23 +0530
Subject: [PATCH] [MIG] stock_picking_partner_note: Migration to 18.0
---
stock_picking_partner_note/README.rst | 14 +++++++++-----
stock_picking_partner_note/__manifest__.py | 2 +-
.../models/stock_picking_note.py | 2 +-
stock_picking_partner_note/readme/CONTRIBUTORS.md | 2 ++
.../static/description/index.html | 10 +++++++---
stock_picking_partner_note/views/res_partner.xml | 6 +++---
.../views/stock_picking_note_type.xml | 6 +++---
7 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/stock_picking_partner_note/README.rst b/stock_picking_partner_note/README.rst
index 92656482888e..aef8e84b17df 100644
--- a/stock_picking_partner_note/README.rst
+++ b/stock_picking_partner_note/README.rst
@@ -17,13 +17,13 @@ Stock Picking Partner Note
: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_partner_note
+ :target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_partner_note
: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_partner_note
+ :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_picking_partner_note
: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|
@@ -57,7 +57,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.
@@ -79,6 +79,10 @@ Contributors
- Andrea Stirpe
+- `Heliconia Solutions Pvt. Ltd. `__
+
+ - Bhavesh Heliconia
+
Maintainers
-----------
@@ -92,6 +96,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_partner_note/__manifest__.py b/stock_picking_partner_note/__manifest__.py
index ca12d2c88531..9ac89d879582 100644
--- a/stock_picking_partner_note/__manifest__.py
+++ b/stock_picking_partner_note/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Stock Picking Partner Note",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"development_status": "Beta",
"category": "Product",
"summary": "Add partner notes on picking",
diff --git a/stock_picking_partner_note/models/stock_picking_note.py b/stock_picking_partner_note/models/stock_picking_note.py
index 5ebfbf51489b..1df91aee687a 100644
--- a/stock_picking_partner_note/models/stock_picking_note.py
+++ b/stock_picking_partner_note/models/stock_picking_note.py
@@ -14,7 +14,7 @@ class StockPickingNote(models.Model):
name = fields.Text(required=True)
active = fields.Boolean(default=True)
note_type_id = fields.Many2one("stock.picking.note.type", required=True)
- sequence = sequence = fields.Integer(related="note_type_id.sequence", store=True)
+ sequence = fields.Integer(related="note_type_id.sequence", store=True)
def write(self, vals):
self.check_note_already_in_use()
diff --git a/stock_picking_partner_note/readme/CONTRIBUTORS.md b/stock_picking_partner_note/readme/CONTRIBUTORS.md
index 77dda21fcce0..a40747cc1782 100644
--- a/stock_picking_partner_note/readme/CONTRIBUTORS.md
+++ b/stock_picking_partner_note/readme/CONTRIBUTORS.md
@@ -2,3 +2,5 @@
- Jacques-Etienne Baudoux \<\>
- [360ERP](https://www.360erp.com):
- Andrea Stirpe
+- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
+ - Bhavesh Heliconia
diff --git a/stock_picking_partner_note/static/description/index.html b/stock_picking_partner_note/static/description/index.html
index 8040b9ce877d..4a7e37b29180 100644
--- a/stock_picking_partner_note/static/description/index.html
+++ b/stock_picking_partner_note/static/description/index.html
@@ -369,7 +369,7 @@ Stock Picking Partner Note
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5a5a119bba72e1a7767ffe5f0921a933590dcde83f8334cd54c4868c64afe699
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
![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)
Allow to record a message for the person in charge of order preparation
at the level of the customer, then have it as a note on the picking
transfer. This reuses the existing note field on the picking and will
@@ -405,7 +405,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.
@@ -437,7 +441,7 @@
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_partner_note/views/res_partner.xml b/stock_picking_partner_note/views/res_partner.xml
index 81cb99253248..95a5b3bd0afb 100644
--- a/stock_picking_partner_note/views/res_partner.xml
+++ b/stock_picking_partner_note/views/res_partner.xml
@@ -15,12 +15,12 @@
widget="one2many_list"
nolabel="1"
colspan="2"
- mode="tree"
+ mode="list"
>
-
+
-
+
diff --git a/stock_picking_partner_note/views/stock_picking_note_type.xml b/stock_picking_partner_note/views/stock_picking_note_type.xml
index 8000067f196b..f31e64f6db2c 100644
--- a/stock_picking_partner_note/views/stock_picking_note_type.xml
+++ b/stock_picking_partner_note/views/stock_picking_note_type.xml
@@ -4,10 +4,10 @@
stock.picking.note.type.tree
stock.picking.note.type
-
+
-
+
@@ -26,7 +26,7 @@
Stock Picking Note Types
stock.picking.note.type
- tree,form
+ list,form
[]
{}