Open reinaldoBloopark opened 8 months ago
This is a question, not an issue. I am using the library (and by the way its great) but I want to convert the read data to JSON.
If I have for example sa sale.order.line, and inside I have a product, I would like to have something like:
[{'line': [{'product_id': {'id': 5, 'name': 'Product Name'}}]}]; instead of having an instance of odooly.Record
Is this possible? any hint?
Thanks in advance
This is a question, not an issue. I am using the library (and by the way its great) but I want to convert the read data to JSON.
If I have for example sa sale.order.line, and inside I have a product, I would like to have something like:
[{'line': [{'product_id': {'id': 5, 'name': 'Product Name'}}]}]; instead of having an instance of odooly.Record
Is this possible? any hint?
Thanks in advance