odoo18/addons_extensions/cwf_timesheet/data/email_template.xml

46 lines
1.8 KiB
XML

<odoo>
<data noupdate="0">
<record id="email_template_timesheet_weekly_update" model="mail.template">
<field name="name">Timesheet Update Reminder</field>
<field name="model_id" ref="cwf_timesheet.model_cwf_weekly_timesheet"/>
<field name="email_from">{{ user.email_formatted }}</field>
<field name="email_to">{{ object.employee_id.user_id.email }}</field>
<field name="subject">Reminder: Update Your Weekly Timesheet</field>
<field name="description">
Reminder to employee to update their weekly timesheet.
</field>
<field name="body_html" type="html">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear <t t-esc="ctx['employee_name']">Employee</t>,
<br/>
<br/>
I hope this message finds you in good spirits. I would like to remind you to please update your weekly timesheet for the period from
<strong>
<t t-esc="ctx['week_from']"/>
</strong>
to
<strong>
<t t-esc="ctx['week_to']"/>
</strong>.
Timely updates are crucial for maintaining accurate records and ensuring smooth processing.
<br/>
<br/>
To make things easier, you can use the link below to update your timesheet:
<br/>
<a href="https://ftprotech.in/odoo/action-261" class="cta-button" target="_blank">Update Timesheet</a>
<br/>
<br/>
Thank you for your attention.
<br/>
Best regards,
<br/>
<strong>Fast Track Project Pvt Ltd.</strong>
<br/>
<br/>
<a href="https://ftprotech.in/" target="_blank">Visit our site</a> for more information.
</p>
</field>
</record>
</data>
</odoo>