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

Hi, I've created a new module that inherits from "product" module and replaces the foreign key "product_supplierinfo_product_id_fkey" that refers to "product_template" by an other foreign key that refers to table "product_product. The module works fine, but when I update the module "product", it tries to restore the first constraint instead of the new one, so I get an integrity error because I already have lines that refer to product_product and Openerp searches for product templates with those ids but can't find them. 

This module was developped since Openerp 6 and I didn't have a problem with it. In openerp 6, when I update the product module, it does not restore the constraints.

Does something has changed in Openerp 7 about the module updates?

thanks.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 18
4119
2
مارس 15
5530
1
مارس 15
10581
1
يناير 25
22541
1
فبراير 19
2878