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

Error upgrading base module

By
Tim
on 5/19/15, 7:17 PM 849 views

After I click the red "Upgrade" button for the base module, I get the following error message. Any idea how can I resolve this?


Odoo Server Error

Traceback (most recent call last):

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 530, in _handle_exception

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 567, in dispatch

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 303, in _call_function

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\service\model.py", line 113, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 300, in checked_call

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 796, in __call__

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\http.py", line 396, in response_wrap

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\openerp\addons\web\controllers\main.py", line 941, in call_button

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\openerp\addons\web\controllers\main.py", line 929, in _call_kw

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\openerp\addons\base\module\module.py", line 537, in button_immediate_upgrade

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\openerp\addons\base\module\module.py", line 498, in _button_immediate_function

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\modules\registry.py", line 370, in new

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\modules\loading.py", line 351, in load_modules

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\modules\loading.py", line 255, in load_marked_modules

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\modules\loading.py", line 176, in load_module_graph

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\modules\loading.py", line 118, in _load_data

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\tools\convert.py", line 901, in convert_file

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\tools\convert.py", line 987, in convert_xml_import

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\tools\convert.py", line 853, in parse

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\tools\convert.py", line 763, in _tag_record

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\openerp\addons\base\ir\ir_model.py", line 1089, in _update

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 336, in old_api

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\models.py", line 4074, in create

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 239, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\api.py", line 462, in new_api

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\models.py", line 4212, in _create

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\sql_db.py", line 158, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150519\server\.\openerp\sql_db.py", line 234, in execute

ParseError: "duplicate key value violates unique constraint "ir_model_data_module_name_uniq"

DETAIL: Key (name, module)=(default_template_user_res_partner, auth_signup) already exists.

" while parsing file:///C:/Program Files (x86)/Odoo 8.0-20150519/server/openerp/addons/auth_signup/auth_signup_data.xml:6, near

<record id="default_template_user" model="res.users">

<field name="name">Template User</field>

<field name="login">portaltemplate</field>

<!-- No password: this template user doesn't need to log in -->

<field name="password"/>

<field name="active" eval="False"/>

<!-- Avoid auto-including this user in any default group, just like a typical portal member -->

<field name="groups_id" eval="[(6, 0, [ref('base.group_portal')])]"/>

<!-- allow signuped users to have a alias -->

<field name="alias_name">_usertemplate</field>

</record

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

1 follower(s)

Stats

Asked: 5/19/15, 7:17 PM
Seen: 849 times
Last updated: 5/19/15, 7:17 PM