From 01a1aa4f0d6c0c7ee13765e49bce09dd148054c0 Mon Sep 17 00:00:00 2001 From: david-s73 Date: Mon, 11 Nov 2024 15:18:27 +0100 Subject: [PATCH] [MIG] sale_pricelist_triple_discount: Migration to 17.0 --- .../__manifest__.py | 2 +- .../tests/test_sale_order.py | 6 +- .../view/product_pricelist_item_views.xml | 60 +++---------------- 3 files changed, 13 insertions(+), 55 deletions(-) diff --git a/sale_pricelist_triple_discount/__manifest__.py b/sale_pricelist_triple_discount/__manifest__.py index 4ec4c97c0d4..31d14f73588 100644 --- a/sale_pricelist_triple_discount/__manifest__.py +++ b/sale_pricelist_triple_discount/__manifest__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Sale Pricelist Triple Discount", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "category": "Sale", "author": "Agile Business Group, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sale-workflow" diff --git a/sale_pricelist_triple_discount/tests/test_sale_order.py b/sale_pricelist_triple_discount/tests/test_sale_order.py index 4da7af5e6ba..0d54b7ff349 100644 --- a/sale_pricelist_triple_discount/tests/test_sale_order.py +++ b/sale_pricelist_triple_discount/tests/test_sale_order.py @@ -14,8 +14,10 @@ def setUpClass(cls): super().setUpClass() # Enable user groups to be able to set advanced fields using Form pricelist_groups = [ - "product.group_discount_per_so_line", # for product.pricelist.discount_policy - "product.group_sale_pricelist", # for product.pricelist.item.compute_price + # for product.pricelist.discount_policy + "product.group_discount_per_so_line", + # for product.pricelist.item.compute_price + "product.group_sale_pricelist", ] user = cls.env.user for pricelist_group in pricelist_groups: diff --git a/sale_pricelist_triple_discount/view/product_pricelist_item_views.xml b/sale_pricelist_triple_discount/view/product_pricelist_item_views.xml index 1ae043d505c..33a90fdc77f 100644 --- a/sale_pricelist_triple_discount/view/product_pricelist_item_views.xml +++ b/sale_pricelist_triple_discount/view/product_pricelist_item_views.xml @@ -13,40 +13,18 @@