odoo添加项目和其他模块时报错
-
在安装项目和其他几个模块时报这个错,数据库product_uom表里少active这个字段?我想在 product_uom表里添加这个active字段时,提示我不能修改表结构,求大神给解决方法
Odoo Server Error
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 641, in _handle_exception
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 683, in dispatch
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 333, in _call_function
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\service\model.py", line 101, in wrapper
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 326, in checked_call
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 941, in call
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 506, in response_wrap
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 895, in call_button
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 883, in _call_kw
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 689, in call_kw
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 680, in call_kw_multi
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\module\module.py", line 411, in button_immediate_install
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\module\module.py", line 485, in _button_immediate_function
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\registry.py", line 83, in new
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 339, in load_modules
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 237, in load_marked_modules
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 136, in load_module_graph
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\registry.py", line 317, in init_models
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 2511, in _auto_init
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 2281, in _init_column
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\product\models\product_template.py", line 26, in _get_default_uom_id
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 1516, in search
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 4252, in _search
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 154, in wrapper
File "C:\Program Files (x86)\Odoo 10.0\server\odoo\sql_db.py", line 231, in execute
ProgrammingError: 错误: 字段 product_uom.active 不存在
LINE 1: SELECT "product_uom".id FROM "product_uom" WHERE ("product_u...