I want to modifie the content of the subtype message in sale order like:
• Customer: Bizou Florence
• Untaxed Amount: 1799.99
into another content.
sale.order inherits an object called "mail.thread" , which enables this feature
So by using "message_post", one can pass the necessary message....
self.message_post(cr, uid, [new_id], body=_("Quotation created"), context=context)
Now you can change body message to suite your necessary:
self.message_post(cr, uid, [new_id], body=_("Quotation Confirmed"), context=context)
Hint: use Ctrl + H to search in the addon modules...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/15/14, 4:15 AM|
|Seen: 979 times|
|Last updated: 10/16/15, 7:25 AM|