[FIX] base, ir.ui.view: added a default value for 'type' field as it's a required functional field without fnct_inv (thus not possible to enter a value). This is needed in order to let people create their views manually via the menuitem
bzr revid: qdp-launchpad@openerp.com-20130327160258-jev32y4t99vj6b5s
This commit is contained in:
parent
9259457b4a
commit
72efeaa44f
|
@ -83,7 +83,8 @@ class view(osv.osv):
|
|||
}
|
||||
_defaults = {
|
||||
'arch': '<?xml version="1.0"?>\n<tree string="My view">\n\t<field name="name"/>\n</tree>',
|
||||
'priority': 16
|
||||
'priority': 16,
|
||||
'type': 'tree',
|
||||
}
|
||||
_order = "priority,name"
|
||||
|
||||
|
|
Loading…
Reference in New Issue