Skip to content

Commit

Permalink
[FIX]Fix the issue of editing inline many2one values doesn't show up …
Browse files Browse the repository at this point in the history
…with field name legth

bzr revid: dhr@tinyerp.com-20130329084528-a3ppzy7paww97yc7
  • Loading branch information
dhr-odoo committed Mar 29, 2013
1 parent ab154e8 commit 0e664c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addons/web/static/src/js/view_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,9 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
self.records.remove(record);
return;
}
_(records[0]).each(function (value, key) {
record.set(key, value, {silent: true});
var transfer_value = records[0];
_(_.keys(transfer_value)).each(function(key){
record.set(key, transfer_value[key], {silent: true});
});
record.trigger('change', record);
});
Expand Down

0 comments on commit 0e664c9

Please sign in to comment.