Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
127 Vistas

Hi All,

Odoo Online V18 with Studio

I have a quality control worksheet template with custom fields that an employee can fill out when processing an order through the shop floor app.


I would like to be able to have that data shown when I pull up the list view of quality checks. I am unable to find my custom fields when editing the list view and adding a related field. Browsing through all of the related field menu's shows everything but those fields. Is it possible to pull data like this from the worksheet utilizing studio? or should I look at using the other quality checks instead of a custom one to achieve this.

Thanks!

Avatar
Descartar
Autor Mejor respuesta

After some research, I have a somewhat better understanding of how to use the One2Many/Many2One functionality.

For those that this may help with, here is my solution utilizing Studio:

Basically, all I was looking to accomplish was to have a field in one model be displayed in another.

Within a form view of the model I wanted the data to be displayed, I added a new One2Many field and dragged that into view. A selection window pops up and I selected the model from which I wanted to pull the data. In my case, it was Notes/Quality Check

Now that the correct data was being populated into the form view, I can now use those items as a related field. There are multiple data fields in my case as it pulls all of the data points available within the quality control worksheet that was set up. What gets displayed in the form view is also customizable.

Then, within the list view of where I originally wanted the data displayed, I added a new related field by dragging that into the list. A selection window pops up and now I am able to select the field that I brought in earlier as a One2Many. By selecting the arrow next to the field, I can then select a specific field within that to display just one data field at a time.


This is probably basic functionality but hopefully it helps some beginners out there!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 23
2092
0
ago 24
1458
0
dic 23
1458
2
feb 25
54
0
sept 23
1724