In my company, there are 30 warehouses. all users can access all warehouses. But I want to assign user to each respective warehouse. I do not want to show others.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
4
الردود
8455
أدوات العرض
I did all the steps below, but the user gets the following error when creating a pre-invoice or purchase order. How can I solve this problem?
psycopg2.DataError: invalid input syntax for integer: "w.id for w in user.x_warehouse_ids" LINE 1: ...mpany_id" in (1)) AND ("stock_warehouse"."id" in ('w.id for ...
it works perfect , thanks for support
This has to be done using record rules and access groups. Refer the Odoo documentation in the below link
https://www.odoo.com/documentation/15.0/developer/howtos/rdtraining/B_acl_irrules.html
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
مارس 24
|
1179 | ||
|
0
يوليو 25
|
387 | ||
|
4
يوليو 25
|
4876 | ||
|
0
سبتمبر 24
|
1059 | ||
|
3
أغسطس 23
|
3978 |
For those who faced the same requirement: this app - https://apps.odoo.com/apps/modules/15.0/stock_limitation/ - lets assign users for stock locations