From 924d95427a6b054210ae2bf3486977efeec50126 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Fri, 8 Oct 2010 12:42:42 +0530 Subject: [PATCH] [IMP]: sale_crm: Created history when opportunity is converted into quotation bzr revid: rpa@tinyerp.com-20101008071242-vqbezmuq76e6sbcb --- addons/sale_crm/wizard/crm_make_sale.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale_crm/wizard/crm_make_sale.py b/addons/sale_crm/wizard/crm_make_sale.py index 089a2389703..c4e4f1af1fb 100644 --- a/addons/sale_crm/wizard/crm_make_sale.py +++ b/addons/sale_crm/wizard/crm_make_sale.py @@ -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)