Fix: Subscription list view columns not showing

hey guys, so i was stuck on this for a while and finally figured it out

basically i was trying to add columns to the subscription list view, checked “in list view” in customize form, added them in list settings, nothing worked. only party column was showing up.

checked the db and the fields were actually saved in tabList View Settings so they were being saved just not rendering.

what fixed it - go to client script, create new one for Subscription doctype, set apply on to List and add this:

javascript

frappe.listview_settings['Subscription'] = {
    add_fields: [
        'current_invoice_start',
        'current_invoice_end',
        'start_date',
        'end_date',
        'status'
    ]
};

save and hard refresh. after that list settings started working normally too so you probably wont even need to update the script manually for new fields

hope it helps someone

1 Like