Hi everyone,
For my studies, i need to retrive information from odoo to display them on a web server. To do that i'm using python 3
My issue is the following:
I can't get the article information of a fabrication order
i can get basic informations like the number, name, quantity, date...
With this python code:
fields=['id','name','move_raw_ids','state','product_qty','qty_producing','date_planned_start']
mo_list=self.mModels.execute_kw(self.mErpDB,self.mUserId,self.mErpPwd,
'mrp.production','search_read',
[[('id','=',mo_dicoIDF)]],
{'fields':fields})
I have this result:
[13, 'WH/MO/00013', [38, 39], 'confirmed', 1.0, 0.0, '2022-11-15 22:01:39']
But i can't get the article information on the "components" tab
Finally i want to have that: [13, 'WH/MO/00013', Palette1 1140x1140, 0.00, 1.00, Cartons2 35x31x25, 0.00, 35.00, 1.0, 0.0, '2022-11-15 22:01:39']
Does anyone know how to help me please?
I am not English so sorry if I made mistakes
Thank you for your suggestions
Corentin