mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +00:00
reload account in patch
This commit is contained in:
@@ -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'""")
|
||||
|
||||
Reference in New Issue
Block a user