mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 11:08:32 +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
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("accounts", "doctype", "sales_taxes_and_charges")
|
||||
docs_with_discount_amount = frappe._dict()
|
||||
for dt in ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]:
|
||||
records = frappe.db.sql_list("""select name from `tab%s`
|
||||
|
||||
Reference in New Issue
Block a user