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

AssertionError: External ID must be fully qualified in odoo

By
ashokd
on 10/11/15, 10:52 AM 775 views

I am working on Odoo CRM. I inherited CRM.lead I added some functionality I added new user roles to them.

Admin thing is working fine when I given user roles which I created now it's throwing error.

File ".........base/res/res_users.py", in has_group assert group_ext_id and '.' in group_ext_id, "External ID must be fully qualified"

"AssertionError: External ID must be fully qualified"

I tried but can't.

Help me if you know your valuable suggestion very help full for me.

1

Axel Mendoza

--Axel Mendoza--
10195
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 10/11/15, 1:35 PM

Indeed, you need to refer to the groups using the notation "module.group_id". For example if you wanna set an xml node to be able to see only by the "Employee" group defined on the module base like:

  <record model="res.groups" id="group_user">
<field name="name">Employee</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>

, you need to add to your xml node:

groups="base.group_user"

The admin user bypass pretty much all the security checks

Helpful?

Axel Mendoza
on 11/29/15, 2:58 AM

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

2 follower(s)

Stats

Asked: 10/11/15, 10:52 AM
Seen: 775 times
Last updated: 10/11/15, 1:36 PM