Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
department orders
How is possible make record rule by hr.department? For example John can see ONLY orders where order owner is in same department as John?
Thanks
Without coding this is not possible.
Record Rules are based on the current user (res.user
) and the department is stored in the employee (hr.employee
). In the user there is not field which relates to the employee and therefore it is not possible to create a record rule for your requirement.
It would be possible if you add a function-field to the res.user
object which returns the related employee.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 2/26/13, 2:38 PM |
Seen: 1190 times |
Last updated: 3/16/15, 8:10 AM |