Skip to content

Commit b205aa5

Browse files
committed
fix(spp_farmer_registry_vocabularies): correct holder type namespace URI
The holder type vocabulary used urn:fao:wca:2020:holder-type but the farm_details model and views filter on urn:openspp:vocab:holder-type, causing the Holder Type dropdown to show no records.
1 parent aaa9001 commit b205aa5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spp_farmer_registry_vocabularies/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ with FAO standards:
4848
- Commercial
4949
- Both
5050

51-
#### Holder Type (`urn:fao:wca:2020:holder-type`)
51+
#### Holder Type (`urn:openspp:vocab:holder-type`)
5252

5353
- Individual
5454
- Joint

spp_farmer_registry_vocabularies/data/vocab_holder_type.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<odoo noupdate="1">
33
<record id="vocab_holder_type" model="spp.vocabulary">
44
<field name="name">Holder Type (FAO WCA 2020)</field>
5-
<field name="namespace_uri">urn:fao:wca:2020:holder-type</field>
5+
<field name="namespace_uri">urn:openspp:vocab:holder-type</field>
66
<field name="version">2020</field>
77
<field name="is_system">True</field>
88
<field name="domain">agriculture</field>

0 commit comments

Comments
 (0)