[FIX] New page.

This commit is contained in:
Goffin Simon
2014-09-16 14:11:08 +02:00
committed by Fabien Meghazi
parent 5f258c831e
commit 1900c912fb
-7
View File
@@ -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):