[IMP] Issus#99 : The requested operation cannot be completed due to security restrictions
This commit is contained in:
parent
823c7409a5
commit
8a5c510fba
@ -170,7 +170,7 @@
|
||||
<field name="name">Picking type multi-branch</field>
|
||||
<field name="model_id" ref="model_stock_picking_type"/>
|
||||
<field name="global" eval="True"/>
|
||||
<field name="domain_force">['|',('warehouse_id.branch_id','=',False), '|', ('warehouse_id.branch_id','in',[branch for branch in user.branch_ids.ids]), ('warehouse_id.branch_id','=', user.default_branch_id.id)]
|
||||
<field name="domain_force">['|', ('warehouse_id','=',False), '|', ('warehouse_id.branch_id','=',False), '|', ('warehouse_id.branch_id','in',[branch for branch in user.branch_ids.ids]), ('warehouse_id.branch_id','=', user.default_branch_id.id)]
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user