From e1af7f1a0f347c1c2aff7574c593f96512b8170e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 8 Sep 2015 15:55:09 +0530 Subject: [PATCH] [minor] default mins_between_operations = 10 --- .../doctype/manufacturing_settings/manufacturing_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.py b/erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.py index 96ddc634f8..b80b0beba3 100644 --- a/erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.py +++ b/erpnext/manufacturing/doctype/manufacturing_settings/manufacturing_settings.py @@ -12,4 +12,4 @@ class ManufacturingSettings(Document): def get_mins_between_operations(): return relativedelta(minutes=cint(frappe.db.get_single_value("Manufacturing Settings", - "mins_between_operations"))) + "mins_between_operations")) or 10)