Hi,
I am building an integration between Odoo and BigCommerce, in Javascript. The customer is using Odoo v11.
I can get all products filtered by a specific domain, with no issues.
But I would like to know in advance how many products there are.
Reading the docs, it seems like I should just be able to replace the search_read method that i'm using to get products, to the search_count method. However, while the first one works, the second one gives me a "TypeError: 'float' object is not iterable\n"
Any ideas? Thank you in advance.
It will be nice, if you could have added your code along with question.
https://youtu.be/8V-uOG8KkKA?t=959