Merge lp:~openerp-dev/openerp-web/7.0-opw-590239-dhr into lp:openerp-web/7.0

Proposed by Dharti Ratani(OpenERP)
Status: Merged
Merged at revision: 3967
Proposed branch: lp:~openerp-dev/openerp-web/7.0-opw-590239-dhr
Merge into: lp:openerp-web/7.0
Diff against target: 15 lines (+3/-2)
1 file modified
addons/web/static/src/js/view_list.js (+3/-2)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/7.0-opw-590239-dhr
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+156120@code.launchpad.net

Description of the change

Hello,

Fields value doesn't displayed in inline editing in tree view in one2many with the field named length.

Thanks

To post a comment you must log in.
Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Fields value doesn't displayed in inline editing in tree view in one2many with the field named length.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/js/view_list.js'
2--- addons/web/static/src/js/view_list.js 2013-03-22 16:23:10 +0000
3+++ addons/web/static/src/js/view_list.js 2013-03-29 09:10:45 +0000
4@@ -534,8 +534,9 @@
5 self.records.remove(record);
6 return;
7 }
8- _(records[0]).each(function (value, key) {
9- record.set(key, value, {silent: true});
10+ var transfer_value = records[0];
11+ _(_.keys(transfer_value)).each(function(key){
12+ record.set(key, transfer_value[key], {silent: true});
13 });
14 record.trigger('change', record);
15 });