Fix taxes and totals in party currency
This commit is contained in:
parent
8719c1a6b8
commit
8ba849184f
@ -6,6 +6,9 @@ import frappe
|
|||||||
from frappe.model.meta import get_field_precision
|
from frappe.model.meta import get_field_precision
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
if not frappe.db.sql("""select name from `tabPatch Log`
|
||||||
|
where patch = 'erpnext.patches.v5_0.taxes_and_totals_in_party_currency'"""):
|
||||||
|
return
|
||||||
selling_doctypes = ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]
|
selling_doctypes = ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]
|
||||||
buying_doctypes = ["Supplier Quotation", "Purchase Order", "Purchase Receipt", "Purchase Invoice"]
|
buying_doctypes = ["Supplier Quotation", "Purchase Order", "Purchase Receipt", "Purchase Invoice"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user