Odoo安装模块时提示Odoo server error,导致无法正常安装卸载模块,求教各位大神,这个问题该如何解决!
-
正常解压缩GreenOdoo,模块无法正常安装,点击是提示Odoo server error 错误,这个问题该怎么解决?
Odoo Server Error
Traceback (most recent call last):
File "D:\Program Files\GreenOdoo-8.0-win32_LN13\source\openerp\http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
.
.
.
.
.
File "D:\Program Files\GreenOdoo-8.0-win32_LN13\source\openerp\sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ParseError: "insert or update on table "res_company" violates foreign key constraint "res_company_project_time_mode_id_fkey"
DETAIL: Key (project_time_mode_id)=(5) is not present in table "product_uom".
" while parsing file:///D:/Program%20Files/GreenOdoo-8.0-win32_LN13/source/addons/project/project_data.xml:5, near
<record id="base.main_company" model="res.company">
<field name="project_time_mode_id" ref="product.product_uom_hour"/>
</record>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login