Skip to content

Commit a85ea4b

Browse files
committed
fix(spp_area, spp_gis_report): move GIS reference data outside classification group to fix labels
1 parent 4a706fb commit a85ea4b

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

spp_area/views/area_base.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<field name="level" invisible="1" />
6262

6363
<!-- Main Information -->
64-
<group>
64+
<group name="main_info">
6565
<group string="Basic Information">
6666
<field name="code" placeholder="Area Code..." />
6767
<field

spp_gis_report/views/area_views.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.
1313
<field name="inherit_id" ref="spp_area.view_spparea_form" />
1414
<field name="priority">20</field>
1515
<field name="arch" type="xml">
16-
<!-- Add Reference Data section after area_sqkm field -->
17-
<xpath expr="//field[@name='area_sqkm']" position="after">
16+
<!-- Add Reference Data section after the main info group -->
17+
<xpath expr="//group[@name='main_info']" position="after">
1818
<separator string="Reference Data for GIS Reports" />
19+
<div class="text-muted small mb-2">
20+
These fields are populated from external sources such as national census data or official estimates.
21+
They are used for normalization in GIS reports (e.g., per-capita or per-household calculations).
22+
</div>
1923
<group name="gis_reference_data" col="2">
2024
<group name="population_group">
2125
<field

0 commit comments

Comments
 (0)