How to Set Company Filter in Report View

So, in my Sales Order list view I apply this code which works fine, gets the session_default Company and set the Company value in the standard filter and set read-only to this company value as well:

frappe.listview_settings['Sales Order'] = {
    onload: function(me) {
        let pageloadcount = parseInt(localStorage.getItem('pageloadcount')) || 0;

        if (pageloadcount === 2) {
            window.location.href = '';
            localStorage.setItem('pageloadcount', '1');
            window.location.href = '';

        localStorage.setItem('pageloadcount', pageloadcount.toString());

        var defaultcompany = frappe.defaults.get_user_default('Company');['company'].set_input(defaultcompany);['company'].df.read_only = 1;['company'].refresh();

See this Image:

But when I change this to Report view it does not work how can I set Company Filter in Report view as well: