[IMP] CRM: set the domain for object_id in next button
bzr revid: sbh@tinyerp.com-20100119063504-lqktwfzzibza7bin
This commit is contained in:
+1
-1
@@ -388,7 +388,7 @@ class crm_case(osv.osv):
|
||||
|
||||
def stage_next(self, cr, uid, ids, context={}):
|
||||
ok = False
|
||||
sid = self.pool.get('crm.case.stage').search(cr, uid, [], context=context)
|
||||
sid = self.pool.get('crm.case.stage').search(cr, uid, [('object_id.model', '=', self._name)], context=context)
|
||||
s = {}
|
||||
previous = {}
|
||||
for stage in self.pool.get('crm.case.stage').browse(cr, uid, sid, context=context):
|
||||
|
||||
Reference in New Issue
Block a user