mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt putaway
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
<field name="model">product.putaway</field>
|
<field name="model">product.putaway</field>
|
||||||
<field name="inherit_id" ref="stock.view_putaway"/>
|
<field name="inherit_id" ref="stock.view_putaway"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//form" position="attributes">
|
||||||
|
<attribute name="create">false</attribute>
|
||||||
|
</xpath>
|
||||||
<xpath expr="//field[@name='name']" position="after">
|
<xpath expr="//field[@name='name']" position="after">
|
||||||
<field name="location_id" required="1" attrs="{'invisible': [('location_id', '!=', False)]}"/>
|
<field name="location_id" required="1" attrs="{'invisible': [('location_id', '!=', False)]}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
Reference in New Issue
Block a user