[IMP] stock: procurement view

Only display the warehouse field on the procurement form view when the
user is working with multiple warehouses.
This commit is contained in:
Dhaval Panchal
2017-02-17 13:21:58 +01:00
committed by Simon Lejeune
parent 5c837dec2a
commit db3ebcbc9a
+1 -1
View File
@@ -20,7 +20,7 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='scheduling']" position="before">
<group>
<field name="warehouse_id"/>
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
<field name="location_id" domain="[('usage', '=', 'internal')]"/>
<field name="route_ids" widget="many2many_tags" groups="stock.group_adv_location"/>
</group>