Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1111 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
พ.ค. 24
11247
1
เม.ย. 24
2174
Blank White Page After log in to Odoo13 แก้ไขแล้ว
1
ก.ย. 23
1146
2
ส.ค. 23
3252
2
เม.ย. 23
31044