You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
4.1 KiB
81 lines
4.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="hr_leave_planner">
|
|
<t t-call="web_planner.pages">
|
|
<t t-call="web_planner.category">
|
|
<t t-set="menu_categorytitle">Setup</t>
|
|
<t t-set="menu_categoryclasses" t-value="'fa-magic'"/>
|
|
<t t-call="web_planner.page">
|
|
<t t-set="page_title">Get Mobile</t>
|
|
<t t-if="not (alias_name and alias_domain)">
|
|
<div class="alert alert-warning" role="alert">
|
|
<strong>Your email gateway is not configured.</strong> Please configure your email
|
|
gateway from the Settings app, menu <i>General Settings</i>.
|
|
</div>
|
|
<p>
|
|
Once your email gateway is configured, come back to this screen
|
|
to setup the next steps.
|
|
</p>
|
|
</t>
|
|
<t t-if="alias_name and alias_domain">
|
|
<p>
|
|
To create leave request by email, send leave request by email with the following
|
|
information:
|
|
</p>
|
|
|
|
<dl class="dl-horizontal">
|
|
<dt>From: Your Email</dt>
|
|
<dd>Your Email Address</dd>
|
|
<dt>To:</dt>
|
|
<dd><t t-esc="alias_name"/>@<t t-esc="alias_domain"/></dd>
|
|
<dt>Subject: </dt>
|
|
<dd><strong class="text-info">LEAVE REQUEST</strong> Free Description with Date From: and Date To:<strong class="text-primary"></strong></dd>
|
|
</dl>
|
|
<hr class="mb32"/>
|
|
<p>
|
|
The <strong class="text-info">LEAVE REQUEST</strong> is mandatory and should be in the
|
|
subject of your email. This
|
|
will root the leave request automatically on your
|
|
Odoo.
|
|
</p><p>
|
|
Also you need to set <strong class="text-primary">Date From: and Date To:</strong>
|
|
at the end of the body of your email.
|
|
</p>
|
|
<div class="alert alert-info" role="alert">
|
|
<b>Note:</b> Set the same email address on your employee form(working email) than
|
|
the one you use are your "From:". Otherwise, your
|
|
leave request will not be accepted by email.
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
|
|
<t t-call="web_planner.page">
|
|
<t t-set="page_title">End</t>
|
|
<t t-set="hide_title" t-value="True"/>
|
|
<t t-set="hide_from_menu" t-value="True"/>
|
|
<t t-set="hide_mark_as_done" t-value="True"/>
|
|
<h1 class="text-center o_planner_trophy" data-icon="" />
|
|
<div class="text-center">
|
|
<h1>Congratulations, you're done!</h1>
|
|
<h3>We hope this feature helped you manage your leave request efficiently.</h3>
|
|
<h4>Don't hesitate to <a href="mailto:info@cybrosys.com" target="_blank">send us an email</a> to describe<br/> your experience or to suggest improvements!</h4>
|
|
|
|
<p>Have a wonderful day,<br/>- Cybrosys</p>
|
|
<img src="/hr_leave_request_aliasing/static/description/cybro_logo.png"/>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
|
|
<record id="planner_hr_leave" model="web.planner">
|
|
<field name="name">Leave strategy planner</field>
|
|
<field name="view_id" ref="hr_leave_planner"/>
|
|
<field name="menu_id" ref="hr_holidays.menu_hr_holidays_root"/>
|
|
<field name="planner_application">planner_hr_leave</field>
|
|
<field name="tooltip_planner"><![CDATA[
|
|
Send receipts by email to create leave request efficiently.
|
|
]]>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|