Fix taxes and totals in party currency

This commit is contained in:
Nabin Hait 2015-05-12 12:50:43 +05:30
parent 8719c1a6b8
commit 8ba849184f

View File

@ -6,6 +6,9 @@ import frappe
from frappe.model.meta import get_field_precision
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"]
buying_doctypes = ["Supplier Quotation", "Purchase Order", "Purchase Receipt", "Purchase Invoice"]