[FIX] mrp: domain in picking type
Limit the picking type domain to 'Manufacturing Operation'. opw-760246
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
<page string="Miscellaneous">
|
||||
<group>
|
||||
<group groups="stock.group_stock_multi_locations">
|
||||
<field name="picking_type_id" attrs="{'readonly': [('has_moves', '=', True)]}"/>
|
||||
<field name="picking_type_id" domain="[('code', '=', 'mrp_operation')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
|
||||
<field name="location_src_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
|
||||
<field name="location_dest_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user