Skip to content

Extend the spp_custom_filter to support the SPMIS, Farmer Registry, and demo modules #650

@gonzalesedwin1123

Description

@gonzalesedwin1123

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:

  1. spp_base (SPMIS):
  • tags_ids
  1. spp_farmer_registry:
  • farmer_national_id
  • farmer_postal_address
  • marital_status
  • highest_education_level
  1. 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
  1. spp_farmer_registry_demo:
  • marital_status
  • highest_education_level
  • household_size

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions