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
3 changes: 3 additions & 0 deletions hrms/hr/doctype/job_applicant/job_applicant.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def before_insert(self):
_("Cannot create a Job Applicant against a closed Job Opening"), title=_("Not Allowed")
)

if frappe.flags.in_web_form and not self.source:
self.source = "Website Listing"

def set_status_for_employee_referral(self):
emp_ref = frappe.get_doc("Employee Referral", self.employee_referral)
if self.status in ["Open", "Replied", "Hold"]:
Expand Down
10 changes: 10 additions & 0 deletions hrms/hr/doctype/leave_encashment/leave_encashment.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ frappe.ui.form.on("Leave Encashment", {
},
};
});

frm.set_query("expense_account", function () {
return {
filters: {
is_group: 0,
root_type: "Expense",
company: frm.doc.company,
},
};
});
},
refresh: function (frm) {
cur_frm.set_intro("");
Expand Down
13 changes: 11 additions & 2 deletions hrms/hr/doctype/leave_encashment/leave_encashment.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,17 @@
}
],
"is_submittable": 1,
"links": [],
"modified": "2025-02-21 13:11:01.939992",
"links": [
{
"group": "Payment",
"is_child_table": 1,
"link_doctype": "Payment Entry Reference",
"link_fieldname": "reference_name",
"parent_doctype": "Payment Entry",
"table_fieldname": "references"
}
],
"modified": "2026-06-24 11:34:04.610000",
"modified_by": "Administrator",
"module": "HR",
"name": "Leave Encashment",
Expand Down
68 changes: 34 additions & 34 deletions hrms/locale/eo.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: frappe\n"
"Report-Msgid-Bugs-To: contact@frappe.io\n"
"POT-Creation-Date: 2026-06-24 17:40+0000\n"
"PO-Revision-Date: 2026-06-24 20:43\n"
"POT-Creation-Date: 2026-06-28 10:19+0000\n"
"PO-Revision-Date: 2026-07-02 22:34\n"
"Last-Translator: contact@frappe.io\n"
"Language-Team: Esperanto\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -500,7 +500,7 @@ msgstr "crwdns140892:0crwdne140892:0"
msgid "Add unused leaves from previous leave period's allocation to this allocation"
msgstr "crwdns140894:0crwdne140894:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1675
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1686
msgid "Added tax components from the Salary Component master as the salary structure didn't have any tax component."
msgstr "crwdns104932:0crwdne104932:0"

Expand Down Expand Up @@ -1824,11 +1824,11 @@ msgstr "crwdns148516:0{0}crwdnd148516:0{1}crwdne148516:0"
msgid "Cannot cancel Shift Assignment: {0} as it is linked to Employee Checkin: {1}"
msgstr "crwdns148518:0{0}crwdnd148518:0{1}crwdne148518:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:380
#: hrms/payroll/doctype/salary_slip/salary_slip.py:381
msgid "Cannot create Salary Slip for Employee joining after Payroll Period"
msgstr "crwdns105558:0crwdne105558:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:383
#: hrms/payroll/doctype/salary_slip/salary_slip.py:384
msgid "Cannot create Salary Slip for Employee who has left before Payroll Period"
msgstr "crwdns105560:0crwdne105560:0"

Expand Down Expand Up @@ -3439,7 +3439,7 @@ msgstr "crwdns106902:0{0}crwdne106902:0"
msgid "Employee {0} on Half day on {1}"
msgstr "crwdns106904:0{0}crwdnd106904:0{1}crwdne106904:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:738
#: hrms/payroll/doctype/salary_slip/salary_slip.py:739
msgid "Employee {0} relieved on {1} must be set as 'Left'"
msgstr "crwdns142906:0{0}crwdnd142906:0{1}crwdne142906:0"

Expand Down Expand Up @@ -3668,7 +3668,7 @@ msgstr "crwdns151216:0{0}crwdne151216:0"
msgid "Error downloading PDF"
msgstr "crwdns159532:0crwdne159532:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1397
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1408
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:401
msgid "Error in formula or condition"
msgstr "crwdns107014:0crwdne107014:0"
Expand Down Expand Up @@ -5206,19 +5206,19 @@ msgstr "crwdns107724:0crwdne107724:0"
msgid "Income Tax Slab is mandatory since the Salary Structure {0} has a tax component {1}"
msgstr "crwdns141690:0{0}crwdnd141690:0{1}crwdne141690:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1954
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1965
msgid "Income Tax Slab must be effective on or before Payroll Period Start Date: {0}"
msgstr "crwdns107726:0{0}crwdne107726:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1942
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1953
msgid "Income Tax Slab not set in Salary Structure Assignment: {0}"
msgstr "crwdns107728:0{0}crwdne107728:0"

#: hrms/payroll/report/employee_ctc_break_up/employee_profile_card.html:107
msgid "Income Tax Slab: "
msgstr "crwdns201905:0crwdne201905:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1950
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1961
msgid "Income Tax Slab: {0} is disabled"
msgstr "crwdns107730:0{0}crwdne107730:0"

