Odoo Help

Welcome!

This community 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.

0

How add drop down box in users application form

By
sridhar
on 3/18/14, 1:28 AM 788 views

Now i creating a module, I want to set access rights for the users. I followed the base way it come in check box for manager and user this one i dont want. I want Quality is a title User and Managers are in the group how to do it. Here is the code. <openerp> <data noupdate="0">

 <record model="ir.module.category" id="module_category_quality_management">
        <field name="name">Qualitysss</field>
        <field name="description">Quality Management</field>
        <field name="sequence">24</field>
    </record>

<record id="group_quality_user" model="res.groups">
    <field name="name">User</field>
    <field name="category_id" ref="module_category_quality_management"/>
    <field name="model_id" ref="model_quality_control"/>
    <field name="implied_ids" eval="[(4, ref('module_category_quality_management'))]"/>

</record>
<record id="group_quality_manager" model="res.groups">
    <field name="name">Manager</field>
    <field name="model_id" ref="model_quality_control"/>
    <field name="category_id" ref="module_category_quality_management"/>
    <field name="implied_ids" eval="[(4, ref('module_category_quality_management'))]"/>

</record>

</data> </openerp> Help me...

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/18/14, 1:28 AM
Seen: 788 times
Last updated: 3/16/15, 8:10 AM