Default for naming_series must be an option

Hey cousins, Can you please just me…,

Actually, I got an error…, When I integrated the following app (GitHub - indictranstech/fedex_integration) then it throws me an error that I didn’t understand exactly where it comes…,


  • Here It is my Console Log…,

vaibhav@vaibhav:~/Erp-12$ bench migrate
Migrating fedex
Updating DocTypes for frappe : [========================================]
Updating DocTypes for erpnext : [========================================]
Updating DocTypes for fedex_integration: [====== Updating DocTypes for fedex_integration: [============= Updating DocTypes for fedex_integration: [==================== Updating DocTypes for fedex_integration: [========================== Updating DocTypes for fedex_integration: [================================= Updating DocTypes for fedex_integration: [========================================]
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/vaibhav/Erp-12/apps/frappe/frappe/utils/bench_helper.py”, line 99, in
main()
File “/home/vaibhav/Erp-12/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/vaibhav/Erp-12/env/lib/python3.6/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/commands/init.py”, line 26, in _func
ret = f(frappe.dict(ctx.obj), *args, **kwargs)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/commands/site.py”, line 286, in migrate
migrate(context.verbose, rebuild_website=rebuild_website, skip_failing=skip_failing)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/migrate.py”, line 52, in migrate
sync_fixtures()
File “/home/vaibhav/Erp-12/apps/frappe/frappe/utils/fixtures.py”, line 24, in sync_fixtures
ignore_links=True, overwrite=True)
File “/home/vaibhav/Erp-12/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/vaibhav/Erp-12/apps/frappe/frappe/modules/import_file.py”, line 66, in import_file_by_path
ignore_version=ignore_version, reset_permissions=reset_permissions)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/modules/import_file.py”, line 141, in import_doc
doc.insert()
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 260, in insert
self.run_post_save_methods()
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 927, in run_post_save_methods
self.run_method(“on_update”)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 797, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 1073, in composer
return composed(self, method, *args, **kwargs)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 1056, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/vaibhav/Erp-12/apps/frappe/frappe/model/document.py”, line 791, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/custom/doctype/custom_field/custom_field.py”, line 61, in on_update
validate_fields_for_doctype(self.dt)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 674, in validate_fields_for_doctype
validate_fields(frappe.get_meta(doctype, cached=False))
File “/home/vaibhav/Erp-12/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 974, in validate_fields
check_illegal_default(d)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 777, in check_illegal_default
frappe.throw(
(“Default for {0} must be an option”).format(d.fieldname))
File “/home/vaibhav/Erp-12/apps/frappe/frappe/init.py”, line 377, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable)
File “/home/vaibhav/Erp-12/apps/frappe/frappe/init.py”, line 356, in msgprint
_raise_exception()
File “/home/vaibhav/Erp-12/apps/frappe/frappe/init.py”, line 316, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Default for naming_series must be an option //The Error Should Comes here


How to solve this ( Default for naming_series must be an option )

Does anyone please helps me to figure it out…??