codacy fixes

This commit is contained in:
tunde 2017-08-30 21:20:41 +01:00
parent 93c015a42b
commit 6de18ce589
2 changed files with 2 additions and 5 deletions

View File

@ -213,7 +213,6 @@ erpnext.accounts.JournalEntry = frappe.ui.form.Controller.extend({
input.add_options(options); input.add_options(options);
frappe.model.set_value(cdt, cdn, "reference_due_date", options[0]); frappe.model.set_value(cdt, cdn, "reference_due_date", options[0]);
me.due_date_options_cache[d.reference_name] = options; me.due_date_options_cache[d.reference_name] = options;
console.log("input:", input);
} }
}); });
} }

View File

@ -1,10 +1,8 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import frappe import frappe
""" """This will update existing GL Entries by saving its linked Purchase/Sales Invoice's
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"""
and Journal Entry's due date as the due date for the GL Entry
"""
def execute(): def execute():