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.

1

Exception: Module loading my_module failed: file my_module/security/ir.model.access.csv could not be processed: Line 1 : id nam

By
sridhar
on 3/17/14, 8:13 AM 1,300 views

I developed one small module in OpenERP 7 i have to try access permission to that form. i want two rights. User and the manager. so i created this file in the security folder like this. <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">19</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>

and in the CSV file put like this. id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink access_quality_control quality.control model_quality_control group_quality_manager 1 1 1 1, i get this error Exception: Module loading my_module failed: file my_module/security/ir.model.access.csv could not be processed: Line 1 : id name model_id how to solve this.

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/17/14, 8:13 AM
Seen: 1300 times
Last updated: 4/30/15, 5:34 AM