Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2954 มุมมอง

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 ​

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 23
2312
Tooltips wont show up ODOO15 แก้ไขแล้ว
1
ก.พ. 25
3359
1
ก.ค. 22
4375
1
ก.ย. 25
1953
4
มิ.ย. 25
2219