Skip to content

Commit bec75cd

Browse files
committed
fix(spp_registry): fix Registrant Tags EvalError on ref() in context
The Registrant Tags action used ref() in the context field body which is evaluated client-side in Odoo 19 where ref() is not available. Move to eval attribute which is processed server-side during XML loading. Fixes #879
1 parent aaa9001 commit bec75cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spp_registry/views/tags_view.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
>[('namespace_uri', '=', 'urn:openspp:vocab:registrant-tags')]</field>
1616
<field
1717
name="context"
18-
>{'default_vocabulary_id': ref('spp_registry.vocab_registrant_tags')}</field>
18+
eval="{'default_vocabulary_id': ref('spp_registry.vocab_registrant_tags')}"
19+
/>
1920
<field name="help" type="html">
2021
<p class="o_view_nocontent_smiling_face">
2122
Add a Registrant Tag!

0 commit comments

Comments
 (0)