Reload sales taxes and charges in patch
This commit is contained in:
parent
38d5407ea1
commit
82029be6f9
@ -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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user