I added a new table and a couple new fields via a module. Works great if I'm logged in as an admin, but regular users aren't seeing my new fields on the Qweb report. How can I make the fields show up, regardless of user type?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Examine the /Access Rights/ tab of the model you created via the *Settings --> Technical --> Database Structure --> Models* menu. Also, examine the same tab of a model already in Odoo. The tab shows which groups are allowed to READ, WRITE, CREATE, and DELETE records in the table. Without anything here, only the ADMIN user will be able to interact with the new table. https://doc.odoo.com/book/8/8_20_Config/8_20_Config_accessRights/#managing-access-rights [1] You can the examine the module that created the Odoo model and understand more about how to define these access rights, usualy done via a CSV file that looks something like: * name,group_id,perm_read,perm_write,perm_create,perm_unlink * res_partner group_partner_manager,base.group_partner_manager,TRUE,TRUE,TRUE,TRUE res_partner group_user,base.group_user,TRUE,FALSE,FALSE,FALSE (There are two access rights in this example - the first lets all users in the 'partner manager' READ, WRITE, CREATE and DELETE res_partner model records, but users in the 'user' group only READ res_partner model records). [1] https://doc.odoo.com/book/8/8_20_Config/8_20_Config_accessRights/#managing-access-rights
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
يونيو 21
|
8405 | ||
|
5
سبتمبر 23
|
50672 | ||
|
2
أكتوبر 22
|
6897 | ||
Sum on QWeb reports
تم الحل
|
|
3
مارس 21
|
44440 | |
|
11
مايو 18
|
12987 |