Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2789 Vistas

Just if it possible GUI

Avatar
Descartar
Mejor respuesta

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
Mejor respuesta

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 ​

Publicaciones relacionadas Respuestas Vistas Actividad
1
may 23
2129
1
feb 25
3241
1
jul 22
4246
4
jun 25
2027
1
jun 25
859