Odoo 服务器上的 Renconsile 错误
Renconsile error on Odoo server
[![Odoo 错误][1]][1]
当我尝试在 Odoo 9 中对我的银行进行核对时,出现以下错误。
当我点击银行按钮时它不协调
[1]: https://i.stack.imgur.com/PgLmT.png
Gwtting an error when i try to renconsile odoo bank.
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/openerp/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/openerp/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/openerp/http.py", line 323, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/openerp/http.py", line 316, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/openerp/http.py", line 966, in __call__
return self.method(*args, **kw)
File "/odoo/odoo-server/openerp/http.py", line 516, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 895, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 887, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/res/res_currency.py", line 252, in get_format_currencies_js_function
function = "if (arguments[1] === false || arguments[1] === undefined) {" +
company_currency_format + " }" + function
UnboundLocalError: local variable 'company_currency_format' referenced before c
assignment
哦,亲爱的,通过拖尾我的服务器看到了问题所在 logs.It 原来我没有在货币设置下分配活动货币。
[![Odoo 错误][1]][1]
当我尝试在 Odoo 9 中对我的银行进行核对时,出现以下错误。 当我点击银行按钮时它不协调
[1]: https://i.stack.imgur.com/PgLmT.png
Gwtting an error when i try to renconsile odoo bank.
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/openerp/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/openerp/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/openerp/http.py", line 323, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/openerp/http.py", line 316, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/openerp/http.py", line 966, in __call__
return self.method(*args, **kw)
File "/odoo/odoo-server/openerp/http.py", line 516, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 895, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 887, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/res/res_currency.py", line 252, in get_format_currencies_js_function
function = "if (arguments[1] === false || arguments[1] === undefined) {" +
company_currency_format + " }" + function
UnboundLocalError: local variable 'company_currency_format' referenced before c
assignment
哦,亲爱的,通过拖尾我的服务器看到了问题所在 logs.It 原来我没有在货币设置下分配活动货币。