From 6de18ce589b2ff903f779df9d7189ead2bbe08aa Mon Sep 17 00:00:00 2001 From: tunde Date: Wed, 30 Aug 2017 21:20:41 +0100 Subject: [PATCH] codacy fixes --- erpnext/accounts/doctype/journal_entry/journal_entry.js | 1 - erpnext/patches/v8_8/update_gl_due_date_for_pi_and_si.py | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js index 38bd612e2c8..4ce68865bea 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.js +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js @@ -213,7 +213,6 @@ erpnext.accounts.JournalEntry = frappe.ui.form.Controller.extend({ input.add_options(options); frappe.model.set_value(cdt, cdn, "reference_due_date", options[0]); me.due_date_options_cache[d.reference_name] = options; - console.log("input:", input); } }); } diff --git a/erpnext/patches/v8_8/update_gl_due_date_for_pi_and_si.py b/erpnext/patches/v8_8/update_gl_due_date_for_pi_and_si.py index 1e0ca6a9185..8ececeb6e2f 100644 --- a/erpnext/patches/v8_8/update_gl_due_date_for_pi_and_si.py +++ b/erpnext/patches/v8_8/update_gl_due_date_for_pi_and_si.py @@ -1,10 +1,8 @@ from __future__ import unicode_literals import frappe -""" -This will update existing GL Entries by saving its linked Purchase/Sales Invoice's -and Journal Entry's due date as the due date for the GL Entry -""" +"""This will update existing GL Entries by saving its linked Purchase/Sales Invoice's +and Journal Entry's due date as the due date for the GL Entry""" def execute():