Skip to Content
Menu
This question has been flagged
2 Replies
4611 Rodiniai

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

Portretas
Atmesti
Autorius

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?

Autorius 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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
spal. 15
3673
1
kov. 15
3585
9
liep. 25
17805
1
kov. 21
9222
4
lapkr. 16
7698