我遇到一个问题:
我用Nginx代理oe server,openerp在只有一个帐套的情况下可以使用代理的域名来访问,但是增加一个新帐套的之后用代理的域名就访问不了了,但是用localhost:8069可以正常访问。
请问这是怎么回事?
N
nevyn.liang
@nevyn.liang
-
关于Nginx代理OE的问题 -
OpenERP汉化覆盖后的问题我是在Linux环境下用的OpenERP,是用bzr下的源码包,用汉化包覆盖addons后出现错误,请问如何解决?
<br />The `web` module is provided by the addons found in the `openerp-web` project.<br />Maybe you forgot to add those addons in your addons_path configuration.<br />Traceback (most recent call last):<br /> File "/home/root/openerp_v7.0/server/openerp/service/__init__.py", line 60, in load_server_wide_modules<br /> openerp.modules.module.load_openerp_module(m)<br /> File "/home/root/openerp_v7.0/server/openerp/modules/module.py", line 414, in load_openerp_module<br /> if info['post_load']:<br />KeyError: 'post_load'<br />2013-08-02 01:37:19,616 17922 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban<br />2013-08-02 01:37:19,616 17922 CRITICAL ? openerp.modules.module: 'post_load'<br />2013-08-02 01:37:19,616 17922 ERROR ? openerp.service: Failed to load server-wide module `web_kanban`.<br />Traceback (most recent call last):<br /> File "/home/rooot/openerp_v7.0/server/openerp/service/__init__.py", line 60, in load_server_wide_modules<br /> openerp.modules.module.load_openerp_module(m)<br /> File "/home/root/openerp_v7.0/server/openerp/modules/module.py", line 414, in load_openerp_module<br /> if info['post_load']:<br />KeyError: 'post_load'<br />
-
OpenERP安装财务模块出错我安装财务于会计模块出现如下错误:
<br />OpenERP Server Error<br />Client Traceback (most recent call last):<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/http.py", line 204, in dispatch<br /> response["result"] = method(self, **self.params)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/controllers/main.py", line 1132, in call_button<br /> action = self._call_kw(req, model, method, args, {})<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/controllers/main.py", line 1120, in _call_kw<br /> return getattr(req.session.model(model), method)(*args, **kwargs)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/session.py", line 42, in proxy<br /> result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/session.py", line 30, in proxy_method<br /> result = self.session.send(self.service_name, method, *args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/session.py", line 103, in send<br /> raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)<br /><br /><br />Server Traceback (most recent call last):<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/web/session.py", line 89, in send<br /> return openerp.netsvc.dispatch_rpc(service_name, method, args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/netsvc.py", line 292, in dispatch_rpc<br /> result = ExportService.getService(service_name).dispatch(method, params)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/service/web_services.py", line 626, in dispatch<br /> res = fn(db, uid, *params)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/osv/osv.py", line 188, in execute_kw<br /> return self.execute(db, uid, obj, method, *args, **kw or {})<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/osv/osv.py", line 131, in wrapper<br /> return f(self, dbname, *args, **kwargs)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/osv/osv.py", line 197, in execute<br /> res = self.execute_cr(cr, uid, obj, method, *args, **kw)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/osv/osv.py", line 185, in execute_cr<br /> return getattr(object, method)(cr, uid, *args, **kw)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/base/module/module.py", line 424, in button_immediate_install<br /> return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/base/module/module.py", line 475, in _button_immediate_function<br /> _, pool = pooler.restart_pool(cr.dbname, update_module=True)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/pooler.py", line 39, in restart_pool<br /> registry = RegistryManager.new(db_name, force_demo, status, update_module)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/registry.py", line 218, in new<br /> openerp.modules.load_modules(registry.db, force_demo, status, update_module)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/loading.py", line 345, in load_modules<br /> processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/loading.py", line 256, in load_marked_modules<br /> loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/loading.py", line 188, in load_module_graph<br /> load_data(module_name, idref, mode)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/loading.py", line 76, in <lambda><br /> load_data = lambda *args: _load_data(cr, *args, kind='data')<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/modules/loading.py", line 124, in _load_data<br /> tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/convert.py", line 954, in convert_xml_import<br /> obj.parse(doc.getroot())<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/convert.py", line 847, in parse<br /> self._tags[rec.tag](self.cr, rec, n)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/convert.py", line 805, in _tag_record<br /> f_val = self.id_get(cr, f_ref)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/convert.py", line 824, in id_get<br /> res = self.model_id_get(cr, id_str)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/convert.py", line 833, in model_id_get<br /> return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/cache.py", line 18, in lookup<br /> r = self.lookup(self2, cr, *args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/cache.py", line 46, in lookup<br /> value = d[key] = self.method(self2, cr, *args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/base/ir/ir_model.py", line 868, in get_object_reference<br /> data_id = self._get_id(cr, uid, module, xml_id)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/cache.py", line 18, in lookup<br /> r = self.lookup(self2, cr, *args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/tools/cache.py", line 46, in lookup<br /> value = d[key] = self.method(self2, cr, *args)<br /> File "/home/nevyn/openerp/openerp-7.0-20130702-231109/openerp/addons/base/ir/ir_model.py", line 861, in _get_id<br /> raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))<br />ValueError: No such external ID currently defined in the system: mail.group_all_employees<br />
我是先安装了采购管理模块之后再安装这个模块的,安装模块要有先后之分吗? -
Windows 7下openERP安装oecn_base_fonts模块的问题可以的呀,把模块放到addons这个目录下,然后用户设置技术特性的权限--注销再登陆--更新一下模块列表,在模块里搜索“oecn”就可以安装了。
-
Windows 7下openERP安装oecn_base_fonts模块的问题原来是设置了技术特性权限后还要注销再登陆就看到了,问题解决了,谢谢。
-
Windows 7下openERP安装oecn_base_fonts模块的问题[quote author=Joshua link=topic=8060.msg17690#msg17690 date=1374309317]
不是“更新” 是“更新模块列表” 。首先你要打开“技术特性”权限
详情请看: http://e.weibo.com/2664287321/zAbPU2vjX
[/quote]
为啥我的openerp看不到“更新模块列表”的选项?技术特性的权限我已经勾上了。 -
Windows 7下openERP安装oecn_base_fonts模块的问题[quote author=Joshua link=topic=8060.msg17690#msg17690 date=1374309317]
首先要更新模块列表。
[/quote]
更新模块列表是不是在模块下的更新那?
更新那我点了之后,说是无需更新。 -
Windows 7下openERP安装oecn_base_fonts模块的问题我用的是GreenOpenERP 7.0,PDF报表中午显示黑色方框,在网上搜寻到的解决办法是安装oecn_base_fonts模块。
但下载该模块下来,解压放在openerp/addons目录里面之后,点模块-更新提示“nice , no update”,在可安装模块也搜索不到该模块。
请问这个问题如何解决?