Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6107 Представления

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!

Аватар
Отменить
Автор

Anyone knows?

Автор Лучший ответ

This is the expression:


ALTER TABLE product_product ALTER COLUMN default_code DROP NOT NULL;

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
сент. 17
8601
14
янв. 25
124154
8
июл. 17
10187
0
апр. 19
4412
1
окт. 17
19397