bench  migrate
Migrating bonyan14.org
Updating DocTypes for frappe        : [========================================] 100%
Updating DocTypes for payments      : [========================================] 100%
Updating DocTypes for erpnext       : [========================================] 100%
Updating DocTypes for hrms          : [========================================] 100%
Updating DocTypes for education     : [========================================] 100%
Updating DocTypes for healthcare    : [========================================] 100%
Updating DocTypes for non_profit    : [========================================] 100%
Updating DocTypes for hr_report     : [========================================] 100%
Updating DocTypes for chat          : [========================================] 100%
Updating DocTypes for archeive_system: [========================================] 100%
Updating DocTypes for itaam_information: [========================================] 100%
Updating DocTypes for metabase_integration: [========================================] 100%
Updating DocTypes for monitoring_and_evaluation: [========================================] 100%
Updating DocTypes for free_disburse : [========================================] 100%
Updating DocTypes for initiative_app: [========================================] 100%
Updating DocTypes for scrum         : [========================================] 100%
Updating DocTypes for bonyan_app    : [========================================] 100%
Updating DocTypes for wiki          : [========================================] 100%
Executing frappe.patches.v16_0.move_role_desk_settings_to_user in bonyan14.org (_ee90f35f1ca0e93c)
Success: Done in 11.309s
Updating Dashboard for frappe
Updating Dashboard for payments
Updating Dashboard for erpnext
Updating Dashboard for hrms
Updating Dashboard for education
Updating Dashboard for healthcare
Updating Dashboard for non_profit
Updating Dashboard for hr_report
Updating Dashboard for openalt_theme
Updating Dashboard for frappe_hijri_datepicker
Updating Dashboard for chat
Updating Dashboard for archeive_system
Updating Dashboard for itaam_information
Updating Dashboard for metabase_integration
Updating Dashboard for monitoring_and_evaluation
Updating Dashboard for free_disburse
Updating Dashboard for initiative_app
Updating Dashboard for scrum
Updating Dashboard for bonyan_app
Updating Dashboard for wiki
Updating customizations for Address
Updating customizations for Contact
Updating customizations for Shift Type
Updating customizations for Work Order
Updating customizations for Warehouse
Updating customizations for Stock Entry
Updating customizations for Stock Entry Detail
Updating customizations for Task Depends On
Updating customizations for Holiday
Updating customizations for Task
Updating customizations for Department
Updating customizations for Holiday List
Updating customizations for Employee
Updating customizations for Customer
Updating customizations for Project
Updating customizations for Indicator
Updating customizations for Indicator Value
Updating customizations for Location
Updating customizations for Scrum
Updating customizations for Work Order
Updating customizations for Training Event
Updating customizations for Employee Education
Updating customizations for Identification Document Type
Updating customizations for Payment Entry
Updating customizations for Payroll Employee Detail
Updating customizations for Party Type
Updating customizations for Employee Advance
Updating customizations for Expense Claim Detail
Updating customizations for Employee Expense Tool
Updating customizations for Warehouse Type
Updating customizations for Warehouse
Updating customizations for Expense Taxes and Charges
Updating customizations for Stock Entry
Updating customizations for Asset
Updating customizations for Expense Claim Request Type
Updating customizations for Purchase Invoice
Updating customizations for Appraisal KRA
Updating customizations for Salary Slip
Updating customizations for Appraisal Cycle
Updating customizations for Journal Entry
Updating customizations for Expense Claim
Updating customizations for Appraisal Template Goal
Updating customizations for Purchase Order
Updating customizations for Salary Detail
Updating customizations for Payment Entry Reference
Updating customizations for Location
Updating customizations for Loan
Updating customizations for Loan Repayment
Updating customizations for Appraisal Goal
Updating customizations for Asset Value Adjustment
Updating customizations for Loan Application
Updating customizations for Employee Transfer
Updating customizations for Department
Updating customizations for Timesheet
Updating customizations for Material Request
Updating customizations for Asset Category
Updating customizations for Expense Claim Advance
Updating customizations for Employee
Updating customizations for Attendance Request
Updating customizations for Employee Expense Entry
Updating customizations for Payment Entry Deduction
Updating customizations for Item
Updating customizations for Appraisal
Updating customizations for Card
Updating customizations for Supplier
Updating customizations for Appraisal Skill
Updating customizations for Purchase Order Item
Updating customizations for Payroll Entry
Updating customizations for Purchase Invoice Item
Updating customizations for Repayment Schedule
Updating customizations for Mode of Payment
Queued rebuilding of search index for bonyan14.org

