From 38d64147d53de2c27503cae3097c1f96c5202f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 22 Jan 2014 10:58:26 +0100 Subject: [PATCH] [IMP] product: only template child / multiple template childs form view improvements - added a is_only_child field on product.product, telling whether the product is the only child of the product.template - improved the product form view, to set readonly all fields coming fgrom the template when the product is not the only child. This way, the user is more aware that changing a value in the template changes the value for all child products. He will have to do those changes on the template form. A link to the template has been added in the product form view. bzr revid: tde@openerp.com-20140122095826-8k0wl7af57iiyify --- addons/account/product_view.xml | 12 ++- addons/event_sale/event_sale_view.xml | 5 +- addons/procurement/procurement_view.xml | 14 ++-- addons/product/product.py | 8 ++ addons/product/product_view.xml | 79 ++++++++++++------- addons/purchase/purchase_view.xml | 3 +- .../report_intrastat_view.xml | 3 +- addons/stock/product_view.xml | 14 ++-- 8 files changed, 92 insertions(+), 46 deletions(-) diff --git a/addons/account/product_view.xml b/addons/account/product_view.xml index d5fb3fe3911..73b31bbb02a 100644 --- a/addons/account/product_view.xml +++ b/addons/account/product_view.xml @@ -11,12 +11,16 @@ - - + + - - + + diff --git a/addons/event_sale/event_sale_view.xml b/addons/event_sale/event_sale_view.xml index 33bd7d7469e..c7b507169da 100644 --- a/addons/event_sale/event_sale_view.xml +++ b/addons/event_sale/event_sale_view.xml @@ -8,10 +8,11 @@
-
- +
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index 5f0a0f8b6d0..e0f345943ac 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -292,7 +292,7 @@ - product.template.search.procurment + product.template.search.procurement product.template @@ -313,12 +313,12 @@ -

+

When you sell this service, nothing special will be triggered to deliver the customer, as you set the procurement method as 'Make to Stock'.

-

+

When you sell this product, OpenERP will use the available inventory for the delivery order.

@@ -326,7 +326,7 @@ will wait for new products. To fulfill the inventory, you should create others rules like orderpoints.

-

+

When you sell this product, a delivery order will be created. OpenERP will consider that the required quantities are always available as it's a consumable (as a result of this, the quantity @@ -360,8 +360,10 @@