fix: Travis

This commit is contained in:
deepeshgarg007 2019-12-26 17:34:02 +05:30
parent 4ee6e37fc3
commit 8857d87c5b

View File

@ -1,7 +1,10 @@
import frappe
def execute():
frappe.reload_doc('selling', 'doctype', frappe.scrub('Sales Order Item'))
frappe.reload_doc('buying', 'doctype', frappe.scrub('Purchase Order Item'))
for doctype in ['Sales Order Item', 'Purchase Order Item']:
frappe.reload_doctype(doctype)
frappe.db.sql("""
UPDATE `tab{0}`
SET against_blanket_order = 1