Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gonzalesedwin1123 opened this issue Oct 29, 2024 · 1 comment · May be fixed by #663
Open
Assignees

Comments

@gonzalesedwin1123
Copy link
Member

gonzalesedwin1123 commented Oct 29, 2024

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
@anthonymarkQA
Copy link

anthonymarkQA commented Nov 21, 2024

Findings: QA Passed

Issues Found: custom filter with long texts covers the query GUI. (will be raised as separate ticket 678)

  • Custom filter for SPMIS individual - pass
  • Custom filter for SPMIS group - pass
  • Custom filter for SPMIS demo -pass

image

  • Custom filter for Farmer individual - pass
  • Custom filter for Farmer group -Not verified as there is no group filter to be used.

Example fields for groups would be

  1. Name
  2. Tag
  3. Farm details fields (Land Acreage , Parcel name, LR/Cert. No/Agreement no, Legal status, If leased (lease term in years))
  4. Created on
  5. Created by
  • Custom filter for Farmer demo - pass

NOTE: Refinement of custom filter to be more targeted is to to be resolved on a separate ticket 675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants