Odoo Help


[Solved]Error when uninstalling and installing - Odoo 8

on 5/18/15, 4:34 AM 549 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>


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?

on 5/19/15, 2:31 AM
On 5/20/15, 2:18 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/18/15, 4:34 AM
Seen: 549 times
Last updated: 5/27/15, 2:13 AM