跳至内容
菜单
此问题已终结
2 回复
6103 查看

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;

形象
丢弃
相关帖文 回复 查看 活动
3
9月 17
8600
14
1月 25
124145
8
7月 17
10186
0
4月 19
4412
1
10月 17
19395