From a1f6631bcb8b9cd2269365edf3c0b99816485aca Mon Sep 17 00:00:00 2001
From: Heliconia Solutions
Date: Mon, 2 Dec 2024 10:02:50 +0530
Subject: [PATCH] [MIG] product_pricelist_revision: Migration to 18.0
---
product_pricelist_revision/README.rst | 24 ++++++++++---------
product_pricelist_revision/__manifest__.py | 2 +-
.../readme/CONTRIBUTORS.md | 1 +
.../security/ir.model.access.csv | 2 +-
.../static/description/index.html | 7 +++---
.../views/pricelist_view.xml | 10 ++++----
6 files changed, 25 insertions(+), 21 deletions(-)
diff --git a/product_pricelist_revision/README.rst b/product_pricelist_revision/README.rst
index a2f89560e69..ec8eef11afc 100644
--- a/product_pricelist_revision/README.rst
+++ b/product_pricelist_revision/README.rst
@@ -17,13 +17,13 @@ Product Pricelist Revision
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
- :target: https://github.com/OCA/product-attribute/tree/17.0/product_pricelist_revision
+ :target: https://github.com/OCA/product-attribute/tree/18.0/product_pricelist_revision
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_pricelist_revision
+ :target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_revision
: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/product-attribute&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -69,7 +69,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.
@@ -84,15 +84,17 @@ Authors
Contributors
------------
-- `Tecnativa `__:
+- `Tecnativa `__:
- - Carlos Dauden
- - Ernesto Tejeda
- - Carlos Roca
+ - Carlos Dauden
+ - Ernesto Tejeda
+ - Carlos Roca
-- `Binhex `__:
+- `Binhex `__:
- - Mario Luis
+ - Mario Luis
+
+- Heliconia Solutions Pvt. Ltd.
Maintainers
-----------
@@ -107,6 +109,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/product-attribute `_ project on GitHub.
+This module is part of the `OCA/product-attribute `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/product_pricelist_revision/__manifest__.py b/product_pricelist_revision/__manifest__.py
index d0641921fa6..5cb5dbdc680 100644
--- a/product_pricelist_revision/__manifest__.py
+++ b/product_pricelist_revision/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Product Pricelist Revision",
"summary": "Product Pricelist Revision",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"category": "Product",
"website": "https://github.com/OCA/product-attribute",
"author": "Tecnativa, Odoo Community Association (OCA)",
diff --git a/product_pricelist_revision/readme/CONTRIBUTORS.md b/product_pricelist_revision/readme/CONTRIBUTORS.md
index cee52d19e67..c25afc551bc 100644
--- a/product_pricelist_revision/readme/CONTRIBUTORS.md
+++ b/product_pricelist_revision/readme/CONTRIBUTORS.md
@@ -6,3 +6,4 @@
- [Binhex](https://binhex.cloud/):
- Mario Luis
+- Heliconia Solutions Pvt. Ltd. \<\>
diff --git a/product_pricelist_revision/security/ir.model.access.csv b/product_pricelist_revision/security/ir.model.access.csv
index 6ca839c0823..775a998dbe4 100644
--- a/product_pricelist_revision/security/ir.model.access.csv
+++ b/product_pricelist_revision/security/ir.model.access.csv
@@ -1,2 +1,2 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_product_pricelist_item_duplicate_wizard","access_product_pricelist_item_duplicate_wizard","model_product_pricelist_item_duplicate_wizard","product.group_sale_pricelist",1,1,1,1
+"access_product_pricelist_item_duplicate_wizard","access_product_pricelist_item_duplicate_wizard","model_product_pricelist_item_duplicate_wizard","product.group_product_pricelist",1,1,1,1
diff --git a/product_pricelist_revision/static/description/index.html b/product_pricelist_revision/static/description/index.html
index 5f53919de10..f29a5e8a2f7 100644
--- a/product_pricelist_revision/static/description/index.html
+++ b/product_pricelist_revision/static/description/index.html
@@ -369,7 +369,7 @@ Product Pricelist Revision
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7da93bce7436a30dc08dc0a09af3a517289502c3ed6b9e6eca8de9dfd982b90f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module adds a ‘Pricelist items’ tree view that allows to select
several elements to version them and also to see the percentage ‘fixed
price’ variation between a version and the previous one.
@@ -418,7 +418,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.
@@ -453,7 +454,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/product-attribute project on GitHub.
+
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/product_pricelist_revision/views/pricelist_view.xml b/product_pricelist_revision/views/pricelist_view.xml
index afc56170525..5b6bee70bfc 100644
--- a/product_pricelist_revision/views/pricelist_view.xml
+++ b/product_pricelist_revision/views/pricelist_view.xml
@@ -7,9 +7,9 @@
primary
-
+
bottom
-
+
show
pricelist_id != False
@@ -84,13 +84,13 @@
Pricelist Items
ir.actions.act_window
product.pricelist.item
- tree,form
+ list,form