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

I have two Models, ModelA and ModelB.

ModelA has a One2many field to ModelB and ModelB has a Many2one field back to ModelA


I can open a wizard and add or remove lines no problem.

I also have another model which is a Transient Model that opens a wizard to update various fields relating to a Sale Order Line. I want to be able to update ModelB records linked to the Sale Order Line.

I can do this, but only if I leave at least one record. If I try to remove all the records, nothing is updated at all.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
مايو 24
11280
1
أبريل 24
2183
1
سبتمبر 23
1158
2
أغسطس 23
3262
2
أبريل 23
31059