Odoo Help

0

How add drop down box in users application form

By
sridhar
on 3/18/14, 1:28 AM 1,009 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...

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

Question tools

0 follower(s)

Stats

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