Skip to Content
Menu
This question has been flagged
2 Replies
2937 Rodiniai

Just if it possible GUI

Portretas
Atmesti
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

Portretas
Atmesti
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

Portretas
Atmesti
Autorius

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 Replies Rodiniai Veikla
1
geg. 23
2274
1
vas. 25
3351
1
liep. 22
4365
4
birž. 25
2194
1
birž. 25
1158