Odoo Help


This community 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.


Creating Nested Project Category Tags via XML

Dave Burkholder
on 3/28/15, 2:25 PM 513 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


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