How to Add a Filter to the Sales Register Script Report in ERPNext?

Hi Everyone,

Could you please assist me with customizing the existing Script Report in ERPNext?

Report Name: Sales Register
I would like to add a new filter to this report (e.g., a custom field or additional criteria).

Is it possible to do this via the UI, or do I need to modify the JavaScript and Python code files directly?