Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2808 Widoki

Just if it possible GUI

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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 ​

Powiązane posty Odpowiedzi Widoki Czynność
1
maj 23
2165
1
lut 25
3258
1
lip 22
4258
4
cze 25
2053
1
cze 25
906