Default Main Engine
Create a many2one field and get the 1st line from one2many/many2many field to consider as the main one
STORY BEHIND THE FEATURES
Odoo has multiple types of linked fields, which allows you to have different type of relationship: many2one, one2many, many2many etc.
However, with the one2many or many2many relationship, we cannot easily make the search or group by these information.
Cluedoo considers the 1st line in the relation one2many/many2many as the default main line.
With this module, we can easily create a many2one field by Studio, and get the data from the 1st line in these abovementioned fields. By doing this, we can extract information, make filter and group by easily.
To be installed in 100% of your database as it is an useful tool for data management.
Want to get Clued into Cluedoo?
HOW TO USE THIS MODULE?
In developer mode, by using Studio, add many2one field, select relation (ex: Sales Order Lines)
In the field settings, we can make relation to one2many object and automatically, the new field will have python code and computed field
The new field will take the first record of one2many object