Skip to Content
Menu
This question has been flagged
2 Replies
4610 Views

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

Avatar
Discard
Author

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?

Author Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 15
3673
1
Mar 15
3585
9
Jul 25
17805
1
Mar 21
9222
4
Nov 16
7698