悲催。看论坛这么久,不知道在哪里发帖。
@卓忆 @各位大神
问下,odoo8.0,环境centos7,我装了自动备份模块,如果是新安装的环境能自动备份(该模块无问题)。但是如果是别的环境的备份还原后,点击设置,配置,数据库备份,会报如下错误:
(注,除了这个菜单点击后报错,其他一切正常)
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 543, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 580, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 313, in checked_call
return self.endpoint(*a, **kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 809, in call
return self.method(*args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 409, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 1247, in load
action = request.session.model(action_type).read([action_id], False, ctx)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 914, in proxy
result = meth(cr, request.uid, *args, **kw)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_actions.py", line 326, in read
results = super(ir_actions_act_window, self).read(cr, uid, ids, fields=fields, context=context, load=load)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3144, in read
result = BaseModel.read(records, fields, load=load)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 266, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3179, in read
self._read_from_database(stored, inherited)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 266, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3366, in _read_from_database
res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
File "/usr/lib/python2.7/site-packages/openerp/osv/fields.py", line 1460, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_actions.py", line 266, in _search_view
field_get = self.pool[act.res_model].fields_view_get(cr, uid,
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 102, in getitem
return self.models[model_name]
KeyError: u'db.backup'
不胜感激!
13631597038126.com
-
Internal Server Error 请问出现这个错误是什么原因 -
给 Odoo 8.0 网站首页添加中国社交媒体链接@信莱德软件-珠海
-
给 Odoo 8.0 网站首页添加中国社交媒体链接很好的模块
不过,安装后报错如下:
Import Module
Error while importing module 'website_china_sns': '"ValidateError\nField(s)arch
failed against a constraint: Invalid view definition\n\nError details:\nFieldsocial_qq
does not exist\n\nError context:\nViewWebsite settings sns
\n[view_id: 1981, xml_id: n/a, model: website.config.settings, parent_id: 922]" while parsing /tmp/tmpPl1qYT/website_china_sns/res_config.xml:5, near\n<record id="view_website_config_settings_sns" model="ir.ui.view">\n <field name="name">Website settings sns</field>\n <field name="model">website.config.settings</field>\n <field name="inherit_id" ref="website.view_website_config_settings"/>\n <field name="arch" type="xml">\n <xpath expr="//group[@string='Social Media']" position="inside">\n <label for="social_weibo"/>\n <div name="social_weibo">\n <div class="oe_inline">\n <field name="social_weibo" placeholder="http://weibo.com/sunlightsoft"/>\n </div>\n </div>\n <label for="social_qq"/>\n <div name="social_qq">\n <div class="oe_inline">\n <field name="social_qq" placeholder="http://wpa.qq.com/msgrd?v=3&uin=2848445291&site=qq&menu=yes"/>\n </div>\n </div>\n <label for="social_weixin"/>\n <div name="social_weixin">\n <div class="oe_inline">\n <field name="social_weixin"/>\n </div>\n </div>\n <label for="social_renren"/>\n <div name="social_renren">\n <div class="oe_inline">\n <field name="social_renren" placeholder="http://www.renren.com/343594878/profile"/>\n </div>\n </div>\n <label for="social_phone"/>\n <div name="social_phone">\n <div class="oe_inline">\n <field name="social_phone" placeholder="tel://18675626598"/>\n </div>\n </div>\n <label for="social_mail"/>\n <div name="social_mail">\n <div class="oe_inline">\n <field name="social_mail" placeholder="mailto:[email protected]"/>\n </div>\n </div>\n </xpath>\n </field>\n </record>'