cd-feng / odooDingTalk

Odoo系统集成钉钉
GNU General Public License v2.0
160 stars 151 forks source link

安装报错 #27

Closed digitalliuzg closed 5 years ago

digitalliuzg commented 5 years ago

odoo.tools.convert.ParseError: "External ID not found in the system: ali_dindin.dd_setting_group" while parsing file:/e:/odoo/source/suxuefeng/odoodingding/dindin_callback/views/call_back_list.xml:43, near

niulinlnc commented 5 years ago

安装callback之前先安装ali_dindin 模块了没?

digitalliuzg commented 5 years ago

安装ali_dindin时报上述错,版本12社区版 image

digitalliuzg commented 5 years ago

貌似安装上了,但运行时报错 image

Odoo Server Error Traceback (most recent call last): File "E:\odoo\odoo\api.py", line 1039, in get value = self._data[key][field][record._ids[0]] KeyError: 131

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "E:\odoo\odoo\fields.py", line 975, in get value = record.env.cache.get(record, self) File "E:\odoo\odoo\api.py", line 1041, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: ('ir.actions.act_window(131,).search_view', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "E:\odoo\odoo\http.py", line 654, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "E:\odoo\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "E:\odoo\odoo\tools\pycompat.py", line 87, in reraise raise value File "E:\odoo\odoo\http.py", line 696, in dispatch result = self._call_function(self.params) File "E:\odoo\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, *kwargs) File "E:\odoo\odoo\service\model.py", line 97, in wrapper return f(dbname, args, kwargs) File "E:\odoo\odoo\http.py", line 337, in checked_call result = self.endpoint(*a, kw) File "E:\odoo\odoo\http.py", line 939, in call return self.method(*args, *kw) File "E:\odoo\odoo\http.py", line 517, in response_wrap response = f(args, kw) File "e:\dvt\drissuite12_win_v1\odoo\odoo\addons\web\controllers\main.py", line 1261, in load action = request.env[action_type].browse([action_id]).read() File "e:\dvt\drissuite12_win_v1\odoo\odoo\addons\base\models\ir_actions.py", line 210, in read result = super(IrActionsActWindow, self).read(fields, load=load) File "E:\odoo\odoo\models.py", line 2782, in read vals[name] = convert(record[name], record, use_name_get) File "E:\odoo\odoo\models.py", line 5087, in getitem return self._fields[key].get(self, type(self)) File "E:\odoo\odoo\fields.py", line 979, in get self.determine_value(record) File "E:\odoo\odoo\fields.py", line 1090, in determine_value self.compute_value(recs) File "E:\odoo\odoo\fields.py", line 1046, in compute_value self._compute_value(records) File "E:\odoo\odoo\fields.py", line 1037, in _compute_value getattr(records, self.compute)() File "e:\dvt\drissuite12_win_v1\odoo\odoo\addons\base\models\ir_actions.py", line 170, in _compute_search_view fvg = self.env[act.res_model].fields_view_get(act.search_view_id.id, 'search') File "E:\odoo\odoo\api.py", line 821, in getitem return self.registry[model_name]._browse((), self) File "E:\odoo\odoo\modules\registry.py", line 176, in getitem return self.models[model_name] KeyError: 'dindin.approval.template'

digitalliuzg commented 5 years ago

安装审批模板模块,问题解决。

digitalliuzg commented 5 years ago

安装日志报错: raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: <class 'odoo.tools.convert.ParseError'>: "External ID not found in the system: ali_dindin.dingding_main_groups

允许拉取钉钉日志模板

file:/e:/odoo/source/suxuefeng/odoodingding/dindin_report/security/dindin_security.xml 4" while evaluating 'records.button_immediate_install()'

digitalliuzg commented 5 years ago

安装“钉钉办公-扫码/免密登录模块”报错 File "e:\odoo\source\suxuefeng\odoodingding\dindin_login\models__init__.py", line 3, in from . import res_users File "e:\odoo\source\suxuefeng\odoodingding\dindin_login\models\res_users.py", line 5, in import pypinyin ValueError: <class 'ImportError'>: "No module named 'pypinyin'" while evaluating 'records.button_immediate_install()'

digitalliuzg commented 5 years ago

安装“钉钉办公-回调管理"报错: raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: <class 'odoo.tools.convert.ParseError'>: "External ID not found in the system: ali_dindin.dd_setting_group

file:/e:/odoo/source/suxuefeng/odoodingding/dindin_callback/views/call_back_list.xml 43" while evaluating 'records.button_immediate_install()'

digitalliuzg commented 5 years ago

安装“钉钉办公-考勤排班详情"报错: ValueError: <class 'odoo.tools.convert.ParseError'>: "External ID not found in the system: ali_dindin.dingding_main_groups

操作钉钉考勤组

file:/e:/odoo/source/suxuefeng/odoodingding/dindin_attendance/security/dingding_security.xml 4" while evaluating 'records.button_immediate_install()'

niulinlnc commented 5 years ago

你的安装有问题,正常情况下,安装了ali_dindin这个模块后,其他大部分模块自动安装好了。

digitalliuzg commented 5 years ago

我是用12社区版空库安装模块报的错,用的是dindin12的代码.

niulinlnc commented 5 years ago

现在最新的代码都在master分支,12分支可能会有点延后。