跳至內容
選單
此問題已被標幟
2 回覆
5976 瀏覽次數

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
8417
14
1月 25
123015
8
7月 17
9950
0
4月 19
4212
1
10月 17
19159