Customization Best Practice: Fixtures vs Internal JS of a doctype

You should start new topic for new questions. Easier for users to search later.

python script that runs after install can be used?

refer erpnext code for after_install hook: