Display more fields on stock.quant form view
Better search view on partners
This commit is contained in:
@@ -50,7 +50,9 @@
|
||||
<field name="inherit_id" ref="base.view_res_partner_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="attributes">
|
||||
<attribute name="string">Name or Email</attribute>
|
||||
<attribute name="string">Name or Email or Reference</attribute>
|
||||
<!-- for 'ref', change '=' to 'start with' -->
|
||||
<attribute name="filter_domain">['|','|',('display_name','ilike',self),('ref','=ilike',self + '%'),('email','ilike',self)]</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -54,5 +54,16 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_stock_quant_form" model="ir.ui.view">
|
||||
<field name="name">mrp_usability.stock.quant.form</field>
|
||||
<field name="model">stock.quant</field>
|
||||
<field name="inherit_id" ref="stock.view_stock_quant_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="history_ids" position="after">
|
||||
<field name="consumed_quant_ids" readonly="1" string="Consumed Quants"/>
|
||||
<field name="produced_quant_ids" readonly="1" string="Produced Quants"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user