We are working with multiple custom apps and wanted to reorder the sequence of migrating the modules. During installation the sequence followed was myapp3, myapp1, myapp2.
Found out the following
SELECT defvalue, defkey from tabDefaultValue where defkey = ‘installed_apps’;
If you update defvalue with correct sequence e.g.
from ‘[“frappe”, “erpnext”, “myapp3”, “myapp1”, “myapp2”]’
to ‘[“frappe”, “erpnext”, “myapp1”, “myapp2”, “myapp3”]’
me too which i found that erpnext app overided my custom app hooks and the erpnext logo apper instaed of my cutom app logo
as the apps order chanhed in sites/apps.txt
so i reorderd it again in sites/apps.txt and all back ok