Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
4171 Visualizações

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
Cancelar
Autor

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?

Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
out. 15
3215
1
mar. 15
3205
9
dez. 23
17408
1
mar. 21
8734
4
nov. 16
7336