Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter is not working for some conditions #2

Open
praveenlobo7 opened this issue Mar 4, 2020 · 2 comments
Open

Filter is not working for some conditions #2

praveenlobo7 opened this issue Mar 4, 2020 · 2 comments

Comments

@praveenlobo7
Copy link

Hi,

We have been trying this plugin to get data from Odoo. Works fine in most cases. Some of the filters are not working.

We are trying to retrieve records from Company model with bank_ids not null. Used many different approaches to achieve this but none of them are working?
Below are the screenshot of the filters used. Let me know if you need more details.

image

image

image

@fhossfel
Copy link
Owner

fhossfel commented Mar 4, 2020

Since bank_ids is a many2one I think checking for Null is not appropriate.

Can you try with bank_ids = False or Bank_ids = None (depends on the Oddo version you are using)?

@praveenlobo7
Copy link
Author

Thanks for the quick response.
We are using Odoo 12 version.

I tried False and None but both dint work. Any other suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants