Merge pull request #211 from OCA/10.0-document_page-no_icon_in_menu

[DEL] document_page: remove deprecated icon key from menu item
This commit is contained in:
Alexandre Fayolle 2019-06-05 22:22:54 +02:00 committed by GitHub
commit 153279f6c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,6 @@ class DocumentPageCreateMenu(models.TransientModel):
menu_id = obj_menu.sudo().create({
'name': data.menu_name,
'parent_id': data.menu_parent_id.id,
'icon': 'STOCK_DIALOG_QUESTION',
'action': 'ir.actions.act_window,' + str(action_id.id),
})
page.write({'menu_id': menu_id.id})