Merge lp:~openerp-dev/openobject-addons/trunk-bug-1150809-Dharmraj into lp:openobject-addons

Proposed by Dharmraj Zala(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1150809-Dharmraj
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
document_page/document_page.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1150809-Dharmraj
Reviewer Review Type Date Requested Status
Nhomar - Vauxoo (community) Disapprove
OpenERP Core Team Pending
Review via email: mp+152641@code.launchpad.net

Description of the change

Hello,

As described in the steps of bug reproductions,the new category was not shown in the category drop down menu while creating a new page, and the category was also not displayed in menu Knowledge/Categories. By setting the default value of type of the page as "category", this bug is resolved.

Thanks,
Dharmraj.

To post a comment you must log in.
8603. By Dharmraj Zala(OpenERP)

[MERGE] with trunk

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Hello.

I disaprove this, because this default dont fix the problem introduce another different bug.

The correct solution is here:
https://code.launchpad.net/~vauxoo/openobject-addons/7.0-document_page_category_context/+merge/166171

Thanks.

review: Disapprove

Unmerged revisions

8603. By Dharmraj Zala(OpenERP)

[MERGE] with trunk

8602. By Dharmraj Zala(OpenERP)

[FIX] set default type to category

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'document_page/document_page.py'
2--- document_page/document_page.py 2012-12-10 11:16:54 +0000
3+++ document_page/document_page.py 2013-03-12 05:49:22 +0000
4@@ -69,7 +69,7 @@
5 'write_uid': fields.many2one('res.users', "Last Contributor", select=True),
6 }
7 _defaults = {
8- 'type':'content',
9+ 'type':'category',
10 }
11
12 def onchange_parent_id(self, cr, uid, ids, parent_id, content, context=None):

Subscribers

People subscribed via source and target branches

to all changes: