remove extra buttons labelled Make Maintenance Visit
This commit is contained in:
parent
5f72836f11
commit
f343a8bc75
@ -10,5 +10,11 @@ def execute():
|
|||||||
WHERE fieldname='allocated_to'
|
WHERE fieldname='allocated_to'
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
webnotes.conn.sql("""
|
||||||
|
DELETE from `tabDocField`
|
||||||
|
WHERE parent='Customer Issue'
|
||||||
|
AND label='Make Maintenance Visit'
|
||||||
|
""")
|
||||||
|
|
||||||
from webnotes.modules.module_manager import reload_doc
|
from webnotes.modules.module_manager import reload_doc
|
||||||
reload_doc('support', 'doctype', 'customer_issue')
|
reload_doc('support', 'doctype', 'customer_issue')
|
||||||
|
Loading…
Reference in New Issue
Block a user