-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
web_advanced_search_x2x automatically excludes inactive records #179
Comments
This is odoo's standard behavior, to change this, we'd have to put |
I'm not convinced it's right to accept and extend Odoo's default behavior in this case. The problem is that, as it is now, the implicit criteria "active=True" makes the "user experience" inconsistent.
Would you be kind enough to reconsider your position? |
I agree with @clonedagain about the reasoning on the feature, but I think that there's a technical problem to implement this correctly. @hbrunn, is this correct? |
In most cases, it should be enough to put I simply don't think there's a general way to exclude inactive records we actually don't want to see while including other active records we do want to see, and making this explicit doesn't seem like a big issue to me, so from my side, I won't invest time in addressing this. If somebody else will, I'll be happy to review. |
Well, looking at the issue, this is only due to the child_of operator and the partner hierarchy implementation, which is not one of the allowed in the advanced search, so I still think that we can provide this facility in the module, and 99% of cases will be correctly treated. |
wontfix for reasons stated above |
…_group_editable_on_Internal_transfer [BSMTS-300][IMP] Procurement group editable on Internal transfer
If I use web_advanced_search_x2x for example in reporting>invoice analysis, to search for articles with certain features (for example a specific pricelist), it automatically also restricts to the active articles only.
Inactive articles are excluded and can't be re-included afterwards.
If want to include inactives, I must search for products with "my criteria AND (active=true OR active=false)".
It would be nicer to not exclude inactive records by default.
The text was updated successfully, but these errors were encountered: