Editing Erpnext Code

I tried to disable the message print that shows in sales order when trying to choose an item before specifying a customer. When I searched its code I found 3 files. I commented the transaction.js’s one. However it still shows up even after bench migrate and restart.