[fix] [minor] same sales rate throughour sales cycle
This commit is contained in:
parent
14f42664ec
commit
2e652e8294
@ -4,7 +4,7 @@ def execute():
|
|||||||
ss = webnotes.bean("Selling Settings")
|
ss = webnotes.bean("Selling Settings")
|
||||||
|
|
||||||
same_rate = webnotes.conn.sql("""select field, value from `tabSingles`
|
same_rate = webnotes.conn.sql("""select field, value from `tabSingles`
|
||||||
where doctype = 'Global Defaults' and field = 'maintain_same_sales_rate'"""):
|
where doctype = 'Global Defaults' and field = 'maintain_same_sales_rate'""")
|
||||||
if same_rate:
|
if same_rate:
|
||||||
ss.doc.maintain_same_sales_rate = same_rate[1]
|
ss.doc.maintain_same_sales_rate = same_rate[1]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user