reload account in patch
This commit is contained in:
parent
f6e4723101
commit
96c4252762
@ -8,6 +8,8 @@ from frappe.utils import flt
|
||||
def execute():
|
||||
from erpnext.utilities.repost_stock import repost
|
||||
repost(allow_zero_rate=True, only_actual=True)
|
||||
|
||||
frappe.reload_doctype("Account")
|
||||
|
||||
warehouse_account = frappe.db.sql("""select name, master_name from tabAccount
|
||||
where ifnull(account_type, '') = 'Warehouse'""")
|
||||
|
Loading…
x
Reference in New Issue
Block a user