Odoo Help


Groups on module installation [Closed]

Luis Domingues
on 4/17/13, 7:24 AM 2,126 views

The Question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
on 04/18/2013 05:08:08


I create my own module, and I need to have groups.

I have the ir.model.access.csv like this:


And I have the group on the xml view like this:

<menuitem name="Personal Schedule" sequence="21" id="personal_schedule" action="show_personal_schedule" parent="menu_staff_planification" groups="group_staff_management_user"/>

So if I add the security after the installation, it works, but if I want to intall all in one, I always have an error, in the process of ir.model.access, or on the xml view.

I found on the internet theory about, but not a good example.

Have you an idea, or good links to manage groups?

My Error is:

"No matching record found for external id 'personal_schedule' in field 'Object'."

My __openerp__.py is:

"name" : "Staff Management",
"version" : "0.1",
"author" : "Luis Domingues & Romain Monnard",
"category" : "Tools",
"description" : "Management of time and task of staff.",
"depends" : [
"js": [
"css": ['static/*/css/*.css'],
"init_xml" : [],
"demo_xml" : [],
"data" : [
"installable" : True,
"active" : False,
"qweb" : ['static/*/xml/*.xml']



What error are you facing?

Sudhir Arya (ERP Harbor Consulting Services)
on 4/17/13, 7:29 AM

"No matching record found for external id 'personal_schedule' in field 'Object'."

Luis Domingues
on 4/17/13, 7:30 AM

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 4/17/13, 7:36 AM

In your ir.model.access.csv file you must use model_staff_scheduler instead of personal_schedule.

For example in purchase:


Here model_id is given as model_object_name.

Thanks, it works.

Luis Domingues
on 4/17/13, 8:18 AM

My pleasure.

Sudhir Arya (ERP Harbor Consulting Services)
on 4/17/13, 8:19 AM

Francesco OpenCode

--Francesco OpenCode--

| 6 8 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 4/17/13, 7:27 AM

Are you sure you're import the file in this order:



in your __openerp__.py file?

Yes, my error is:

"No matching record found for external id 'personal_schedule' in field 'Object'."

Like OpenERP need the id on the xml view, but he don't find him.

Luis Domingues
on 4/17/13, 7:28 AM

Can you paste your __openerp__.py file content, please?

Francesco OpenCode
on 4/17/13, 7:31 AM

I paste it on the main question.

Luis Domingues
on 4/17/13, 7:33 AM

Try this line: "access_perso_schedule","staff.scheduler","model_personal_schedule","group_staff_management_user",1,1,1,1

Francesco OpenCode
on 4/17/13, 7:42 AM

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.


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)


Asked: 4/17/13, 7:24 AM
Seen: 2126 times
Last updated: 3/16/15, 8:10 AM