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

Good morning!.


I've recently installed and then uninstalled this module https://www.odoo.com/apps/modules/8.0/product_sequence/

Even after removing it, the constraint NOT NULL over Contact Reference doesn't disappear.

I've entered psql, but I doubt where do I need to remove the constraint and how.


Would be something like this?:

ALTER TABLE product_product DROP CONSTRAINT ref;


Thank you!

Avatar
Cancelar
Autor

Anyone knows?

Autor Melhor resposta

This is the expression:


ALTER TABLE product_product ALTER COLUMN default_code DROP NOT NULL;

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
set. 17
8629
14
jan. 25
124207
8
jul. 17
10192
0
abr. 19
4415
1
out. 17
19411