Skip to content

Commit

Permalink
fix(appraisal_cycle): Value missing for Appraisal: Company while crea…
Browse files Browse the repository at this point in the history
…ting Appraisal from Appraisal Cycle (backport #2336) (#2338)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
Co-authored-by: jabir-elat <44110258+jabir-elat@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 24, 2024
1 parent a16a2f5 commit 57ffe17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/hr/doctype/appraisal_cycle/appraisal_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def create_appraisals_for_cycle(appraisal_cycle: AppraisalCycle, publish_progres
appraisal = frappe.get_doc(
{
"doctype": "Appraisal",
"company": appraisal_cycle.company,
"appraisal_template": employee.appraisal_template,
"employee": employee.employee,
"appraisal_cycle": appraisal_cycle.name,
Expand Down

0 comments on commit 57ffe17

Please sign in to comment.