[FIX] stock: putaway strategy without location
Using Studio, create a menu for the Putaway Strategies, access its form view, edit the location field. Traceback. opw-2032144 closes odoo/odoo#34904 Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
This commit is contained in:
@@ -15,14 +15,14 @@
|
||||
<tree editable="bottom">
|
||||
<field name="sequence" widget='handle'/>
|
||||
<field name="product_id" required="1"/>
|
||||
<field name="fixed_location_id" domain="[('id', 'child_of', context.get('location_id'))]"/>
|
||||
<field name="fixed_location_id" domain="[('id', 'child_of', context.get('location_id', False))]"/>
|
||||
</tree>
|
||||
</field>
|
||||
<field name="fixed_location_ids" colspan="4" nolabel="1">
|
||||
<tree editable="bottom">
|
||||
<field name="sequence" widget='handle'/>
|
||||
<field name="category_id" required="1"/>
|
||||
<field name="fixed_location_id" domain="[('id', 'child_of', context.get('location_id'))]"/>
|
||||
<field name="fixed_location_id" domain="[('id', 'child_of', context.get('location_id', False))]"/>
|
||||
</tree>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user