fix: Codacy and minor fixes
This commit is contained in:
parent
4993ab5191
commit
be05c4e14a
@ -13,7 +13,7 @@ frappe.ui.form.on('Item Tax Template', {
|
||||
}
|
||||
});
|
||||
},
|
||||
company: function (frm) {
|
||||
company: function (frm) {
|
||||
frm.set_query("tax_type", "taxes", function(doc) {
|
||||
return {
|
||||
filters: [
|
||||
|
@ -707,5 +707,4 @@ erpnext.patches.v13_0.move_doctype_reports_and_notification_from_hr_to_payroll #
|
||||
erpnext.patches.v13_0.move_payroll_setting_separately_from_hr_settings #22-06-2020
|
||||
erpnext.patches.v13_0.check_is_income_tax_component #22-06-2020
|
||||
erpnext.patches.v12_0.add_taxjar_integration_field
|
||||
execute:frappe.reload_doc('accounts', 'doctype', 'item_tax_template')
|
||||
erpnext.patches.v12_0.update_item_tax_template_company
|
||||
|
@ -2,6 +2,8 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('accounts', 'doctype', 'item_tax_template')
|
||||
|
||||
item_tax_template_list = frappe.get_list('Item Tax Template')
|
||||
for template in item_tax_template_list:
|
||||
doc = frappe.get_doc('Item Tax Template', template.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user