Force display of Many2Many screen after edition

Since changeset 0c2f313bf62d, the cancel of the record is not enough to refresh
the display of the edited record in the Many2Many list view. So a display call
must be triggered to clear the CellCache.

issue4391
review6721002
This commit is contained in:
Cédric Krier committed 2014-12-11 22:12:42 +01:00
1 parent 7d922a0eab
commit e4becbfd04
1 file changed
+2
@@ -190,6 +190,8 @@ class Many2Many(Widget):
screen.current_record.save()
# Force a reload on next display
self.screen.current_record.cancel()
# Force a display to clear the CellCache
self.screen.display()
WinForm(screen, callback)
def _readonly_set(self, value):