-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
[IMP] BS4->BS5: performance #370
[IMP] BS4->BS5: performance #370
Conversation
Avoid record values which html is empty using the same rules that odoo.tools.is_html_empty uses. This way we can simplify the call avoiding a default domain as well. In any case, we can use that domain to refine certain models. TT46020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice improvment.
@chienandalu @pedrobaeza What's the Python version compability requirements for OpenUpgradelib? So please avoid f-strings - Some of us are using OpenUpgrade on older Odoo/Python versions |
We are using them too in old versions, but look that this is something exclusively for version 16.0. Where are the problem? |
@pedrobaeza this is the problem
|
Maybe we should bump the version with a major and drop compatibility with Python 2.x. |
OK, I think we can remove the f-string, as it's not strictly needed. @chienandalu can you? |
No problem |
Addressing fixes here: #371 |
@chienandalu Thanks! This community rocks! |
Avoid record values which html is empty using the same rules that odoo.tools.is_html_empty uses. This way we can simplify the call avoiding a default domain as well. In any case, we can use that domain to refine certain models.
cc @Tecnativa TT46020
please check @pedrobaeza