Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2182 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 24
12913
1
thg 4 24
3506
1
thg 9 23
2347
2
thg 8 23
4805
2
thg 4 23
32429