[7.0] Category type bug in the module document_page

Bug #1234374 reported by Denis Karataev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

When I create category of page just from Page form (I type category name just to the many2one field 'parent_id' and after I choose 'Create'). Because we have 'default_type': 'content' in contex of action 'action_page', but we haven't context for the field 'parent_id' on the form. So when we create category, it uses 'default_type': 'content' from context instead of 'category' and it's wrong.

Please check attached patch.

Tags: 7.0
Revision history for this message
Denis Karataev (dskarataev) wrote :
description: updated
description: updated
description: updated
summary: - Category type bug in the module document_page
+ [7.0] Category type bug in the module document_page
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.