[IMP] use fluent o2m commands for bulk replace in m2m as well

bzr revid: xmo@openerp.com-20110628083307-4pnzr7peavkv2nk2
This commit is contained in:
Xavier Morel 2011-06-28 10:33:07 +02:00
parent 77afa211fe
commit 3b87953ce7
1 changed files with 1 additions and 1 deletions

View File

@ -1542,7 +1542,7 @@ openerp.base.form.FieldMany2Many = openerp.base.form.Field.extend({
});
},
get_value: function() {
return [[6,false,this.dataset.ids]];
return [commands.replace_with(this.dataset.ids)];
}
});