Expand Down Expand Up @@ -5454,7 +5454,7 @@ msgstr "crwdns159568:0crwdne159568:0"
msgid "Invalid Dates"
msgstr "crwdns151982:0crwdne151982:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2644
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2655
msgid "Invalid LWP Days Reversed"
msgstr "crwdns160264:0crwdne160264:0"

Expand Down Expand Up @@ -5826,7 +5826,7 @@ msgstr "crwdns141778:0crwdne141778:0"
msgid "Key Result Area"
msgstr "crwdns141780:0crwdne141780:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2641
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2652
msgid "LWP Days Reversed ({0}) does not match actual Payroll Corrections total ({1}) for employee {2} from {3} to {4}"
msgstr "crwdns160266:0{0}crwdnd160266:0{1}crwdnd160266:0{2}crwdnd160266:0{3}crwdnd160266:0{4}crwdne160266:0"

Expand Down Expand Up @@ -6243,7 +6243,7 @@ msgstr "crwdns108194:0{0}crwdne108194:0"
msgid "Leave Without Pay"
msgstr "crwdns108196:0crwdne108196:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:603
#: hrms/payroll/doctype/salary_slip/salary_slip.py:604
msgid "Leave Without Pay does not match with approved {} records"
msgstr "crwdns108200:0crwdne108200:0"

Expand Down Expand Up @@ -6750,7 +6750,7 @@ msgstr "crwdns108408:0crwdne108408:0"
msgid "Missing Salary Components"
msgstr "crwdns159592:0crwdne159592:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1945
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1956
msgid "Missing Tax Slab"
msgstr "crwdns141918:0crwdne141918:0"

Expand Down Expand Up @@ -6823,7 +6823,7 @@ msgid "My Requests"
msgstr "crwdns151276:0crwdne151276:0"

#: hrms/payroll/doctype/income_tax_slab/income_tax_slab.py:123
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1383
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1394
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:387
msgid "Name error"
msgstr "crwdns108470:0crwdne108470:0"
Expand Down Expand Up @@ -6852,7 +6852,7 @@ msgstr "crwdns141938:0crwdne141938:0"
msgid "Net Pay Info"
msgstr "crwdns141940:0crwdne141940:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:283
#: hrms/payroll/doctype/salary_slip/salary_slip.py:284
msgid "Net Pay cannot be less than 0"
msgstr "crwdns108490:0crwdne108490:0"

Expand Down Expand Up @@ -6979,7 +6979,7 @@ msgstr "crwdns160030:0{0}crwdnd160030:0{1}crwdnd160030:0{2}crwdne160030:0"
msgid "No active employee found associated with the email ID {0}. Try logging in with your employee email ID or contact your HR manager for access."
msgstr "crwdns151284:0{0}crwdne151284:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:516
#: hrms/payroll/doctype/salary_slip/salary_slip.py:517
msgid "No active or default Salary Structure found for employee {0} for the given dates"
msgstr "crwdns108536:0{0}crwdne108536:0"

Expand Down Expand Up @@ -7160,7 +7160,7 @@ msgstr "crwdns141988:0crwdne141988:0"
msgid "Note: Total allocated leaves {0} shouldn't be less than already approved leaves {1} for the period"
msgstr "crwdns108590:0{0}crwdnd108590:0{1}crwdne108590:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2254
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2265
msgid "Note: Your salary slip is password protected, the password to unlock the PDF is of the format {0}."
msgstr "crwdns141990:0{0}crwdne141990:0"

Expand Down Expand Up @@ -7947,7 +7947,7 @@ msgstr "crwdns108938:0crwdne108938:0"
msgid "Please Select Company First"
msgstr "crwdns108940:0crwdne108940:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:907
#: hrms/payroll/doctype/salary_slip/salary_slip.py:908
msgid "Please assign a Salary Structure for Employee {0} applicable from or before {1} first"
msgstr "crwdns108946:0{0}crwdnd108946:0{1}crwdne108946:0"

Expand Down Expand Up @@ -7991,7 +7991,7 @@ msgstr "crwdns159666:0crwdne159666:0"
msgid "Please reduce {0} to avoid shift time overlapping with itself"
msgstr "crwdns152559:0{0}crwdne152559:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2243
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2254
msgid "Please see attachment"
msgstr "crwdns142108:0crwdne142108:0"

Expand Down Expand Up @@ -8118,7 +8118,7 @@ msgstr "crwdns108996:0{0}crwdne108996:0"
msgid "Please set Leave Approver for the Employee: {0}"
msgstr "crwdns200484:0{0}crwdne200484:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:587
#: hrms/payroll/doctype/salary_slip/salary_slip.py:588
msgid "Please set Payroll based on in Payroll settings"
msgstr "crwdns108998:0crwdne108998:0"

