Community mailing list archives

community@mail.odoo.com

Re: Add Mail Thread in existing Model

by
ich
- 05/04/2016 09:59:55
Hello,

in the .py file, add this inside the model class:

_inherit = ['mail.thread']

and in the corresponding view, add this before :

   
Adjust the help message as you need. On Di, 2016-05-03 at 11:12 +0000, PraVeeN KuMaR YaDaV wrote: > Hello Community, > > How can i add mail/message 'message_ids' thread in any existing Model. > > Like i want this internal Note thing in 'sale.quote.template' model then how i should inherit? > > Please Suggest > Thanks > > --  > With Regards, > PRAVEEN KUMAR, > Mob.-9911231213,9897095777 > E-mail:-mailtoexpert@gmail.com,  >            praveenky@ymail.com > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe