removed sales invoice from scheduler log

This commit is contained in:
Rohit Waghchaure 2016-10-06 12:40:09 +05:30
parent 55c328348f
commit 297fbcd388

View File

@ -243,6 +243,6 @@ def save_invoice(e, si_doc, name):
def make_scheduler_log(e, sales_invoice):
scheduler_log = frappe.new_doc('Scheduler Log')
scheduler_log.method = "erpnext.accounts.doctype.sales_invoice.pos.make_invoice"
scheduler_log.error = e
scheduler_log.sales_invoice = sales_invoice
scheduler_log.save(ignore_permissions=True)