Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Change Qutotation Confirmed Message content

on 9/15/14, 4:15 AM 979 views

Hi all,

I want to modifie the content of the subtype message in sale order like:

Quotation confirmed

    • Customer: Bizou Florence

    • Untaxed Amount: 1799.99

into another content.

Best regards.



Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 10/16/15, 7:25 AM

Hello Bernsheinder,

The main key of the message is "track_visibility" parameter in the fields.


Forum: What is _track Property is? 

Documentation: What is _track Property is? 

Aftab Naveed
On 10/15/15, 4:05 PM

You can Modify that message from Settings->Email->Subtypes

And search for Sales Order Confirmation  open the one with model sale.order



| 5 4 7
Bangalore, India

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

On 9/15/14, 4:29 AM

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...

yes, I have seen this method but the content of the message not in the all modules in openerp! Can you help me?

on 9/15/14, 4:52 AM

The solution I need is that I can modify the content of the message but I can't see where is the file.py or file.xml which this content is stored.

on 9/15/14, 5:11 AM

ya the method is presented in module mail.thread... all other module which inherits it, will gain access to that method...

on 9/15/14, 5:22 AM

Oups! the solution is in mail_thread.py format_message method. :)

on 9/15/14, 5:26 AM

You can see that below the sale.order record... like a chat messages it will attached to the corresponding records...

on 9/15/14, 5:26 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/15/14, 4:15 AM
Seen: 979 times
Last updated: 10/16/15, 7:25 AM