[IMP]may be regression of 2505.

bzr revid: vme@tinyerp.com-20120621085757-0vf2ov2jvv8up24b
This commit is contained in:
Vidhin Mehta (OpenERP)
2012-06-21 14:27:57 +05:30
parent 92a4803938
commit 006ed3a64a
+1 -1
View File
@@ -987,7 +987,7 @@ instance.web.ViewEditor = instance.web.OldWidget.extend({
render_new_field :function( result ) {
var self = this;
var action = {
context: {'default_model_id': result.id, 'manual': true, 'module' : result.modules},
context: {'default_model_id': result.id, 'manual': true, 'module' : result.model},
res_model: "ir.model.fields",
views: [[false, 'form']],
type: 'ir.actions.act_window',