Merge pull request #5507 from neilLasrado/develop
Added Minimum Inventory level to Item Master
diff --git a/erpnext/patches/v7_0/set_naming_series_for_timesheet.py b/erpnext/patches/v7_0/set_naming_series_for_timesheet.py
index 0746213..a052282 100644
--- a/erpnext/patches/v7_0/set_naming_series_for_timesheet.py
+++ b/erpnext/patches/v7_0/set_naming_series_for_timesheet.py
@@ -7,8 +7,8 @@
from frappe.custom.doctype.property_setter.property_setter import make_property_setter
def execute():
- frappe.reload_doctype('Time Sheet')
- frappe.reload_doctype('Time Sheet Detail')
+ frappe.reload_doc('projects', 'doctype','time_sheet')
+ frappe.reload_doc('projects', 'doctype', 'time_sheet_detail')
make_property_setter('Time Sheet', "naming_series", "options", 'TS-', "Text")
make_property_setter('Time Sheet', "naming_series", "default", 'TS-', "Text")
\ No newline at end of file