summaryrefslogtreecommitdiff
path: root/addons/product/views/product_views.xml
diff options
context:
space:
mode:
authorsvs-odoo <svs@odoo.com>2019-10-01 09:05:44 +0000
committersvs-odoo <svs@odoo.com>2019-10-01 14:24:02 +0000
commiteb7db0c8b8be704cf7a22d5e76c166f796c04f33 (patch)
tree6004600098ec3b85a8042a8da972bf70182090ab /addons/product/views/product_views.xml
parent97bb455c066e0111a6c955fbdeb5edd95ee9a4fc (diff)
[IMP] product: editable supplier price list view
Task #2078163
Diffstat (limited to 'addons/product/views/product_views.xml')
-rw-r--r--addons/product/views/product_views.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index 728451e496d..d91feebaf53 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -653,15 +653,18 @@
<field name="name">product.supplierinfo.tree.view</field>
<field name="model">product.supplierinfo</field>
<field name="arch" type="xml">
- <tree string="Vendor Information">
- <field name="sequence" widget="handle"/>
- <field name="name"/>
- <field name="product_id" invisible="context.get('product_template_invisible_variant', False)" groups="product.group_product_variant" optional="hide"/>
- <field name="product_tmpl_id" string="Product" invisible="context.get('visible_product_tmpl_id', True)"/>
+ <tree string="Vendor Information" multi_edit="1">
+ <field name="sequence" widget="handle" readonly="1"/>
+ <field name="name" readonly="1"/>
+ <field name="product_id" readonly="1" optional="hide"
+ invisible="context.get('product_template_invisible_variant', False)"
+ groups="product.group_product_variant"/>
+ <field name="product_tmpl_id" string="Product" readonly="1"
+ invisible="context.get('visible_product_tmpl_id', True)"/>
<field name="currency_id" groups="base.group_multi_currency"/>
<field name="date_start" optional="hide"/>
<field name="date_end" optional="hide"/>
- <field name="company_id" groups="base.group_multi_company"/>
+ <field name="company_id" readonly="1" groups="base.group_multi_company"/>
<field name="min_qty"/>
<field name="product_uom" groups="uom.group_uom"/>
<field name="price" string="Price"/>