chore: Linting Issues
(cherry picked from commit 8af30bcc160c335f2d0898e52af85fd7673ba903)
This commit is contained in:
parent
edb3ef7222
commit
5ac4bf9750
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
frappe.ui.form.on('GST Settings', {
|
frappe.ui.form.on('GST Settings', {
|
||||||
refresh: function(frm) {
|
refresh: function(frm) {
|
||||||
frm.add_custom_button('Send GST Update Reminder', () => {
|
frm.add_custom_button(__('Send GST Update Reminder'), () => {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
return frappe.call({
|
return frappe.call({
|
||||||
method: 'erpnext.regional.doctype.gst_settings.gst_settings.send_reminder'
|
method: 'erpnext.regional.doctype.gst_settings.gst_settings.send_reminder'
|
||||||
@ -11,10 +11,10 @@ frappe.ui.form.on('GST Settings', {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
frm.add_custom_button('Sync HSN Codes', () => {
|
frm.add_custom_button(__('Sync HSN Codes'), () => {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
"method": "erpnext.regional.doctype.gst_settings.gst_settings.update_hsn_codes"
|
"method": "erpnext.regional.doctype.gst_settings.gst_settings.update_hsn_codes"
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$(frm.fields_dict.gst_summary.wrapper).empty().html(
|
$(frm.fields_dict.gst_summary.wrapper).empty().html(
|
||||||
|
@ -334,6 +334,7 @@ class Gstr1Report(object):
|
|||||||
self.item_hsn_map = frappe._dict()
|
self.item_hsn_map = frappe._dict()
|
||||||
self.nil_exempt_non_gst = {}
|
self.nil_exempt_non_gst = {}
|
||||||
|
|
||||||
|
# nosemgrep
|
||||||
items = frappe.db.sql(
|
items = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
select item_code, parent, taxable_value, base_net_amount, item_tax_rate, is_nil_exempt,
|
select item_code, parent, taxable_value, base_net_amount, item_tax_rate, is_nil_exempt,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user