Community mailing list archives
community@mail.odoo.com
Browse archives
categories: what are parent_left and parent_rigth
by
redCOR AG, robert rottermann
Hi there, in my quest to mass import partners I need to generate categories. This I can to using an sql statement like the following: statement = "INSERT INTO res_partner_category (id, name, active, parent_id) VALUES (DEFAULT, '%s', 't', %s) RETURNING id" % (name, pid) however, when I look at the database structure of res_partner_category, i find that there are the two fields: parent_left and parent_rigth What are they for? And more importantly: what values should they have? thanks robert
Follow-Ups
-
Re: categories: what are parent_left and parent_rigth
byredCOR AG, robert rottermann -
Re: categories: what are parent_left and parent_rigth
byFerdinand Gassauer -
Re: categories: what are parent_left and parent_rigth
bySuzanne Jean-Sébastien -
Re: categories: what are parent_left and parent_rigth
byredCOR AG, robert rottermann -
Re: categories: what are parent_left and parent_rigth
bySerpent Consulting Services Pvt. Ltd., Jay Vora