OpenSPP / openspp-modules

OpenSPP Odoo modules
https://openspp.org
GNU Lesser General Public License v3.0
25 stars 10 forks source link

Fix Farmer registry demo module #606

Open anthonymarkQA opened 2 weeks ago

anthonymarkQA commented 2 weeks ago

Describe the bug When installing farmer registry demo module it installs OpenSPP base demowhich then installs Openg2p Programs Thus adding program relate features to the farmer instance.

Also installing farmer registry demo adds values inhigehst educational level field in individual .

When selecting either of these three, Certificate, Diploma or University, then save. It will display an odoo error.

To Reproduce

  1. In Runboat, setup a farmer registry base instance, (do not install farmer registry demo yet)
  2. Notice there is no program feature and in Individual>Personal info>Highest educational background, only None, Primary, Secondary and Tertiary) values are available.
  3. Go to APPS and install farmer registry demo module
  4. Go back in step 2 and notice there are now programs module, and there are new values in Highest educational background which causes odoo error when selected and saved.

Expected behavior

After meeting 3 October it was agreed to act on two points:

Screenshots image

Additional context

🔔 Note: This ticket should address common considerations without including country-specific content. Please ensure all references are generic and applicable across various contexts.

reichie020212 commented 1 week ago

Upon checking, Certificate, Dimploma, and University are only added when farmer registry demo module is installed since those are defined on this module.