[fix] [patch] [minor] custom print format net total export patch
This commit is contained in:
parent
6c0b936f35
commit
86537edd10
@ -3,7 +3,8 @@ import webnotes
|
||||
import re
|
||||
|
||||
def execute():
|
||||
for name, html in webnotes.conn.sql("""select name, html from `tabPrint Format` where standard='No'"""):
|
||||
for name, html in webnotes.conn.sql("""select name, html from `tabPrint Format` where standard='No'
|
||||
and ifnull(html, '')!=''"""):
|
||||
changed = False
|
||||
for match in re.findall("(doc.net_total.*doc.conversion_rate)", html):
|
||||
if match.replace(" ", "") == "doc.net_total/doc.conversion_rate":
|
||||
|
Loading…
x
Reference in New Issue
Block a user