Merge branch 'master-stock' into 'master'

[IMP] Issus#99 : The requested operation cannot be completed due to security restrictions

See merge request flectra-hq/flectra!116
This commit is contained in:
Parthiv Patel 2018-07-23 12:25:49 +00:00
commit b3063ab3e1

View File

@ -170,7 +170,7 @@
<field name="name">Picking type multi-branch</field> <field name="name">Picking type multi-branch</field>
<field name="model_id" ref="model_stock_picking_type"/> <field name="model_id" ref="model_stock_picking_type"/>
<field name="global" eval="True"/> <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> </field>
</record> </record>