为什么在odoo 10中会发生此错误“重置模块状态”

时间:2019-09-23 05:00:19

标签: python odoo odoo-10

我在odoo10企业中遇到此错误? 有什么建议可以解决这个问题?

Traceback (most recent call last):
  File "/home/odoodev/odoo10Enter/la10e/addons/base/ir/ir_cron.py", line 285, in _acquire_job
    cls._process_jobs(db_name)
  File "/home/odoodev/odoo10Enter/la10e/addons/base/ir/ir_cron.py", line 222, in _process_jobs
    odoo.modules.reset_modules_state(db_name)
AttributeError: 'module' object has no attribute 'reset_modules_state'
2019-09-23 04:52:19,215 3048 WARNING ? odoo.addons.base.ir.ir_cron: Exception in cron:
Traceback (most recent call last):
  File "/home/odoodev/odoo10Enter/la10e/addons/base/ir/ir_cron.py", line 285, in _acquire_job
    cls._process_jobs(db_name)
  File "/home/odoodev/odoo10Enter/la10e/addons/base/ir/ir_cron.py", line 222, in _process_jobs
    odoo.modules.reset_modules_state(db_name)
AttributeError: 'module' object has no attribute 'reset_modules_states'

0 个答案:

没有答案