ERPNext POP UP edit in js

Hi All,
How to edit the popup from the default erpnext page.

  1. In Stock entry Add Serial no where to edit the js file.
    Screenshot%20from%202019-01-17%2010-25-28
  2. In Report page while clicking pdf where to edit the portrait to landscape in js file.Screenshot%20from%202019-01-17%2010-26-16

I can’t able to find the file to edit it.

Do not edit the standard file even if you find it.

You will run into issues when you try to upgrade.

Thank You @Basawaraj_Savalagi. I will not edit it may i know where the file is. for testing

Its probably this one…

Thankyou @Basawaraj_Savalagi