Traceback with variables (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
      mod_name = 'frappe.utils.bench_helper'
      alter_argv = True
      mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, origin='/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py')
      code = <code object <module> at 0x7f4193820c90, file "/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py", line 1>
      main_globals = {'__name__': '__main__', '__doc__': None, '__package__': 'frappe.utils', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, '__spec__': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, origin='/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py'), '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>, '__file__': '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py', '__cached__': '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/__pycache__/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/local/lib/python3.10/importlib/__init__.py'>, 'json': <module 'json' from '/usr/local/lib/python3.10/json/__init__.py'>, 'os': <module 'os' from '/usr/local/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/local/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/local/lib/p...
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
      code = <code object <module> at 0x7f4193820c90, file "/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py", line 1>
      run_globals = {'__name__': '__main__', '__doc__': None, '__package__': 'frappe.utils', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, '__spec__': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, origin='/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py'), '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>, '__file__': '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py', '__cached__': '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/__pycache__/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/local/lib/python3.10/importlib/__init__.py'>, 'json': <module 'json' from '/usr/local/lib/python3.10/json/__init__.py'>, 'os': <module 'os' from '/usr/local/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/local/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/local/lib/p...
      init_globals = None
      mod_name = '__main__'
      mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>, origin='/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py')
      pkg_name = 'frappe.utils'
      script_name = None
      loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f41950f69e0>
      fname = '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py'
      cached = '/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/__pycache__/bench_helper.cpython-310.pyc'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module>
    main()
      ...skipped... 25 vars
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name="bench")
      commands = {'frappe': <Group frappe>, 'get-frappe-commands': <Command get-frappe-commands>, 'get-frappe-help': <Command get-frappe-help>}
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
      self = <Group None>
      args = ()
      kwargs = {'prog_name': 'bench'}
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
      self = <Group None>
      args = ['frappe', 'migrate']
      prog_name = 'bench'
      complete_var = None
      standalone_mode = True
      extra = {}
      ctx = <click.core.Context object at 0x7f419381f2b0>
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
      _process_result = <function MultiCommand.invoke.<locals>._process_result at 0x7f4193839ab0>
      args = ['migrate']
      cmd_name = 'frappe'
      cmd = <Group frappe>
      sub_ctx = <click.core.Context object at 0x7f419381f430>
      ctx = <click.core.Context object at 0x7f419381f2b0>
      self = <Group None>
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
      _process_result = <function MultiCommand.invoke.<locals>._process_result at 0x7f41938c93f0>
      args = []
      cmd_name = 'migrate'
      cmd = <Command migrate>
      sub_ctx = <click.core.Context object at 0x7f41938b3e80>
      ctx = <click.core.Context object at 0x7f419381f430>
      self = <Group frappe>
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
      self = <Command migrate>
      ctx = <click.core.Context object at 0x7f41938b3e80>
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
      args = ()
      kwargs = {'skip_failing': False, 'skip_search_index': False}
      self = <click.core.Context object at 0x7f41938b3e80>
      callback = <function migrate at 0x7f4193875750>
      ctx = <click.core.Context object at 0x7f41938b3e80>
  File "/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
      args = ()
      kwargs = {'skip_failing': False, 'skip_search_index': False}
      f = <function migrate at 0x7f4193875510>
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/commands/__init__.py", line 29, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
      ctx = <click.core.Context object at 0x7f41938b3e80>
      args = ()
      kwargs = {'skip_failing': False, 'skip_search_index': False}
      profile = False
      f = <function migrate at 0x7f4193875480>
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/commands/site.py", line 671, in migrate
    SiteMigration(
      context = {'sites': ['bonyan14.org'], 'force': False, 'verbose': False, 'profile': False}
      skip_failing = False
      skip_search_index = False
      activate_by_import = <module 'traceback_with_variables.activate_by_import' from '/home/asofi/bench_bonyan_14/env/lib/python3.10/site-packages/traceback_with_variables/activate_by_import.py'>
      SiteMigration = <class 'frappe.migrate.SiteMigration'>
      site = 'bonyan14.org'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/migrate.py", line 183, in run
    self.post_schema_updates()
      self = <frappe.migrate.SiteMigration object at 0x7f41938b3e20>
      site = 'bonyan14.org'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/migrate.py", line 52, in wrapper
    raise e
      args = (<frappe.migrate.SiteMigration object at 0x7f41938b3e20>,)
      kwargs = {}
      method = <function SiteMigration.post_schema_updates at 0x7f417c656950>
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/migrate.py", line 44, in wrapper
    ret = method(*args, **kwargs)
      args = (<frappe.migrate.SiteMigration object at 0x7f41938b3e20>,)
      kwargs = {}
      method = <function SiteMigration.post_schema_updates at 0x7f417c656950>
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/migrate.py", line 142, in post_schema_updates
    sync_customizations()
      self = <frappe.migrate.SiteMigration object at 0x7f41938b3e20>
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/modules/utils.py", line 114, in sync_customizations
    sync_customizations_for_doctype(data, folder, fname)
      app = None
      apps = ['frappe', 'payments', 'erpnext', 'hrms', 'education', 'healthcare', 'non_profit', 'hr_report', 'openalt_theme', 'frappe_hijri_datepicker', 'chat', 'archeive_system', 'itaam_information', 'metabase_integration', 'monitoring_and_evaluation', 'free_disburse', 'initiative_app', 'scrum', 'bonyan_app', 'wiki']
      app_name = 'bonyan_app'
      module_name = 'bonyan_app'
      folder = '/home/asofi/bench_bonyan_14/apps/bonyan_app/bonyan_app/bonyan_app/custom'
      fname = 'asset_movement_item.json'
      f = <_io.TextIOWrapper name='/home/asofi/bench_bonyan_14/apps/bonyan_app/bonyan_app/bonyan_app/custom/asset_movement_item.json' mode='r' encoding='UTF-8'>
      data = {'custom_fields': [{'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2024-11-13 15:06:01.315014', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': '', 'fetch_if_empty': 0, 'fieldname': 'custom_amount', 'fieldtype': 'Currency', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 14, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'custom_quantity_asset', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'Amount', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:51:49.192641', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-custom_amount', 'no_copy': 0, 'non_negative': 0, 'options': No...
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/modules/utils.py", line 179, in sync_customizations_for_doctype
    sync("custom_fields", "Custom Field", "dt")
      filename = 'asset_movement_item.json'
      validate_fields_for_doctype = <function validate_fields_for_doctype at 0x7f417b9bdb40>
      update_schema = False
      sync = <function sync_customizations_for_doctype.<locals>.sync at 0x7f4178a036d0>
      data = {'custom_fields': [{'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2024-11-13 15:06:01.315014', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': '', 'fetch_if_empty': 0, 'fieldname': 'custom_amount', 'fieldtype': 'Currency', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 14, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'custom_quantity_asset', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'Amount', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:51:49.192641', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-custom_amount', 'no_copy': 0, 'non_negative': 0, 'options': No...
      doctype = 'Asset Movement Item'
      folder = '/home/asofi/bench_bonyan_14/apps/bonyan_app/bonyan_app/bonyan_app/custom'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/modules/utils.py", line 171, in sync
    sync_single_doctype(doc_type)
      doctypes = ['Asset Movement Item']
      sync_single_doctype = <function sync_customizations_for_doctype.<locals>.sync.<locals>.sync_single_doctype at 0x7f4178a00b80>
      doc_type = 'Asset Movement Item'
      custom_doctype = 'Custom Field'
      doctype_fieldname = 'dt'
      key = 'custom_fields'
      data = {'custom_fields': [{'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2024-11-13 15:06:01.315014', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': '', 'fetch_if_empty': 0, 'fieldname': 'custom_amount', 'fieldtype': 'Currency', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 14, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'custom_quantity_asset', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'Amount', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:51:49.192641', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-custom_amount', 'no_copy': 0, 'non_negative': 0, 'options': No...
      doctype = 'Asset Movement Item'
      folder = '/home/asofi/bench_bonyan_14/apps/bonyan_app/bonyan_app/bonyan_app/custom'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/modules/utils.py", line 145, in sync_single_doctype
    _insert(d)
      _insert = <function sync_customizations_for_doctype.<locals>.sync.<locals>.sync_single_doctype.<locals>._insert at 0x7f4178a03d00>
      d = {'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2023-08-30 11:53:02.281365', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': 'to_employee.employee_name', 'fetch_if_empty': 0, 'fieldname': 'to_employee_name', 'fieldtype': 'Data', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 10, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'to_employee', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'To Employee Name ', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:44:42.039756', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-to_employee_name_', 'no_copy': 0, 'non_negative': 0, 'op...
      field = None
      custom_field = <CustomField: Asset Movement Item-employee_name>
      doc_type = 'Asset Movement Item'
      custom_doctype = 'Custom Field'
      data = {'custom_fields': [{'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2024-11-13 15:06:01.315014', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': '', 'fetch_if_empty': 0, 'fieldname': 'custom_amount', 'fieldtype': 'Currency', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 14, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'custom_quantity_asset', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'Amount', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:51:49.192641', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-custom_amount', 'no_copy': 0, 'non_negative': 0, 'options': No...
      doctype_fieldname = 'dt'
      key = 'custom_fields'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/modules/utils.py", line 135, in _insert
    doc.db_insert()
      data = {'_assign': None, '_comments': None, '_liked_by': None, '_user_tags': None, 'allow_in_quick_entry': 0, 'allow_on_submit': 0, 'bold': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'columns': 0, 'creation': '2023-08-30 11:53:02.281365', 'default': None, 'depends_on': None, 'description': None, 'docstatus': 0, 'dt': 'Asset Movement Item', 'fetch_from': 'to_employee.employee_name', 'fetch_if_empty': 0, 'fieldname': 'to_employee_name', 'fieldtype': 'Data', 'hidden': 0, 'hide_border': 0, 'hide_days': 0, 'hide_seconds': 0, 'idx': 10, 'ignore_user_permissions': 0, 'ignore_xss_filter': 0, 'in_global_search': 0, 'in_list_view': 0, 'in_preview': 0, 'in_standard_filter': 0, 'insert_after': 'to_employee', 'is_system_generated': 0, 'is_virtual': 0, 'label': 'To Employee Name ', 'length': 0, 'mandatory_depends_on': None, 'modified': '2024-11-13 15:44:42.039756', 'modified_by': 'Administrator', 'module': None, 'name': 'Asset Movement Item-to_employee_name_', 'no_copy': 0, 'non_negative': 0, 'op...
      doc = <CustomField: Asset Movement Item-to_employee_name_>
      custom_doctype = 'Custom Field'
      doc_type = 'Asset Movement Item'
      doctype_fieldname = 'dt'
  File "/home/asofi/bench_bonyan_14/apps/frappe/frappe/model/base_document.py", line 550, in db_insert
    raise frappe.DuplicateEntryError(self.doctype, self.name, e)
      self = <CustomField: Asset Movement Item-to_employee_name_>
      ignore_if_duplicate = False
      conflict_handler = ''
      d = {'name': 'Asset Movement Item-to_employee_name_', 'owner': 'Administrator', 'creation': '2023-08-30 11:53:02.281365', 'modified': '2024-11-13 15:44:42.039756', 'modified_by': 'Administrator', 'docstatus': 0, 'idx': 10, 'is_system_generated': 0, 'dt': 'Asset Movement Item', 'module': None, 'label': 'To Employee Name ', 'fieldname': 'to_employee_name', 'insert_after': 'to_employee', 'length': 0, 'fieldtype': 'Data', 'precision': '', 'hide_seconds': 0, 'hide_days': 0, 'options': None, 'sort_options': 0, 'fetch_from': 'to_employee.employee_name', 'fetch_if_empty': 0, 'collapsible': 0, 'collapsible_depends_on': None, 'default': None, 'depends_on': None, 'mandatory_depends_on': None, 'read_only_depends_on': None, 'non_negative': 0, 'reqd': 0, 'unique': 0, 'is_virtual': 0, 'read_only': 0, 'ignore_user_permissions': 0, 'hidden': 0, 'print_hide': 0, 'print_hide_if_no_value': 0, 'print_width': None, 'no_copy': 0, 'allow_on_submit': 0, 'in_list_view': 0, 'in_standard_filter': 0, 'in_global_search...
      columns = ['name', 'owner', 'creation', 'modified', 'modified_by', 'docstatus', 'idx', 'is_system_generated', 'dt', 'module', 'label', 'fieldname', 'insert_after', 'length', 'fieldtype', 'precision', 'hide_seconds', 'hide_days', 'options', 'sort_options', 'fetch_from', 'fetch_if_empty', 'collapsible', 'collapsible_depends_on', 'default', 'depends_on', 'mandatory_depends_on', 'read_only_depends_on', 'non_negative', 'reqd', 'unique', 'is_virtual', 'read_only', 'ignore_user_permissions', 'hidden', 'print_hide', 'print_hide_if_no_value', 'print_width', 'no_copy', 'allow_on_submit', 'in_list_view', 'in_standard_filter', 'in_global_search', 'in_preview', 'bold', 'report_hide', 'search_index', 'allow_in_quick_entry', 'ignore_xss_filter', 'translatable', 'hide_border', 'description', 'permlevel', 'width', 'columns']
frappe.exceptions.DuplicateEntryError: ('Custom Field', 'Asset Movement Item-to_employee_name_', IntegrityError(1062, "Duplicate entry 'Asset Movement Item-to_employee_name_' for key 'PRIMARY'"))