diff --git a/product_pack/__manifest__.py b/product_pack/__manifest__.py index dffdacfb3..c83c60be8 100644 --- a/product_pack/__manifest__.py +++ b/product_pack/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Product Pack", - "version": "17.0.2.0.0", + "version": "18.0.1.0.0", "category": "Product", "summary": "This module allows you to set a product as a Pack", "website": "https://github.com/OCA/product-pack", diff --git a/product_pack/models/product_pack_line.py b/product_pack/models/product_pack_line.py index 45e17e60f..ae0456259 100644 --- a/product_pack/models/product_pack_line.py +++ b/product_pack/models/product_pack_line.py @@ -75,7 +75,6 @@ def _pack_line_price_compute( # If the component is a pack for pack in packs: pack_prices[pack.id] = pack.lst_price - # else no_pack_prices = no_packs._price_compute( price_type, uom, currency, company, date diff --git a/product_pack/views/product_pack_line_views.xml b/product_pack/views/product_pack_line_views.xml index 374d4bb63..ba9e0af87 100644 --- a/product_pack/views/product_pack_line_views.xml +++ b/product_pack/views/product_pack_line_views.xml @@ -14,14 +14,14 @@ - - product.pack.line.tree + + product.pack.line.list product.pack.line - + - + diff --git a/product_pack/views/product_template_views.xml b/product_pack/views/product_template_views.xml index e24a676e8..d14f923bc 100644 --- a/product_pack/views/product_template_views.xml +++ b/product_pack/views/product_template_views.xml @@ -46,18 +46,13 @@ name="invisible" >product_variant_count > 1 or not pack_ok - - - -

You must save first to add pack lines

-
- + + + +

You must save first to add pack lines

+ +