コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2904 ビュー

Just if it possible GUI

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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 ​

関連投稿 返信 ビュー 活動
1
5月 23
2253
1
2月 25
3328
1
7月 22
4327
4
6月 25
2148
1
6月 25
1049