Odoo Ayuda

2

1
1 Respuesta
1
Avatar

Brett Lehrer Estados Unidos

--Brett Lehrer--

1397
| 5 5 10
Milwaukee, Estados Unidos
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer Estados Unidos
16/4/15 20:06

The parent_left and parent_right fields are an implementation of the Nested Set Model concept of relational databases, and not exclusive to stock_location.  There are a number of scenarios where they are used to define nested hierarchy: account_account, product_category, ir_ui_menu, etc.  The idea is that given any one record, the parent_left and parent_right fields can define all of the children, children of children, and so on found under that record, and in O(1) complexity.  SerpentCS has written up a much better explanation of this concept already: http://www.serpentcs.com/serpentcs-openerp-parent_left-parent_right-explained

1 Comentario
Anil R. Kesariya (Jupical) India
16/4/15 21:38

Thanks Brett.

Realizar una pregunta
Etiquetas
Keep Informed
1 seguidor(es)
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.

Register
Odoo Training Center

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

Test it now