Today, after a fresh install of Odoo v9, I get the attached error when trying to create a new database. The error is:
Database creation error: "Mixing apples and oranges: None in res.groups(5, 4)" while parsing /opt/odoo/openerp/addons/base/security/base_security.xml:18, near<record model="res.groups" id="group_system">
<field name="implied_ids" eval="[(4, ref('group_erp_manager'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
I have confirmed everything and my odoo-server.conf is:
admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = admin
addons_path = /opt/odoo/addons
User odoo is already created on postgresql and the password set is "admin".
This is not the first time I install odoo 9 using the method used, and never had problem like this.
What could be the reason?
Hi Paulo Matos,
You need to add one more path in addons (ie) /opt/odoo/openerp/addons
This path contains the base modules
Thats why the error raising while accessing the base group
After editing your addons path look like this addons_path = addons_path = /opt/odoo/addons, /opt/odoo/openerp/addons
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
|Asked: 10/8/15, 4:26 PM|
|Seen: 1002 times|
|Last updated: 10/9/15, 7:00 AM|