Ir al contenido
Menú
Se marcó esta pregunta
1487 Vistas

I am trying to get a report {'id': 4, 'name': 'Balance Sheet'} for a company_id. How do I get such a report. I only get the fields of the report, but cannot select the company:


This will show all report types:

models.execute_kw(db, uid, password, 'account.report', 'fields_get', [], {'attributes': ['string', 'help', 'type']})


And this the balance sheet:

models.execute_kw(db, uid, password, 'account.report', 'read', [4])


How do I get the actual report for company_id 10?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 24
1757
0
ago 24
1584
0
ene 24
2068
1
nov 23
1785
0
jun 23
2133