[hotfix] reload Sales and Purchase Order Item
This commit is contained in:
parent
2b6bdc1edb
commit
cb2f9a863d
@ -5,6 +5,9 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doctype("Sales Order Item")
|
||||
frappe.reload_doctype("Purchase Order Item")
|
||||
|
||||
# sales return
|
||||
return_entries = list(frappe.db.sql("""
|
||||
select dn.name as name, dn_item.name as row_id, dn.return_against,
|
||||
|
Loading…
x
Reference in New Issue
Block a user