mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +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
|
from six import iteritems
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
if "tax_type" not in frappe.db.get_table_columns("Item Tax"):
|
||||||
|
return
|
||||||
old_item_taxes = {}
|
old_item_taxes = {}
|
||||||
item_tax_templates = {}
|
item_tax_templates = {}
|
||||||
rename_template_to_untitled = []
|
rename_template_to_untitled = []
|
||||||
|
|||||||
Reference in New Issue
Block a user