Skip to Content
Menu
This question has been flagged
975 Views

For example the file  mail_template_data.xml which is located in a few modules, hard codes styles:

<t t-if="not is_online or object.state != 'accepted'">
<a t-attf-href="/calendar/meeting/accept?token={{object.access_token}}&id={{object.event_id.id}}"
style="padding: 5px 10px; color: #FFFFFF; text-decoration: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius: 3px">
Accepta>
<a t-attf-href="/calendar/meeting/decline?token={{object.access_token}}&id={{object.event_id.id}}"
style="padding: 5px 10px; color: #FFFFFF; text-decoration: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius: 3px">
Declinea>
t>
Any idea on how to override this? It's not a view (i.e. template) but rather a record, so I don't know how to inherit and override. 

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
609
1
May 24
1207
2
May 24
810
1
Apr 24
1387
1
Feb 24
451