Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

odoo安装自动以的webcat模块时报错,求高手指点



  • 错误:
    Odoo Server Error

    Traceback (most recent call last):
    File "D:\odoo\odoo\http.py", line 647, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
    File "D:\odoo\odoo\http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
    File "D:\odoo\odoo\http.py", line 689, in dispatch
    result = self._call_function(**self.params)
    File "D:\odoo\odoo\http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
    File "D:\odoo\odoo\service\model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
    File "D:\odoo\odoo\http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
    File "D:\odoo\odoo\http.py", line 932, in call
    return self.method(*args, **kw)
    File "D:\odoo\odoo\http.py", line 512, in response_wrap
    response = f(*args, **kw)
    File "D:\odoo\addons\web\controllers\main.py", line 934, in call_button
    action = self._call_kw(model, method, args, {})
    File "D:\odoo\addons\web\controllers\main.py", line 922, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "D:\odoo\odoo\api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
    File "D:\odoo\odoo\api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
    File "<decorator-gen-40>", line 2, in button_immediate_install
    File "D:\odoo\odoo\addons\base\models\ir_module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
    File "D:\odoo\odoo\addons\base\models\ir_module.py", line 440, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
    File "D:\odoo\odoo\addons\base\models\ir_module.py", line 533, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
    File "D:\odoo\odoo\modules\registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
    File "D:\odoo\odoo\modules\loading.py", line 340, in load_modules
    loaded_modules, update_module)
    File "D:\odoo\odoo\modules\loading.py", line 239, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "D:\odoo\odoo\modules\loading.py", line 153, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
    File "D:\odoo\odoo\modules\loading.py", line 91, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
    File "D:\odoo\odoo\tools\convert.py", line 789, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
    File "D:\odoo\odoo\tools\convert.py", line 850, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
    File "D:\odoo\odoo\tools\convert.py", line 741, in parse
    self.parse(rec, mode)
    File "D:\odoo\odoo\tools\convert.py", line 751, in parse
    exc_info[2]
    File "D:\odoo\odoo\tools\convert.py", line 744, in parse
    self._tags[rec.tag](rec, de, mode=mode)
    File "D:\odoo\odoo\tools\convert.py", line 654, 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 "D:\odoo\odoo\addons\base\models\ir_model.py", line 1495, in _update
    record = record.create(values)
    File "D:\odoo\odoo\addons\base\models\ir_ui_view.py", line 398, in create
    return super(View, self).create(self._compute_defaults(values))
    File "D:\odoo\odoo\models.py", line 3269, in create
    fields[0].determine_inverse(record)
    File "D:\odoo\odoo\fields.py", line 1091, in determine_inverse
    getattr(records, self.inverse)()
    File "D:\odoo\odoo\addons\base\models\ir_ui_view.py", line 266, in _inverse_arch
    view.write(data)
    File "D:\odoo\odoo\addons\base\models\ir_ui_view.py", line 414, in write
    return super(View, self).write(self._compute_defaults(vals))
    File "D:\odoo\odoo\models.py", line 3043, in write
    self._write(store_vals)
    File "D:\odoo\odoo\models.py", line 3185, in _write
    self._validate_fields(vals)
    File "D:\odoo\odoo\models.py", line 984, in validate_fields
    raise ValidationError("%s\n\n%s" % (
    ("Error while validating constraint"), tools.ustr(e)))
    ParseError: "constraint \u68c0\u67e5\u9519\u8bef

    \u6ca1\u6709\u627e\u5230\u6a21\u578b: mail.wizard.invite

    \u9519\u8bef\u7684\u4e0a\u4e0b\u6587:
    \u89c6\u56fe Add Followers
    [view_id: 218, xml_id: n/a, model: mail.wizard.invite, parent_id: n/a]
    None" while parsing file:/d:/odoo/addons/mail/wizard/invite_view.xml:6, near
    <record model="ir.ui.view" id="mail_wizard_invite_form">
    <field name="name">Add Followers</field>
    <field name="model">mail.wizard.invite</field>
    <field name="arch" type="xml">
    <form string="Add Followers">
    <group>
    <field name="res_model" invisible="1"/>
    <field name="res_id" invisible="1"/>
    <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..." context="{'force_email':True, 'show_email':True}" invisible="context.get('mail_invite_follower_channel_only')"/>
    <field name="channel_ids" widget="many2many_tags" placeholder="Add channels to notify..." invisible="not context.get('mail_invite_follower_channel_only')" options="{'no_create': True}"/>
    <field name="send_mail" invisible="context.get('mail_invite_follower_channel_only')"/>
    <field name="message" attrs="{'invisible': [('send_mail','!=',True)]}" options="{'style-inline': true}" class="test_message"/>
    </group>
    <footer>
    <button string="Add Followers" name="add_followers" type="object" class="btn-primary"/>
    <button string="Cancel" class="btn-default" special="cancel"/>
    </footer>
    </form>
    </field>
    </record>



  • @zeroodoo安装自动以的webcat模块时报错,求高手指点 中说:

    mail

    mail 升级这个试试