Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-907510-kjo into
lp:openobject-addons.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
Related bugs:
Bug #907510 in OpenERP Addons: "Project Issues Category doesn't save the
object_id in table crm_case_categ"
https://bugs.launchpad.net/openobject-addons/+bug/907510
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-907510-kjo/+merge/86679
crm : change the search condition of crm_case_categ
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-907510-kjo/+merge/86679
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-907510-kjo.
=== modified file 'crm/crm.py'
--- crm/crm.py 2011-12-21 13:10:28 +0000
+++ crm/crm.py 2011-12-22 10:28:52 +0000
@@ -154,7 +154,7 @@
def _find_object_id(self, cr, uid, context=None):
"""Finds id for case object"""
object_id = context and context.get('object_id', False) or False
- ids = self.pool.get('ir.model').search(cr, uid, [('model', '=', object_id)])
+ ids = self.pool.get('ir.model').search(cr, uid, [('id', '=', object_id)])
return ids and ids[0] or False
_defaults = {
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp