Vaibhav (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-878142-vda into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
Bug #878142 in OpenERP Web: "while clicking on the Split wizard in list view"
https://bugs.launchpad.net/openerp-web/+bug/878142
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-878142-vda/+merge/80024
Reference context in listview.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-878142-vda/+merge/80024
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-878142-vda.
=== modified file 'addons/web/static/src/js/view_list.js'
--- addons/web/static/src/js/view_list.js 2011-10-20 16:22:55 +0000
+++ addons/web/static/src/js/view_list.js 2011-10-21 06:20:38 +0000
@@ -512,6 +512,9 @@
return field.name === name;
});
if (!action) { return; }
+ if(action.context && action.context.__ref) {
+ action.context = this.records.get(id).attributes;
+ }
this.do_execute_action(action, this.dataset, id, callback);
},
/**
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp