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

OpenERP Server Error__CRM module upgrade_it shows CRM is installed, but there're no Lead/Opportunity items in Sales menu !! [Closed]

By
Karolin Ar.
on 10/22/14, 5:12 AM 800 views

The Question has been closed for reason: not relevant or out dated

by
Ludo - Neobis
on 10/27/2014 11:08:10

OpenERP Server Error

Traceback (most recent call last):
  File "/opt/odoo/v8/server/openerp/http.py", line 470, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/v8/server/openerp/http.py", line 294, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/http.py", line 291, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/odoo/v8/server/openerp/http.py", line 638, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/v8/server/openerp/http.py", line 337, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1248, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/odoo/v8/web/addons/web/controllers/main.py", line 1236, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module
    openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/opt/odoo/v8/server/openerp/modules/registry.py", line 299, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 247, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 175, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/opt/odoo/v8/server/openerp/modules/loading.py", line 117, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/opt/odoo/v8/server/openerp/tools/convert.py", line 973, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/opt/odoo/v8/server/openerp/tools/convert.py", line 1059, in convert_xml_import
    obj.parse(doc.getroot())
  File "/opt/odoo/v8/server/openerp/tools/convert.py", line 926, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/opt/odoo/v8/server/openerp/tools/convert.py", line 855, in _tag_record
    id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/opt/odoo/v8/server/openerp/addons/base/ir/ir_model.py", line 1024, in _update
    },context=context)
  File "/opt/odoo/v8/server/openerp/osv/orm.py", line 4218, in create
    tuple([f[2] for f in columns if len(f) > 2])
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 156, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 221, in execute
    res = self._obj.execute(query, params)
ParseError: "duplicate key value violates unique constraint "ir_model_data_module_name_uniq"
DETAIL:  Key (name, module)=(section_sales_department_mail_alias, website) already exists.
" while parsing /opt/odoo/v8/addons/website_sale_crm/data/website_sale_crm.xml:5, near
<record model="crm.case.section" id="website.section_sales_department">
            <field name="name">Website</field>
            <field name="code">Website</field>
            <field name="alias_name">Website</field>
            <field name="member_ids" eval="[(4, ref('base.user_root'))]"/>
        </record>

canceled.

Karolin Ar.
on 10/27/14, 9:11 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/22/14, 5:12 AM
Seen: 800 times
Last updated: 3/16/15, 8:10 AM