[IMP]: sale_crm: Created history when opportunity is converted into quotation
bzr revid: rpa@tinyerp.com-20101008071242-vqbezmuq76e6sbcb
This commit is contained in:
@@ -140,6 +140,7 @@ class crm_make_sale(osv.osv_memory):
|
||||
new_ids.append(new_id)
|
||||
message = _('Opportunity ') + " '" + case.name + "' "+ _("is converted to Sales Quotation.")
|
||||
self.log(cr, uid, case.id, message)
|
||||
case_obj._history(cr, uid, [case], _("Converted to Sales Quotation(id: %s).") % (new_id))
|
||||
|
||||
if make.close:
|
||||
case_obj.case_close(cr, uid, data)
|
||||
|
||||
Reference in New Issue
Block a user