Patch was faling, reload doc was missing (#10072)

This commit is contained in:
KanchanChauhan 2017-07-25 11:39:46 +05:30 committed by Nabin Hait
parent 13abada526
commit d65b4b4238

View File

@ -2,8 +2,10 @@
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from erpnext.buying.doctype.supplier_scorecard.supplier_scorecard import make_default_records
def execute():
frappe.reload_doc('buying', 'doctype', 'supplier_scorecard_variable')
frappe.reload_doc('buying', 'doctype', 'supplier_scorecard_standing')
make_default_records()