The spp_custom_filter module provides a way for certain fields set with the "allow_filter" attribute from appearing in domain filters. Currently, only a minimal list of fields of the res.partner model are defined with this attribute in the spp_customer_filter_ui module.
This needs to be extended to the spp_base (SPMIS), spp_farmer_registry, and the demo data generator modules. Set the fields for the res.partner model defined in these modules with the "allow_filter" attribute set to "True". Refer to the list of fields below:
- spp_base (SPMIS):
- spp_farmer_registry:
- farmer_national_id
- farmer_postal_address
- marital_status
- highest_education_level
- spp_mis_demo:
- z_ind_grp_is_single_head_hh
- z_ind_grp_is_hh_with_medical_condition
- z_ind_grp_is_hh_with_children
- z_cst_indv_medical_condition
- spp_farmer_registry_demo:
- marital_status
- highest_education_level
- household_size