[FIX] New page.
This commit is contained in:
committed by
Fabien Meghazi
parent
5f258c831e
commit
1900c912fb
@@ -204,13 +204,6 @@ class website(osv.osv):
|
||||
'name': page_name,
|
||||
'page': ispage,
|
||||
})
|
||||
imd.create(cr, uid, {
|
||||
'name': page_name,
|
||||
'module': template_module,
|
||||
'model': 'ir.ui.view',
|
||||
'res_id': page_id,
|
||||
'noupdate': True,
|
||||
}, context=context)
|
||||
return page_xmlid
|
||||
|
||||
def page_for_name(self, cr, uid, ids, name, module='website', context=None):
|
||||
|
||||
Reference in New Issue
Block a user