[imp]domain applied.

bzr revid: vme@tinyerp.com-20110831110036-af1ioiqeh6qz1wqm
This commit is contained in:
Vidhin Mehta (OpenERP) 2011-08-31 16:30:36 +05:30
parent fde5d6a148
commit ce3c9f0e7b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ openerp.base.ViewEditor = openerp.base.Dialog.extend({
var action = {
name:'ViewEditor',
context:this.session.user_context,
// domain: ["model", "=", this.dataset.model],
domain: [["model", "=", this.dataset.model]],
res_model: 'ir.ui.view',
views : [[false, 'list']],
type: 'ir.actions.act_window',