[MERGE] Introducing the Many2Many Email Widget, based on Many2Many Tags. This widget designed for many2many fields on partners checks that partners added in the widget have an email address defined; if not, a popup is opened to enter an email.

The widget is defined in the mail addons module, but this web-side revision adds a trigger when destroying a popup, because this event is used in the widget.

bzr revid: tde@openerp.com-20121106161603-gybjhsjavwe5bgd2
This commit is contained in:
Thibault Delavallée
2012-11-06 17:16:03 +01:00
+1
View File
@@ -4420,6 +4420,7 @@ instance.web.form.AbstractFormPopup = instance.web.Widget.extend({
this.destroy();
},
destroy: function () {
this.trigger('closed');
this.$el.dialog('close');
this._super();
},