Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1144 Näkymät

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
toukok. 24
11268
1
huhtik. 24
2181
1
syysk. 23
1156
2
elok. 23
3260
2
huhtik. 23
31053