تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6024 أدوات العرض

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
سبتمبر 17
8452
14
يناير 25
123368
8
يوليو 17
10021
0
أبريل 19
4237
1
أكتوبر 17
19219