Bench migrate error after install custom app

Anyone help me? When I execute bench migrate after install custom app, I get the following error:

Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/gaby/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 101, in
main()
File “/home/gaby/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/gaby/frappe-bench/env/lib/python3.6/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/gaby/frappe-bench/apps/frappe/frappe/commands/init.py”, line 26, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/gaby/frappe-bench/apps/frappe/frappe/commands/site.py”, line 296, in migrate
skip_search_index=skip_search_index
File “/home/gaby/frappe-bench/apps/frappe/frappe/migrate.py”, line 73, in migrate
sync_fixtures()
File “/home/gaby/frappe-bench/apps/frappe/frappe/utils/fixtures.py”, line 24, in sync_fixtures
ignore_links=True, overwrite=True)
File “/home/gaby/frappe-bench/apps/frappe/frappe/core/doctype/data_import/data_import.py”, line 194, in import_doc
f, data_import=True, force=True, pre_process=pre_process, reset_permissions=True
File “/home/gaby/frappe-bench/apps/frappe/frappe/modules/import_file.py”, line 70, in import_file_by_path
ignore_version=ignore_version, reset_permissions=reset_permissions)
File “/home/gaby/frappe-bench/apps/frappe/frappe/modules/import_file.py”, line 143, in import_doc
doc.insert()
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 238, in insert
self.run_before_save_methods()
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 950, in run_before_save_methods
self.run_method(“validate”)
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 848, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 1137, in composer
return composed(self, method, *args, **kwargs)
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 1120, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/gaby/frappe-bench/apps/frappe/frappe/model/document.py”, line 842, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/gaby/frappe-bench/apps/erpnext/erpnext/accounts/doctype/item_tax_template/item_tax_template.py”, line 12, in validate
self.validate_tax_accounts()
File “/home/gaby/frappe-bench/apps/erpnext/erpnext/accounts/doctype/item_tax_template/item_tax_template.py”, line 24, in validate_tax_accounts
d.idx))
File “/home/gaby/frappe-bench/apps/frappe/frappe/init.py”, line 419, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File “/home/gaby/frappe-bench/apps/frappe/frappe/init.py”, line 398, in msgprint
_raise_exception()
File “/home/gaby/frappe-bench/apps/frappe/frappe/init.py”, line 352, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Item Tax Row 1 must have account of type Tax or Income or Expense or Chargeable

May we know the steps you took to create the app? The message suggests that there may be doctypes that came from ERPNext, was ERPNext installed and customized or is it an app created from scratch?

Install ERPNext 13.x.x.x from that I was created an application to make certain changes to it