suiteCRM 8 version -- custom validations in Opportunities EditView


How to do custom validations in SuiteCRM8 . Like in Sales_Stage users cannot move from Qualification stage to “Closed Won”.

Customization’s are working when module_routing.yaml i made module : “record: false” [ by doing this I’m loosing the new features of CRM8 example: insights , subpanels new layout].

With out doing record:false can we have any other option ?