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.
I add a menu "password" and a screen in Projects as follows
<record id="view_password" model="ir.ui.view">
<field name="arch" type="xml">
<kanban quick_create="false" create="true" delete="true">
<div style="position: relative">
<a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>
<img t-att-src="kanban_image('res.users', 'image_small', record.id.value)" class="oe_avatar oe_kanban_avatar_smallbox"/>
<record id="project_password_action" model="ir.actions.act_window">
<menuitem action="project_password_action" id="menu_passwords" name="Password" parent="menu_project_management" groups="group_project_manager,group_project_user"/>
But i cant see the menu while im a user in the group "group_project_user"
yes,,, this is security in odoo....
the stable approach i will guide is ir.model.access.csv,
Go to settings-->users-->groups
In that chose all the groups for whom you should give access... click export ... window appears in that select name and add then click export to file ...
now a file will be generated modify it same as some eg ir.model.access.csv files then add it in __openerp__.py file then update & upgrade.....
see this link
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/20/15, 12:14 AM|
|Seen: 516 times|
|Last updated: 3/16/15, 8:10 AM|