Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1936 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
maj 24
12559
1
kwi 24
3195
1
wrz 23
2041
2
sie 23
4430
2
kwi 23
32089