[fixes] time sheet patch fix

This commit is contained in:
Saurabh 2016-06-27 17:44:12 +05:30
parent bff0cacd69
commit 2f788a909f

View File

@ -7,8 +7,8 @@ import frappe
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")