mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
fix: Ignore item tax patch if old schema does not exists
This commit is contained in:
@@ -3,6 +3,8 @@ import json
|
||||
from six import iteritems
|
||||
|
||||
def execute():
|
||||
if "tax_type" not in frappe.db.get_table_columns("Item Tax"):
|
||||
return
|
||||
old_item_taxes = {}
|
||||
item_tax_templates = {}
|
||||
rename_template_to_untitled = []
|
||||
|
||||
Reference in New Issue
Block a user