Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odoo13.0 202004 #170

Open
zlc000190 opened this issue Jun 15, 2020 · 2 comments
Open

odoo13.0 202004 #170

zlc000190 opened this issue Jun 15, 2020 · 2 comments

Comments

@zlc000190
Copy link

zlc000190 commented Jun 15, 2020

13.020200417 正常, 报错是自己安装成了12的分支,问题较多。改为13分支就好了

@zlc000190
Copy link
Author

zlc000190 commented Jun 15, 2020

但存在这个问题 获取odoo测试部门失败,原因:timestamp_to_local_date() takes 1 positional argument but 2 were given 又自动好了

@zlc000190
Copy link
Author

销售单 审批上传钉钉时,提示 错误:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/mnt/extra-addons/dingtalk_approval/models/approval_control.py", line 336, in call_button
return super(DingTalkDataSet, self).call_button(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1326, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/extra-addons/dingtalk_approval/tools/dingtalk_approval.py", line 64, in _commit_dingtalk_approval
result, approval = approval_result(self)
File "/mnt/extra-addons/dingtalk_approval/tools/dingtalk_approval.py", line 47, in approval_result
client = dingtalk_api.get_client()
TypeError: get_client() missing 1 required positional argument: 'obj'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant