问题
How can I hide the Form View Based on User Access
I have created one user (student) in school Management System in openerp. The Admin user is the default user in OpenErp. Admin have all the access rights to acees the Tree view and Form View while How can I restrict the the student user to view only tree view.
My Question is how can i hide the Form View When the student user is logged into the system.I wanted to display only the the tree view when he or she is logged into the system while admin can display both the view like form and tree.
回答1:
Okay for that you have to assign a groups.
- First of all please create a group from Setting->Users->Groups
- Then on creating group, click on access write where you have to add your object and give whatever access write you have to give
- Then add users to a particular group.
来源:https://stackoverflow.com/questions/24401044/hide-the-form-view-in-openerp-formally-as-odoo