summaryrefslogtreecommitdiff
path: root/addons/hr_recruitment/data
diff options
context:
space:
mode:
authorMitali Patel <mpa@odoo.com>2018-05-16 11:55:10 +0530
committerThibault Delavallée <tde@odoo.com>2018-07-19 11:26:46 +0200
commitd61534ac870335fdf340a46a4a92c90d35183789 (patch)
tree1c59a89ebcb25c920c49486585e571e88c61debc /addons/hr_recruitment/data
parent707bd1bfb41e991adbde195a330196b48c0b31b2 (diff)
[IMP] hr_recruitment: implement digest KPIs / tips
Purpose of this commit is to send KPIs about hired colleagues in digest emails. Those are added in the default digest template. A tip to remind to use the mail gateway is also added. This commit is linked to task ID 30655 and PR #18318.
Diffstat (limited to 'addons/hr_recruitment/data')
-rw-r--r--addons/hr_recruitment/data/digest_data.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/addons/hr_recruitment/data/digest_data.xml b/addons/hr_recruitment/data/digest_data.xml
new file mode 100644
index 00000000000..89638fb53a5
--- /dev/null
+++ b/addons/hr_recruitment/data/digest_data.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='utf-8'?>
+<odoo>
+ <data noupdate="1">
+ <record id="digest.digest_digest_default" model="digest.digest">
+ <field name="kpi_hr_recruitment_new_colleagues">True</field>
+ </record>
+ </data>
+
+ <data>
+ <record id="digest_tip_hr_recruitment_0" model="digest.tip">
+ <field name="sequence">4</field>
+ <field name="group_id" ref="hr_recruitment.group_hr_recruitment_user"/>
+ <field name="tip_description" type="html">
+<div>
+ <strong style="font-size: 16px;">Try the mail gateway</strong>
+ <div style="font-size: 14px;">New applicants can be generated from incoming emails. You just need to set email aliases in configuration of job positions.<br/>
+ <div style="text-align:center;margin-top:5px;margin-bottom:2px;">
+ <a href="/web#action=hr_recruitment.action_hr_job_config" style="background-color:#56b3b5;padding:2px;color:#FFFFFF;font-weight:bold;text-decoration:none;">Set Email Aliases</a>
+ </div>
+ </div>
+</div>
+ </field>
+ </record>
+ </data>
+</odoo>