stock_usability: add location_id and location_dest_id in stock.move form view embedded in picking

This commit is contained in:
Alexis de Lattre
2022-07-06 15:44:58 +02:00
parent 27d86cf151
commit 372a18365c

View File

@@ -43,6 +43,10 @@
states="partially_available,assigned" states="partially_available,assigned"
icon="fa-ban"/> icon="fa-ban"/>
</xpath> </xpath>
<xpath expr="//field[@name='move_ids_without_package']/form//field[@name='product_uom']" position="after">
<field name="location_id" groups="stock.group_stock_multi_locations" domain="[('id', 'child_of', 'parent.location_id')]" options="{'no_create': True}"/>
<field name="location_dest_id" groups="stock.group_stock_multi_locations" domain="[('id', 'child_of', 'parent.location_dest_id')]" options="{'no_create': True}"/>
</xpath>
</field> </field>
</record> </record>