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


Lets say:

  • I have 2 models, Model1 and Model2

  • They each have the reserved Boolean field active defined

  • They have a Many2many relationship

  • They have many records connected to each other


So in Model1 edit view  mode I click on a Model2 record, a popup with that record in edit mode is shown and I set active to False and save. When returning to the Model1 edit view the record that just was made inactive is still showing. It only dissapairs if I refresh the whole page.

How can I make Model1 automatically refresh its list of Model2 records after edit?


Thanks!


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 15
5642
2
maalisk. 24
1961
1
helmik. 24
3725
2
jouluk. 17
9750
1
marrask. 16
14644