跳至內容
選單
此問題已被標幟
5286 瀏覽次數


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!


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 15
5623
2
3月 24
1952
1
2月 24
3704
2
12月 17
9747
1
11月 16
14640