I have extended model mail.message using mechanizm of inheritance. Extended model has additional columns with types many2one and char.
Now I want to change template of mail.thread.message to make new columns be displayed in message.thread.
<?xml version="1.0" encoding="UTF-8"?>
<t t-jquery="div.oe_mail-placeholder" t-operation="after">
<div>NEW COLUMN #1</div>
<div>NEW COLUMN #2</div>
How can I change context for rendering tempate, add new columns to it and display new columns?
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: 7/31/14, 3:04 AM|
|Seen: 574 times|
|Last updated: 3/16/15, 8:10 AM|