[IMP] improve code

bzr revid: fka@tinyerp.com-20121119114246-z5edddr6xphphbq0
This commit is contained in:
Foram Katharotiya (OpenERP) 2012-11-19 17:12:46 +05:30
parent 5c17ed60e6
commit abe1c73f63
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ class sale_order(osv.osv):
def confirm_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):
self.message_post(cr, uid, [obj.id], body=_("Quotation for <em>%s</em> <b>converted</b> to Sale Order of %s %s.") % (obj.partner_id.name, obj.amount_total, obj.pricelist_id.currency_id.symbol), context=context)
self.message_post(cr, uid, [obj.id], body=_("Quotation for <em>%s</em> <b>converted</b> to Sale Order of %s %s.") % (obj.partner_id.name, obj.amount_total, obj.pricelist_id.currency_id.symbol), subtype="sale.mt_order_confirmed", context=context)
def cancel_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):