Merge lp:~openerp-dev/openobject-addons/6.1-opw-574926-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574926-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
crm/ (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574926-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email:

Description of the change

Hello Sir,

[FIX]crm :Can't create cetegory from Helpdesk and Support

Steps to reproduce:
1. Install crm_helpdesk Module.
2. Open "Helpdesk and Support" from Sales/After-Sale Services/Helpdesk and Support.
3. Try to create Category

Error occurred
DataError: invalid input syntax for integer: "crm.helpdesk"

This branch fixes this issue.

Kindly review the branch and please share your views on it.

Somesh Khare

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :


This bug is not reproducible on Trunk and so this bug has no meaning anymore. If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Naresh Soni

Unmerged revisions

6805. By Somesh Khare

[FIX]crm :Can't create cetegory from Helpdesk and Support(Case: Ref 574926)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'crm/'
2--- crm/ 2012-03-08 15:58:35 +0000
3+++ crm/ 2012-05-18 11:02:18 +0000
4@@ -154,7 +154,7 @@
5 def _find_object_id(self, cr, uid, context=None):
6 """Finds id for case object"""
7 object_id = context and context.get('object_id', False) or False
8- ids = self.pool.get('ir.model').search(cr, uid, [('id', '=', object_id)])
9+ ids = self.pool.get('ir.model').search(cr, uid, [('model', '=', object_id)])
10 return ids and ids[0] or False
12 _defaults = {