mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[fix] [minor] same sales rate throughour sales cycle
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user