Skip to Content
Menú
This question has been flagged
2 Respostes
2806 Vistes

Just if it possible GUI

Avatar
Descartar
Best Answer

Hi,

Create a record rule in :

stock.picking.type

With a domain as following :

['|',('warehouse_id','=',user.property_warehouse_id.id),('warehouse_id','=',False)]

Good luck

--

oneodoo.com

Avatar
Descartar
Best Answer

Hi,

Create a record rule based on the default warehouse in users ,

Settings > Technical > Record Rules 

Create a new rule for the model warehouse 

add a domain as following 

[('id', '=', user.property_warehouse_id.id)]

where property_warehouse_id is the default warehouse of user

Hope it helps

Avatar
Descartar
Autor

Thats what i did but nothing change
Name default warehouse
Model Warehouse
Active ​

Access Rights

Apply for Read C : Yes​ Apply for Write : not​​
Apply for Create : not Apply for Delete : not​

Rule Definition (Domain Filter)
[('id', '=', user.property_warehouse_id.id)]
Groups (no group = global)
Global ​

Related Posts Respostes Vistes Activitat
1
de maig 23
2161
1
de febr. 25
3254
1
de jul. 22
4257
4
de juny 25
2052
1
de juny 25
899