跳至内容
菜单
此问题已终结
2 回复
2842 查看

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
2197
1
2月 25
3312
1
7月 22
4299
4
6月 25
2114
1
6月 25
989