fix: Linting issues
This commit is contained in:
parent
c85242e03d
commit
e1fffdb262
@ -7,7 +7,7 @@ frappe.ui.form.on("Payment Entry", {
|
||||
'name': frm.doc.company
|
||||
},
|
||||
'callback': function(r) {
|
||||
me.frm.set_value('company_address', r.message);
|
||||
frm.set_value('company_address', r.message);
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -21,7 +21,7 @@ frappe.ui.form.on("Payment Entry", {
|
||||
'name': frm.doc.party
|
||||
},
|
||||
'callback': function(r) {
|
||||
me.frm.set_value('customer_address', r.message);
|
||||
frm.set_value('customer_address', r.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
# Copyright (c) 2021, Frappe and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||
|
||||
def execute():
|
||||
|
@ -62,7 +62,7 @@ class Gstr1Report(object):
|
||||
def get_data(self):
|
||||
if self.filters.get("type_of_business") in ("B2C Small", "B2C Large"):
|
||||
self.get_b2c_data()
|
||||
elif self.filters.get("type_of_business") in ("Advances"):
|
||||
elif self.filters.get("type_of_business") == "Advances":
|
||||
self.get_advance_data()
|
||||
elif self.invoices:
|
||||
for inv, items_based_on_rate in self.items_based_on_tax_rate.items():
|
||||
@ -78,7 +78,7 @@ class Gstr1Report(object):
|
||||
self.data.append(row)
|
||||
|
||||
def get_advance_data(self):
|
||||
advances_data = {}
|
||||
Advances_data = {}
|
||||
advances = self.get_advance_entries()
|
||||
for entry in advances:
|
||||
# only consider IGST and SGST so as to avoid duplication of taxable amount
|
||||
|
Loading…
Reference in New Issue
Block a user