Skip to Content
Menu
This question has been flagged
2563 Views

Hello,


I am updating odoo 11 core version to latest one. But while updating database below error occured.

What is the issue related for?


2020-03-17 04:18:21,571 7884 WARNING bluemon_datamigration odoo.modules.loading: Transient module states were reset

2020-03-17 04:18:21,572 7884 ERROR bluemon_datamigration odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

  File "/opt/odoo-new/odoo/modules/registry.py", line 85, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "/opt/odoo-new/odoo/modules/loading.py", line 376, in load_modules

    force, status, report, loaded_modules, update_module, models_to_check)

  File "/opt/odoo-new/odoo/modules/loading.py", line 274, in load_marked_modules

    perform_checks=perform_checks, models_to_check=models_to_check

  File "/opt/odoo-new/odoo/modules/loading.py", line 181, in load_module_graph

    _load_data(cr, module_name, idref, mode, kind='data')

  File "/opt/odoo-new/odoo/modules/loading.py", line 95, in _load_data

    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

  File "/opt/odoo-new/odoo/tools/convert.py", line 792, in convert_file

    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

  File "/opt/odoo-new/odoo/tools/convert.py", line 853, in convert_xml_import

    obj.parse(doc.getroot(), mode=mode)

  File "/opt/odoo-new/odoo/tools/convert.py", line 742, in parse

    self.parse(rec, mode)

  File "/opt/odoo-new/odoo/tools/convert.py", line 752, in parse

    exc_info[2]

  File "/opt/odoo-new/odoo/tools/convert.py", line 745, in parse

    self._tags[rec.tag](rec, de, mode=mode)

  File "/opt/odoo-new/odoo/tools/convert.py", line 655, in _tag_record

    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)

  File "/opt/odoo-new/odoo/addons/base/ir/ir_model.py", line 1517, in _update

    record = record.create(values)

  File "/opt/odoo-new/addons/hr/models/hr.py", line 317, in create

    department = super(Department, self.with_context(mail_create_nosubscribe=True)).create(vals)

  File "/opt/odoo-new/addons/mail/models/mail_thread.py", line 242, in create

    thread.message_post(body=_('%s created') % doc_name)

  File "/opt/odoo-new/addons/mail/models/mail_thread.py", line 1931, in message_post

    new_message = MailMessage.create(values)

  File "/opt/odoo-new/addons/mail/models/mail_message.py", line 752, in create

    values['reply_to'] = self._get_reply_to(values)

  File "/opt/odoo-new/addons/mail/models/mail_message.py", line 719, in _get_reply_to

    return self.env[model].message_get_reply_to([res_id], default=email_from)[res_id]

  File "/opt/odoo-new/addons/mail/models/mail_thread.py", line 799, in message_get_reply_to

    res[res_id] = formataddr((email_name, email_addr))

  File "/opt/odoo-new/odoo/tools/mail.py", line 572, in formataddr

    addr=address)

ParseError: "ascii

\u0411\u041b\u042c\u042e\u041c\u041e\u041d \u0425\u0425\u041a

0

7

ordinal not in range(128)" while parsing /opt/odoo-new/addons/hr/data/hr_data.xml:5, near

<record id="dep_administration" model="hr.department">

          <field name="name">Administration</field>

        </record>

2020-03-17 04:18:21,574 7884 CRITICAL bluemon_datamigration odoo.service.server: Failed to initialize database `datamigration`.

Traceback (most recent call last):


Avatar
Discard