Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion hrms/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@

# before_install = "hrms.install.before_install"
after_install = "hrms.install.after_install"
before_migrate = "hrms.setup.make_people_workspace_standard"
after_migrate = "hrms.setup.update_select_perm_after_install"

setup_wizard_complete = "hrms.subscription_utils.update_erpnext_access"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@
],
"grid_page_length": 50,
"hide_toolbar": 1,
"is_virtual": 1,
"issingle": 1,
"links": [],
"modified": "2025-08-07 09:26:38.614559",
"modified": "2026-04-22 11:16:10.561980",
"modified_by": "Administrator",
"module": "HR",
"name": "Employee Attendance Tool",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,29 @@ class EmployeeAttendanceTool(Document):
status: DF.Literal["", "Present", "Absent", "Half Day", "Work From Home"]
# end: auto-generated types

pass
def save(self):
return

@staticmethod
def get_list():
pass

@staticmethod
def get_count():
pass

@staticmethod
def get_stats():
pass

def db_insert(self):
pass

def db_update(self):
pass

def delete(self):
pass


@frappe.whitelist()
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Czech\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6283,7 +6283,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Vlevo"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Danish\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6283,7 +6283,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Venstre"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Italian\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6283,7 +6283,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Sinistra"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/my.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:14\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Burmese\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6283,7 +6283,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "ဘယ်"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Polish\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6302,7 +6302,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Lewo"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Portuguese, Brazilian\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6283,7 +6283,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Esquerda"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
4 changes: 2 additions & 2 deletions hrms/locale/sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2026-04-19 09:46+0000\n"
"PO-Revision-Date: 2026-04-21 18:13\n"
"PO-Revision-Date: 2026-04-22 18:10\n"
"Last-Translator: [email protected]\n"
"Language-Team: Slovenian\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -6308,7 +6308,7 @@ msgstr ""
#: hrms/hr/report/leave_ledger/leave_ledger.js:41
msgctxt "Employee"
msgid "Left"
msgstr ""
msgstr "Levo"

#: hrms/overrides/dashboard_overrides.py:16
msgid "Lifecycle"
Expand Down
1 change: 1 addition & 0 deletions hrms/patches.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[pre_model_sync]
hrms.patches.v15_0.check_version_compatibility_with_frappe #2023-06-27
hrms.patches.v16_0.merge_interview_round_with_interview_type
hrms.patches.v16_0.make_people_workspace_sidebar_standard

[post_model_sync]
hrms.patches.post_install.set_payroll_entry_status
Expand Down
7 changes: 7 additions & 0 deletions hrms/patches/v16_0/make_people_workspace_sidebar_standard.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import frappe


def execute():
if frappe.db.table_exists("Workspace Sidebar"):
if frappe.db.exists("Workspace Sidebar", "People"):
frappe.db.set_value("Workspace Sidebar", "People", "standard", 1)
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ def execute():
for interview_round, interview_type in frappe.get_all(
"Interview Round", fields=["name", "interview_type"], as_list=True
):
rename_doc("Interview Type", interview_type, interview_round)
if interview_type != interview_round:
rename_doc("Interview Type", interview_type, interview_round)
5 changes: 0 additions & 5 deletions hrms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,11 +877,6 @@ def add_default_hr_permissions():
update_permission_property(doctype, role, permlevel=0, ptype=ptype, value=value)


def make_people_workspace_standard():
if frappe.db.exists("Workspace Sidebar", "People"):
frappe.db.set_value("Workspace Sidebar", "People", "standard", 1)


def setup_repost_defaults():
accounts_settings = frappe.get_doc("Accounts Settings")
for x in frappe.get_hooks("repost_allowed_doctypes"):
Expand Down
Loading