Always delete One2Many record when add_remove attribute is not set

issue8731
review264431002
This commit is contained in:
Cédric Krier committed 2019-10-24 19:19:55 +02:00
1 parent 1611b76c77
commit 7ddb2ba096
1 file changed
+1
@@ -197,6 +197,7 @@ class One2Many(Widget):
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)