[FIX] mrp: location_id domain on mrp.routing
Steps to reproduce the bug: - Create a routing with a Product Location of type view - Create a MO with this routing - Click on "Plan" without clicking on "Check for Availability" - Complete the work orders - Go back to the MO and try to put it in state "Done" Bug: Impossible to set the MO on state "Done". By clicking on "Mark as Done", it returns: You cannot take products from or deliver products to a location of type "view" opw:803580
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
<field name="name"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="location_id" groups="stock.group_adv_location"/>
|
||||
<field name="location_id" groups="stock.group_adv_location" domain="[('usage', '!=', 'view')]"/>
|
||||
<field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user