Skip to content

Commit 7c5171a

Browse files
[MIG] hr_employee_birthday_mail: Migration to 18.0
1 parent c4c869c commit 7c5171a

File tree

5 files changed

+55
-15
lines changed

5 files changed

+55
-15
lines changed

hr_employee_birthday_mail/README.rst

+17
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ and unified work environment.
4242
.. contents::
4343
:local:
4444

45+
Configuration
46+
=============
47+
48+
Steps to Configure:
49+
50+
1. Go to My Profile > Private Information.
51+
52+
2. Add your date of birth.
53+
54+
3. Check the option Allow Birthday Wishes if you want colleagues to be
55+
notified on your birthday.
56+
57+
4. Check the option Notify Others' Birthday if you want to receive
58+
notifications about your colleagues' birthdays.
59+
60+
5. Save the changes.
61+
4562
Usage
4663
=====
4764

hr_employee_birthday_mail/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"summary": """
66
Automating birthday mail messages and fostering for a positive work environment.
77
""",
8-
"version": "17.0.1.1.0",
8+
"version": "18.0.1.0.0",
99
"license": "AGPL-3",
1010
"author": "ForgeFlow, Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/hr",

hr_employee_birthday_mail/data/ir_cron.xml

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<field name="user_id" ref="base.user_root" />
99
<field name="interval_number">1</field>
1010
<field name="interval_type">days</field>
11-
<field name="numbercall">-1</field>
12-
<field name="doall" eval="False" />
1311
<field name="priority">5</field>
1412
</record>
1513
</odoo>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Steps to Configure:
2+
3+
1. Go to My Profile > Private Information.
4+
5+
2. Add your date of birth.
6+
7+
3. Check the option Allow Birthday Wishes if you want colleagues to be notified on your birthday.
8+
9+
4. Check the option Notify Others' Birthday if you want to receive notifications about your colleagues' birthdays.
10+
11+
5. Save the changes.

hr_employee_birthday_mail/static/description/index.html

+26-12
Original file line numberDiff line numberDiff line change
@@ -380,46 +380,60 @@ <h1 class="title">HR Employee Birthday Mail</h1>
380380
<p><strong>Table of contents</strong></p>
381381
<div class="contents local topic" id="contents">
382382
<ul class="simple">
383-
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
384-
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
385-
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
386-
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
387-
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
388-
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
383+
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
384+
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
385+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
386+
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
387+
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
388+
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
389+
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
389390
</ul>
390391
</li>
391392
</ul>
392393
</div>
394+
<div class="section" id="configuration">
395+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
396+
<p>Steps to Configure:</p>
397+
<ol class="arabic simple">
398+
<li>Go to My Profile &gt; Private Information.</li>
399+
<li>Add your date of birth.</li>
400+
<li>Check the option Allow Birthday Wishes if you want colleagues to be
401+
notified on your birthday.</li>
402+
<li>Check the option Notify Others’ Birthday if you want to receive
403+
notifications about your colleagues’ birthdays.</li>
404+
<li>Save the changes.</li>
405+
</ol>
406+
</div>
393407
<div class="section" id="usage">
394-
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
408+
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
395409
<p>Just install and configure in the scheduled action the hour you want to
396410
run the check daily.</p>
397411
</div>
398412
<div class="section" id="bug-tracker">
399-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
413+
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
400414
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr/issues">GitHub Issues</a>.
401415
In case of trouble, please check there if your issue has already been reported.
402416
If you spotted it first, help us to smash it by providing a detailed and welcomed
403417
<a class="reference external" href="https://github.com/OCA/hr/issues/new?body=module:%20hr_employee_birthday_mail%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
404418
<p>Do not contact contributors directly about support or help with technical issues.</p>
405419
</div>
406420
<div class="section" id="credits">
407-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
421+
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
408422
<div class="section" id="authors">
409-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
423+
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
410424
<ul class="simple">
411425
<li>ForgeFlow</li>
412426
</ul>
413427
</div>
414428
<div class="section" id="contributors">
415-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
429+
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
416430
<ul class="simple">
417431
<li>Joan Sisquella &lt;<a class="reference external" href="mailto:joan.sisquella&#64;forgeflow.com">joan.sisquella&#64;forgeflow.com</a>&gt;</li>
418432
<li>Mateu Griful &lt;<a class="reference external" href="mailto:mateu.griful&#64;forgeflow.com">mateu.griful&#64;forgeflow.com</a>&gt;</li>
419433
</ul>
420434
</div>
421435
<div class="section" id="maintainers">
422-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
436+
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
423437
<p>This module is maintained by the OCA.</p>
424438
<a class="reference external image-reference" href="https://odoo-community.org">
425439
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />

0 commit comments

Comments
 (0)