-
Notifications
You must be signed in to change notification settings - Fork 2
fix(spp_area, spp_gis_report): add labels and help to area form fields #23
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
Changes from 1 commit
4a706fb
a85ea4b
d33793b
baaa419
e8f428c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,12 +18,24 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details. | |
| <separator string="Reference Data for GIS Reports" /> | ||
| <group name="gis_reference_data" col="2"> | ||
| <group name="population_group"> | ||
| <field name="population" /> | ||
| <field name="population_date" /> | ||
| <field name="population_source" /> | ||
| <field | ||
| name="population" | ||
| help="Total population from census or official estimate. Used for per-capita normalization in GIS reports." | ||
| /> | ||
| <field | ||
| name="population_date" | ||
| help="Date when the population data was collected or published." | ||
| /> | ||
| <field | ||
| name="population_source" | ||
| help="Source of the population data, e.g., 'National Census 2020' or 'UNFPA Estimate'." | ||
| /> | ||
| </group> | ||
| <group name="household_group"> | ||
| <field name="household_count" /> | ||
| <field | ||
| name="household_count" | ||
| help="Number of households in this area. Used for per-household normalization in GIS reports." | ||
| /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While adding these descriptive Consider moving these improved help texts to the model definitions. For example, in population = fields.Integer(
"Population",
help="Total population from census or official estimate. Used for per-capita normalization in GIS reports.",
) |
||
| </group> | ||
| </group> | ||
| </xpath> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with other parts of the application (e.g.,
spp_gis_report/__manifest__.pywhich useskm²), consider using the squared symbol for square kilometers. This is a more standard and concise representation.