diff options
| author | Christophe Matthieu <chm@odoo.com> | 2014-06-03 11:13:50 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2014-06-03 11:13:50 +0200 |
| commit | da6f02027a65244405b69b595dbdb6467e0aaabc (patch) | |
| tree | c263f4de628e3fd19ff7eb9a811351448b030997 /addons | |
| parent | caf4bf77bc568070636f6c2e2d4c90235e98e919 (diff) | |
[FIX] product: set required at false for product template field when creating a product product.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/product/product_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 9b5770a565d..ddecdea996b 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -270,7 +270,7 @@ </form> <field name="name" position="replace"> <field name="name" attrs="{'invisible': [('id', '!=', False)]}"/> - <field name="product_tmpl_id" class="oe_inline" readonly="1" attrs="{'invisible': [('id', '=', False)]}"/> + <field name="product_tmpl_id" class="oe_inline" readonly="1" attrs="{'invisible': [('id', '=', False)], 'required': [('id', '!=', False)]}"/> </field> <xpath expr="//div[@class='oe_title']" position="inside"> <field name="attribute_value_ids" widget="many2many_tags"/> |
