Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
2881 Vues

Just if it possible GUI

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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 ​

Publications associées Réponses Vues Activité
1
mai 23
2235
1
févr. 25
3315
1
juil. 22
4314
4
juin 25
2134
1
juin 25
1029