There are a lot of ways by which server can crash.
Some are listed below
• If the changes made in a pre-existing module is not correctly formatted.
• More than two fields with a single name are created and forcefully saved in the same model.
• Model and views are not binded properly etc.
So how to overcome issues.
• We can go to the files in which we made changes and undo them.
• We can go to our database through pg admin and delete the field which is crashing the server.
• Most effective way to find an error is that we can check odoo.log file. Location Odoo-> Server-> odoo.log.
• We can hit the URL and revert back on to our previously saved database and resume our work from there. URL- http://localhost:8069/web/database/selector