Christophe Matthieu (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-fix-many2many_tags-chm into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-fix-many2many_tags-chm/+merge/134887

[FIX]
many2many_tags: the widget accept the required attribute
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-fix-many2many_tags-chm/+merge/134887
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-fix-many2many_tags-chm.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2012-11-16 16:44:16 +0000
+++ addons/web/static/src/js/view_form.js	2012-11-19 12:26:24 +0000
@@ -4026,9 +4026,11 @@
         }
         this._super(value_);
     },
+    is_false: function() {
+        return _(this.get("value")).isEmpty();
+    },
     get_value: function() {
-        var tmp = [commands.replace_with(this.get("value"))];
-        return tmp;
+        return [commands.replace_with(this.get("value"))];
     },
     get_search_blacklist: function() {
         return this.get("value");

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to