[7.0] Category type bug in the module document_page
Bug #1234374 reported by
Denis Karataev
This bug report is a duplicate of:
Bug #1150809: [trunk/7.0]Lost pages category in knowledge.
Edit
Remove
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.
To post a comment you must log in.