[FIX] move view's page attribute to module

bzr revid: xmo@openerp.com-20130906091351-37cr1g2scvpiyc7u
This commit is contained in:
Xavier Morel 2013-09-06 11:13:51 +02:00
parent e56953d94e
commit f4c27f6332
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ class view(osv.osv):
_columns = {
'inherit_option_id': fields.many2one('ir.ui.view','Optional Inheritancy'),
'inherited_option_ids': fields.one2many('ir.ui.view','inherit_option_id','Optional Inheritancies'),
'page': fields.boolean("Whether this view is a web page template (complete)"),
}
_defaults = {
'page': False,
}
# Returns all views (called and inherited) related to a view