mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
Fix taxes and totals in party currency
This commit is contained in:
@@ -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"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user