summaryrefslogtreecommitdiff
path: root/addons/product/views
diff options
context:
space:
mode:
authorTiffany Chang (tic) <tic@odoo.com>2020-02-17 15:03:54 +0000
committerTiffany Chang (tic) <tic@odoo.com>2020-03-05 13:04:10 +0000
commit99252f3d93ca68077e0169c580eaecb6fc8ce8fd (patch)
treecab40e8d6743773755f575d33e8d717228cb24ec /addons/product/views
parent70146bed17e013a3ecb6b89677060c707df6c546 (diff)
[IMP] stock/mrp: Update UX
This commit updates product, stock and manufacturing views for improved usability. Handles view only changes of overall usability improvement task. Specifically spec numbers: 1. Add "Run Scheduler" (from stock) to the manufacturing app under operations 5. Make "detailed operations" wizard modal have more intitutive footer buttons (i.e. don't say "Confirm"/"Cancel" when changes aren't possible. 8. Rearranging of vendor pricelist view 9. Updating of tooltip content for "property_stock_account_input_categ_id" Task: 2041853
Diffstat (limited to 'addons/product/views')
-rw-r--r--addons/product/views/product_views.xml58
1 files changed, 29 insertions, 29 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index df24d2def41..a23c62ce3cc 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -566,36 +566,36 @@
<field name="model">product.supplierinfo</field>
<field name="arch" type="xml">
<form string="Vendor Information">
- <group>
- <group name="vendor" string="Vendor">
- <field name="product_variant_count" invisible="1"/>
- <field name="name" context="{'res_partner_search_mode': 'supplier'}"/>
- <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
- </div>
- </group>
- <group string="Price List">
- <field name="product_tmpl_id" string="Product" invisible="context.get('visible_product_tmpl_id', True)"/>
- <label for="min_qty"/>
- <div class="o_row">
- <field name="min_qty"/>
- <field name="product_uom" groups="uom.group_uom"/>
- </div>
- <label for="price"/>
- <div class="o_row">
- <field name="price"/><field name="currency_id" groups="base.group_multi_currency"/>
- </div>
- <label for="date_start" string="Validity"/>
- <div class="o_row"><field name="date_start"/> to <field name="date_end"/></div>
- </group>
- <group string="Other Information" groups="base.group_multi_company">
- <field name="company_id" options="{'no_create': True}"/>
+ <sheet>
+ <group>
+ <group name="vendor" string="Vendor">
+ <field name="product_variant_count" invisible="1"/>
+ <field name="name" context="{'res_partner_search_mode': 'supplier'}"/>
+ <field name="product_name"/>
+ <field name="product_code"/>
+ <label for="delay"/>
+ <div>
+ <field name="delay" class="oe_inline"/> days
+ </div>
+ </group>
+ <group string="Pricelist">
+ <field name="product_tmpl_id" string="Product" invisible="context.get('visible_product_tmpl_id', True)"/>
+ <field name="product_id" groups="product.group_product_variant" domain="[('product_tmpl_id', '=', product_tmpl_id)]" options="{'no_create_edit': True}"/>
+ <label for="min_qty"/>
+ <div class="o_row">
+ <field name="min_qty"/>
+ <field name="product_uom" groups="uom.group_uom"/>
+ </div>
+ <label for="price" string="Unit Price"/>
+ <div class="o_row">
+ <field name="price"/><field name="currency_id" groups="base.group_multi_currency"/>
+ </div>
+ <label for="date_start" string="Validity"/>
+ <div class="o_row"><field name="date_start"/> to <field name="date_end"/></div>
+ <field name="company_id" options="{'no_create': True}"/>
+ </group>
</group>
- </group>
+ </sheet>
</form>
</field>
</record>