I want to show a fields.Selection field on the website, how can I achieve this?
I tried the following but it gives me an internal server error, the field itself is properly setup since it works on the forms
<span t-field="my_selection_field"/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to show a fields.Selection field on the website, how can I achieve this?
I tried the following but it gives me an internal server error, the field itself is properly setup since it works on the forms
<span t-field="my_selection_field"/>
try this one
<span t-field="obj.my_selection_field"
t-field-options='{"widget": "selection"}'/>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up