[fix] patches

This commit is contained in:
Rushabh Mehta 2015-02-25 16:28:33 +05:30
parent 6cdfd1e976
commit 8f62e2448c

View File

@ -5,5 +5,5 @@ from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doctype("BOM")
frappe.reload_doctype("Stock Entry")
frappe.db.sql("update `tabStock Entry` set from_bom = if(ifnull(bom_no, '')='', 0, 1)")