Odoo Help


Creating Nested Project Category Tags via XML

Dave Burkholder
on 3/28/15, 2:25 PM 581 views

I have a problem that I think should be easy, but not quite nailing it. I want to create Project Tags when installing my module, and that's easily done.

<record id="hardware_issue" model="project.category">
<field name="name">Hardware/field>
<record id="software_issue" model="project.category">
<field name="name">Software/field>

But I would like to have the Hardware / Software tags be the parent_id of tags. But I don't know what the integer will be, so I can't assign a random int for the parent_id field of another tag. Does that mean it's not possible to create nested tags in XML?    

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

2 follower(s)


Asked: 3/28/15, 2:25 PM
Seen: 581 times
Last updated: 10/10/15, 9:05 PM