I was trying to override a few built in ERPNext pages and noticed that I could override the .html pages but not the .py controller.
I was wondering if this is by design?
One example is the the templates/pages/order.html template, I am able to copy it to my app and extend it but if I want to add extra data to what’s passed to the template from templates/pages/order.py I am unable to do it. I can tell it my controller never gets executed as no .pyc file gets generated and non of my extra data comes along ofcourse.
Please have your team add any suggestions including things you may already have on your roadmap but have not been able to work on yet. We are actively developing this now as it is for a client of ours.