mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Reload sales taxes and charges in patch
This commit is contained in:
@@ -5,6 +5,7 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc("accounts", "doctype", "sales_taxes_and_charges")
|
||||||
docs_with_discount_amount = frappe._dict()
|
docs_with_discount_amount = frappe._dict()
|
||||||
for dt in ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]:
|
for dt in ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]:
|
||||||
records = frappe.db.sql_list("""select name from `tab%s`
|
records = frappe.db.sql_list("""select name from `tab%s`
|
||||||
|
|||||||
Reference in New Issue
Block a user