About new app and customization

Continuing what was discuss on About bench update if we’d like to change a report on current erpnext, for example, adding column on gross profit report, can new app do this customization?

You can create a new report similar to “Gross Profit” using the existing codes and including your own customized logic.

Ok. Can you explain in more details how can I do this? Because I’m now using erpnext version 6.7.8 with our customization and we want to migrate to version 6.17 soon. Thanks

You have to create new app(plugin) and create new report in your new app (plugin) and copy the code in gross profit if needed. See https://frappe.github.io/frappe/user/tutorial/