mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
timestamps, comments
This commit is contained in:
@@ -13,7 +13,7 @@ class DocType:
|
||||
for r in res:
|
||||
ret[cstr(r[0])]=r[1] and cstr(r[1]) or ''
|
||||
|
||||
return str(ret)
|
||||
return ret
|
||||
|
||||
def set_cp_value(self, key):
|
||||
"""
|
||||
|
||||
@@ -28,4 +28,4 @@ class DocType:
|
||||
#
|
||||
def set_html_from_image(self):
|
||||
file_name = self.doc.file_list.split(',')[0]
|
||||
self.doc.header_html = '<div><img src="cgi-bin/getfile.cgi?name=' + file_name + '"/></div>'
|
||||
self.doc.header_html = '<div><img style="max-height: 120px; max-width: 600px" src="index.cgi?cmd=get_file&fname=' + file_name + '"/></div>'
|
||||
|
||||
@@ -281,4 +281,4 @@ class DocType:
|
||||
elif cond_hold =='Yes':
|
||||
all_cond_hold ='Yes'
|
||||
|
||||
return all_cond_hold
|
||||
return all_cond_hold
|
||||
|
||||
Reference in New Issue
Block a user