跳至內容
選單
此問題已被標幟
2 回覆
4411 瀏覽次數

Getting this message everytime I try to install or uninstall a module:


ParseError: "null value in column "name" violates not-null constraint

" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/crm/crm_data.xml:46, near

<record model="crm.case.section" id="sales_team.section_sales_department">

<field name="use_leads">True</field>

<field name="alias_name">sales</field>

</record>


Only occurred since this morning

頭像
捨棄
作者

Created a new DB and everything is working fine. The problem I now have is that all the work is on the other DB and I need to transfer it. Is there a way to fix this problem without creating a new DB?

作者 最佳答案

Problem was not with uninstalling but the fact that I deleted a class in the module and it was looking for it in Odoo. After readding the deleted class, there was no further problem with uninstall

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 15
3413
1
3月 15
3408
9
7月 25
17600
1
3月 21
8982
4
11月 16
7515