From bd163d7bd4499f60d6e5b5aca6abedfeb354a4d5 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 9 Jul 2014 13:20:48 +0200 Subject: [PATCH] [FIX] product: allow user to set price at template creation The lst_price field on product.template is a related to list_price. As we do not allow to set a value for related fields at creation (see orm.py , L4180), we display the list_price instead (float field). On the product.product form, we display the lst_price (function field, readonly) as we don't want to allow changing the template price from the product. opw 609497 --- addons/product/product_view.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index ddecdea996b..b7d746c023f 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -69,7 +69,7 @@ - + @@ -268,6 +268,9 @@
Product Variant
+ + lst_price +