跳至内容
菜单
此问题已终结
2 回复
4168 查看

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
3215
1
3月 15
3205
9
12月 23
17408
1
3月 21
8732
4
11月 16
7335