-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bump owl version #2252
Closed
Closed
Bump owl version #2252
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit is a backport of original merged in PR #2045, it was introduced as it diminishes drastically the sources of errors when mounting OWL components. Change the parameters of the owl `App` in the test. The `App` will now be mounted in test mode. The main purpose is to enable props validation, which ensure that the test is close to the reality, and avoid tests failing for unclear reasons because a props was missing (d466315). The Owl test mode is equivalent to dev mode, but without warning that the app is unsuited for production. Documentation here : https://github.com/odoo/owl/blob/master/doc/reference/app.md#dev-mode Also added an helper `mountComponent` and modified the existing helper `mountSpreadsheet`. The helpers now create and return the fixture in which the component is mounted. They also register cleanup functions to remove the fixture and destroy the app, so we don't have to do it manually. closes #2045 Signed-off-by: Pierre Rousseau (pro) <[email protected]>
catching up to odoo version 2.0.9
rrahir
force-pushed
the
16.0-bump-owl-rar
branch
from
March 21, 2023 16:23
444825f
to
d88ea33
Compare
LucasLefevre
approved these changes
Mar 22, 2023
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.
robodoo r+
@rrahir @LucasLefevre because this PR has multiple commits, I need to know how to merge it:
|
robodoo rebase-ff |
Merge method set to rebase and fast-forward. |
robodoo
pushed a commit
that referenced
this pull request
Mar 22, 2023
This commit is a backport of original merged in PR #2045, it was introduced as it diminishes drastically the sources of errors when mounting OWL components. Change the parameters of the owl `App` in the test. The `App` will now be mounted in test mode. The main purpose is to enable props validation, which ensure that the test is close to the reality, and avoid tests failing for unclear reasons because a props was missing (d466315). The Owl test mode is equivalent to dev mode, but without warning that the app is unsuited for production. Documentation here : https://github.com/odoo/owl/blob/master/doc/reference/app.md#dev-mode Also added an helper `mountComponent` and modified the existing helper `mountSpreadsheet`. The helpers now create and return the fixture in which the component is mounted. They also register cleanup functions to remove the fixture and destroy the app, so we don't have to do it manually. closes #2045 Signed-off-by: Pierre Rousseau (pro) <[email protected]> Part-of: #2252
robodoo
pushed a commit
that referenced
this pull request
Mar 22, 2023
catching up to odoo version 2.0.9 closes #2252 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
This was referenced Mar 22, 2023
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
this PR bumps the version of OWL in o-spreadshset to catch up with its counterpart in odoo: version 2.0.9
One major change (one could argue breaking) is that the property
el
of aRef
is nowundefined
once the component is no longer mounted. This change of behaviour highlighted several issues in our tests setup. Since several of them were addressed in PR #2045, it was decided to backport the said pull request in version 16.0 to ease the transition of owl versions.Odoo task ID : TASK_ID
review checklist