From 1c4825294bdf975ba7f75340e63afdbfb7592fd7 Mon Sep 17 00:00:00 2001
From: Denis Ledoux <dle@openerp.com>
Date: Tue, 3 Jun 2014 15:03:13 +0200
Subject: [PATCH] [FIX] product: product_variant group does not exist anymore

Therefore, the pricelist item view must show the field product_tmpl_id in any case
---
 addons/product/pricelist_view.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml
index 8d725b3beeee..bb4b2b0129b9 100644
--- a/addons/product/pricelist_view.xml
+++ b/addons/product/pricelist_view.xml
@@ -74,7 +74,7 @@
                     <field name="sequence"/>
                     <field colspan="4" name="name"/>
                     <field name="product_id"/>
-                    <field name="product_tmpl_id" groups="product.group_product_variant"/>
+                    <field name="product_tmpl_id"/>
                     <field name="categ_id"/>
                     <field name="min_quantity"/>
                     <field name="base"/>
@@ -92,7 +92,7 @@
 
                     <group col="4">
                         <field name="product_id" on_change="product_id_change(product_id)"/>
-                        <field name="product_tmpl_id" groups="product.group_product_variant"/>
+                        <field name="product_tmpl_id"/>
                         <field name="categ_id"/>
                         <field name="company_id" groups="base.group_multi_company" widget="selection"/>
                         <field name="min_quantity"/>
-- 
GitLab