summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-05-07 07:38:56 +0000
committerWilliam Henrotin <whe@odoo.com>2019-05-08 08:03:36 +0000
commite28cc1775d9d6df65b209874896c84b6fcab4e8d (patch)
tree7ed4cf208463d499d0ba5851ccee0c4ef9625e38
parent02e537e52e9027f9082947631123d91087b962b0 (diff)
[IMP] stock: supplier info view clean up
Required field should be asked before optional ones Task : 1940358
-rw-r--r--addons/product/views/product_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index c591e0ada74..40eeff94d2d 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -643,10 +643,10 @@
<group>
<group name="vendor" string="Vendor">
<field name="product_variant_count" invisible="1"/>
- <field name="product_id" groups="product.group_product_variant" domain="[('product_tmpl_id', '=', product_tmpl_id)]" options="{'no_create_edit': True}"/>
<field name="name" context="{'default_customer': 0, 'search_default_supplier': 1, 'default_supplier': 1}"/>
<field name="product_name"/>
<field name="product_code"/>
+ <field name="product_id" groups="product.group_product_variant" domain="[('product_tmpl_id', '=', product_tmpl_id)]" options="{'no_create_edit': True}"/>
<label for="delay"/>
<div>
<field name="delay" class="oe_inline"/> days