diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index ad7563140b2..fddb5de0a43 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -790,7 +790,7 @@ class purchase_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 %s converted to a Purchase 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 %s converted to a Purchase Order of %s %s.") % (obj.partner_id.name, obj.amount_total, obj.pricelist_id.currency_id.symbol), subtype="purchase.mt_rfq_confirmed", context=context) def shipment_send_note(self, cr, uid, ids, picking_id, context=None): for order in self.browse(cr, uid, ids, context=context): diff --git a/addons/purchase/purchase_data.xml b/addons/purchase/purchase_data.xml index fa701c1f179..7a56e0dc95f 100644 --- a/addons/purchase/purchase_data.xml +++ b/addons/purchase/purchase_data.xml @@ -49,5 +49,16 @@ model="ir.values" name="set"/> + + RFQ Confirmed + purchase.order + + + + + RFQ Approved + purchase.order + +