Skip to content

set_half_day_status_to_present_in_exisiting_half_day_attendance patch fails #3178

Open
@ashish-greycube

Description

@ashish-greycube

Information about bug

File "/home/frappe/frappe-bench/apps/hrms/hrms/patches/v15_0/set_half_day_status_to_present_in_exisiting_half_day_attendance.py", line 14, in execute
.where(Attendance.status == "Half Day" & Attendance.leave_application.isnotnull())
TypeError: unsupported operand type(s) for &: 'str' and 'NotNullCriterion'

Module

HR

Version

HRMS : v15.46.0

Installation method

None

Relevant log output / Stack trace / Full Error Message.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions