[MERGE] project_issue: by default, convert issue to bug only if there is no provided category
bzr revid: xal@openerp.com-20120403103940-l5rpzkcj6w3ltdfp
This commit is contained in:
@@ -433,7 +433,8 @@ class project_issue(crm.crm_case, osv.osv):
|
||||
|
||||
res_id = self.create(cr, uid, vals, context)
|
||||
self.message_append_dict(cr, uid, [res_id], msg, context=context)
|
||||
self.convert_to_bug(cr, uid, [res_id], context=context)
|
||||
if 'categ_id' not in vals:
|
||||
self.convert_to_bug(cr, uid, [res_id], context=context)
|
||||
return res_id
|
||||
|
||||
def message_update(self, cr, uid, ids, msg, vals=None, default_act='pending', context=None):
|
||||
|
||||
Reference in New Issue
Block a user