yezyilomo / odoo-rest-api

Module which expose Odoo as a REST API
MIT License
202 stars 162 forks source link

[ADD] Object list call function #42

Open altanmur opened 4 years ago

yezyilomo commented 4 years ago

Hey @altanmur I think a good way to implement this would be to allow filter parameter on /object/<string:model>/<string:function>/ route in order to give users a freedom to filter records however they want not just by ids only. For instance someone might want to do something like /object/products.template/unpublish/?filter=[["quantity", "=", 0]]