Merge pull request #15606 from codingCoffee/abc
fix: make location from warehouse patch
This commit is contained in:
commit
272956980d
@ -6,6 +6,7 @@ import frappe
|
||||
from frappe.utils.nestedset import rebuild_tree
|
||||
|
||||
def execute():
|
||||
if not frappe.db.get_value('Asset', {'docstatus': ('<', 2) }, 'name'): return
|
||||
frappe.reload_doc('assets', 'doctype', 'location')
|
||||
frappe.reload_doc('stock', 'doctype', 'warehouse')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user