Is it possible to add a Progress Bar for an custom Doctype?

Is there a ready-made functionality for this, or do need to write your own code?

Привет,

You may want to check the Data Import Legacy for this. They provide a good example on this one.

https://github.com/frappe/frappe/blob/develop/frappe/core/doctype/data_import_legacy/data_import_legacy.js#L29

https://github.com/frappe/frappe/blob/develop/frappe/core/doctype/data_import_legacy/importer.py#L361

Regards,

Ivan