Reviewers: ,


Please review this at http://codereview.tryton.org/222006/

Affected files:
  M tryton/gui/window/view_form/model/record.py


Index: tryton/gui/window/view_form/model/record.py
===================================================================
--- a/tryton/gui/window/view_form/model/record.py
+++ b/tryton/gui/window/view_form/model/record.py
@@ -602,5 +602,8 @@
     def destroy(self):
         super(Record, self).destroy()
         self.group = None
+        for v in self.value.itervalues():
+            if hasattr(v, 'destroy'):
+                v.destroy()
         self.value = None
         self.next = None


--
[email protected] mailing list

Reply via email to