Odoo Help


How to add tags in website contact form?

Nicolas de Moreau
on 11/26/15, 1:47 AM 1,008 views

I tried a lot of things but even if I do this;

<div t-attf-class="form-group #{error and 'categ_ids' in error and 'has-error' or ''}">

     <label class="col-md-3 col-sm-4 control-label" for="name">You are an : </label>

    <div class="col-md-7 col-sm-8"> <input type="text" name="categ_ids" t-att-name="categ_ids" t-attf-value="#{categ_ids or ''}">    </input> </div>


where the value of the field is "investor,entrepreneur", knowing that the tags "investor" and "entrepreneur" already exist in db, it doesn't create the tags.

This works in a csv upload however.

Of course, the best solution would be to have checkboxes for the user to click but if I could already upload my text field with comma separated tags, it would be great.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/26/15, 1:47 AM
Seen: 1008 times
Last updated: 7/29/16, 9:04 AM