Edujugon / laradoo

Odoo ERP API for Laravel
MIT License
159 stars 99 forks source link

Read Records by Id #20

Open obuchmann opened 4 years ago

obuchmann commented 4 years ago

I try to load lots of related records from a one2many relation but there is no plain read method defined.

Can we add a method to load records by id like it is done within the search method?

Furthermore all the methods like makeResponse, resetParams and buildParams are Private so there is no chance to inherit your Odoo class and extend it with custom Methods.

Edujugon commented 4 years ago

Hi @obuchmann ,

I'm very busy these days so I can not provide an ETA when I could take care of your request, in the meantime a PR from your side is always more than welcome and I would review/merge it soon.

SarmadAbdulrahman commented 3 years ago

is this still happen?

obuchmann commented 2 years ago

@SarmadAbdulrahman In the meantime i create my own package to handle odoo api calls including this feature. Fell free to use this: https://github.com/obuchmann/odoo-jsonrpc