mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
chore: Linting Issues
(cherry picked from commit 7b5cf6978e)
# Conflicts:
# erpnext/manufacturing/doctype/workstation/workstation.py
This commit is contained in:
@@ -100,9 +100,13 @@ def get_default_holiday_list():
|
|||||||
|
|
||||||
def check_if_within_operating_hours(workstation, operation, from_datetime, to_datetime):
|
def check_if_within_operating_hours(workstation, operation, from_datetime, to_datetime):
|
||||||
if from_datetime and to_datetime:
|
if from_datetime and to_datetime:
|
||||||
|
<<<<<<< HEAD
|
||||||
if not cint(
|
if not cint(
|
||||||
frappe.db.get_value("Manufacturing Settings", "None", "allow_production_on_holidays")
|
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")):
|
||||||
|
>>>>>>> 7b5cf6978e (chore: Linting Issues)
|
||||||
check_workstation_for_holiday(workstation, from_datetime, to_datetime)
|
check_workstation_for_holiday(workstation, from_datetime, to_datetime)
|
||||||
|
|
||||||
if not cint(frappe.db.get_value("Manufacturing Settings", None, "allow_overtime")):
|
if not cint(frappe.db.get_value("Manufacturing Settings", None, "allow_overtime")):
|
||||||
|
|||||||
Reference in New Issue
Block a user