Expand Down Expand Up @@ -8163,7 +8163,7 @@ msgstr "crwdns109010:0{0}crwdne109010:0"
msgid "Please set the Company"
msgstr "crwdns109012:0crwdne109012:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:376
#: hrms/payroll/doctype/salary_slip/salary_slip.py:377
msgid "Please set the Date Of Joining for employee {0}"
msgstr "crwdns109014:0{0}crwdne109014:0"

Expand Down Expand Up @@ -9150,11 +9150,11 @@ msgstr "crwdns109484:0crwdne109484:0"
msgid "Salary Slip not found."
msgstr "crwdns159690:0crwdne159690:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:410
#: hrms/payroll/doctype/salary_slip/salary_slip.py:411
msgid "Salary Slip of employee {0} already created for this period"
msgstr "crwdns109486:0{0}crwdne109486:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:416
#: hrms/payroll/doctype/salary_slip/salary_slip.py:417
msgid "Salary Slip of employee {0} already created for time sheet {1}"
msgstr "crwdns109488:0{0}crwdnd109488:0{1}crwdne109488:0"

Expand Down Expand Up @@ -9235,7 +9235,7 @@ msgstr "crwdns109516:0crwdne109516:0"
msgid "Salary Structure Assignment not found for employee {0} on date {1}"
msgstr "crwdns159692:0{0}crwdnd159692:0{1}crwdne159692:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:519
#: hrms/payroll/doctype/salary_slip/salary_slip.py:520
msgid "Salary Structure Missing"
msgstr "crwdns109518:0crwdne109518:0"

Expand Down Expand Up @@ -9301,7 +9301,7 @@ msgstr "crwdns159696:0crwdne159696:0"
msgid "Salary components should be part of the Salary Structure."
msgstr "crwdns142346:0crwdne142346:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2664
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2675
msgid "Salary slip emails have been enqueued for sending. Check {0} for status."
msgstr "crwdns109534:0{0}crwdne109534:0"

Expand Down Expand Up @@ -10035,7 +10035,7 @@ msgstr "crwdns142464:0crwdne142464:0"
msgid "Standard Working Hours"
msgstr "crwdns142466:0crwdne142466:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1879
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1890
msgid "Start and end dates not in a valid Payroll Period, cannot calculate {0}."
msgstr "crwdns109860:0{0}crwdne109860:0"

Expand Down Expand Up @@ -10179,7 +10179,7 @@ msgstr "crwdns109978:0crwdne109978:0"
msgid "Sync {0}"
msgstr "crwdns142490:0{0}crwdne142490:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1390
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1401
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:394
msgid "Syntax error"
msgstr "crwdns109990:0crwdne109990:0"
Expand Down Expand Up @@ -10398,7 +10398,7 @@ msgstr "crwdns142532:0crwdne142532:0"
msgid "Theory"
msgstr "crwdns142534:0crwdne142534:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:584
#: hrms/payroll/doctype/salary_slip/salary_slip.py:585
msgid "There are more holidays than working days this month."
msgstr "crwdns110080:0crwdne110080:0"

Expand Down Expand Up @@ -10446,17 +10446,17 @@ msgstr "crwdns110092:0{0}crwdne110092:0"
msgid "This employee already has a log with the same timestamp.{0}"
msgstr "crwdns110094:0{0}crwdne110094:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1398
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1409
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:402
msgid "This error can be due to invalid formula or condition."
msgstr "crwdns110096:0crwdne110096:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1391
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1402
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:395
msgid "This error can be due to invalid syntax."
msgstr "crwdns110098:0crwdne110098:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:1384
#: hrms/payroll/doctype/salary_slip/salary_slip.py:1395
#: hrms/payroll/doctype/salary_structure_assignment/salary_structure_assignment.py:388
msgid "This error can be due to missing or deleted field."
msgstr "crwdns110100:0crwdne110100:0"
Expand Down Expand Up @@ -10912,7 +10912,7 @@ msgstr "crwdns110326:0{0}crwdnd110326:0{1}crwdne110326:0"
msgid "Total working Days Per Year"
msgstr "crwdns142632:0crwdne142632:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:253
#: hrms/payroll/doctype/salary_slip/salary_slip.py:254
msgid "Total working hours should not be greater than max working hours {0}"
msgstr "crwdns110330:0{0}crwdne110330:0"

Expand Down Expand Up @@ -11943,7 +11943,7 @@ msgstr "crwdns110760:0{0}crwdnd110760:0{1}crwdnd110760:0{2}crwdne110760:0"
msgid "{0}. Check error log for more details."
msgstr "crwdns160898:0{0}crwdne160898:0"

#: hrms/payroll/doctype/salary_slip/salary_slip.py:2277
#: hrms/payroll/doctype/salary_slip/salary_slip.py:2288
msgid "{0}: Employee email not found, hence email not sent"
msgstr "crwdns110762:0{0}crwdne110762:0"

Expand Down
Loading
Loading