Skip to content

Commit

Permalink
[8.0.1.0.0][hr_employee_birthday_list_reminder] Revision
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Mar 6, 2020
1 parent 485f98b commit 1504247
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 26 deletions.
4 changes: 3 additions & 1 deletion hr_employee_birthday_list_reminder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
# Copyright 2020 OpenSynergy Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import (
models,
)
6 changes: 5 additions & 1 deletion hr_employee_birthday_list_reminder/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"license": "AGPL-3",
"installable": True,
"depends": [
"web",
"mail",
"email_template",
"hr",
Expand All @@ -20,4 +19,9 @@
"security/ir.model.access.csv",
"views/hr_birthday_list_reminder_views.xml",
],
"external_dependencies": {
"python": [
"pandas"
],
},
}

This file was deleted.

4 changes: 3 additions & 1 deletion hr_employee_birthday_list_reminder/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
# Copyright 2020 OpenSynergy Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import hr_birthday_list_reminder
from . import(
hr_birthday_list_reminder,
)
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ def _compute_date_offset(self):
# Compute Date Start Offset
if date_start_offset_period == "day":
dt_start =\
dt_now - pd.DateOffset(
dt_now + pd.DateOffset(
days=date_start_offset)
else:
dt_start =\
dt_now - pd.DateOffset(
dt_now + pd.DateOffset(
months=date_start_offset)
# Compute Date End Offset
if date_end_offset_period == "day":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<field name="manual_employee_ids" col="2" nolabel="1"/>
</group>
</page>
<page name="employee" string="Employee(s) List" groups="base.group_erp_manager">
<page name="employee" string="Employee(s) List">
<group name="group_employee" colspan="4" col="2">
<field name="employee_ids" col="2" nolabel="1"/>
</group>
Expand Down

0 comments on commit 1504247

Please sign in to comment.