Hello everyone,
When I was creating the Expenses Module, I wanted the list view for one of the doctypes to fetch some fields but I didn’t want those fields to be displayed in the list since I only wanted to use them to set the row indicator.
I couldn’t use the option add_fields
in the list js file, inside the listview_settings
since using it to fetch the fields will also display then in the list.
So in order to achieve what I wanted, I modified the list view JavaScript file and today I created a plugin that allows the following modifications:
- Setting additional fields to fetch without displaying their values
- Setting additional filters in the data query
- Setting the number of rows to display per page
I hope that this plugin turns to be useful for some or all of you.
Best regards