changeset edc7bc6ea230 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=edc7bc6ea230
description:
Always delete One2Many record when add_remove attribute is not set
issue8731
review264431002
diffstat:
tryton/gui/window/view_form/view/form_gtk/one2many.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r c522cb07dc70 -r edc7bc6ea230
tryton/gui/window/view_form/view/form_gtk/one2many.py
--- a/tryton/gui/window/view_form/view/form_gtk/one2many.py Thu Oct 24
19:16:12 2019 +0200
+++ b/tryton/gui/window/view_form/view/form_gtk/one2many.py Thu Oct 24
19:19:55 2019 +0200
@@ -197,6 +197,7 @@
if remove and self.attrs.get('add_remove'):
but = self.but_remove
else:
+ remove = False
but = self.but_del
if but.get_property('sensitive'):
self._sig_remove(widget, remove)