chore: Linting Issues
This commit is contained in:
parent
2b65b22aa2
commit
7b5cf6978e
@ -100,9 +100,7 @@ def get_default_holiday_list():
|
||||
|
||||
def check_if_within_operating_hours(workstation, operation, from_datetime, to_datetime):
|
||||
if from_datetime and to_datetime:
|
||||
if not cint(
|
||||
frappe.db.get_value("Manufacturing Settings", None, "allow_production_on_holidays")
|
||||
):
|
||||
if not cint(frappe.db.get_value("Manufacturing Settings", None, "allow_production_on_holidays")):
|
||||
check_workstation_for_holiday(workstation, from_datetime, to_datetime)
|
||||
|
||||
if not cint(frappe.db.get_value("Manufacturing Settings", None, "allow_overtime")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user