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
[FIX] web: list view: don't rerender a row before the previous render… #101419
Closed
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
kebeclibre
reviewed
Sep 28, 2022
kebeclibre
reviewed
Sep 28, 2022
hubvd
force-pushed
the
14.0-opw-2937444-huvw
branch
from
September 29, 2022 08:23
a594b04
to
e7b042d
Compare
@kebeclibre I checked again and as far as I know, there is no unresolved promise being ignored |
kebeclibre
reviewed
Oct 25, 2022
hubvd
force-pushed
the
14.0-opw-2937444-huvw
branch
from
October 25, 2022 09:47
e7b042d
to
ec1f754
Compare
@kebeclibre Can this move forward ? |
hubvd
force-pushed
the
14.0-opw-2937444-huvw
branch
from
November 4, 2022 15:44
ec1f754
to
c4399ec
Compare
@kebeclibre can we have a review for this to help the client move forward? |
aab-odoo
reviewed
Nov 9, 2022
… is done Setup: - Add a checkbox to the sublist view of quotations with studio and save - In the chrome devtools, select a custom network throttling profile with 1s of latency Steps to reproduce: First example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Double click on the price field of the second line -> A traceback appears: `Cannot set properties of null (setting 'props')` Second example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Click on the price field of the second line - Click on Save -> The same traceback is there Cause of the issue: The checkbox field is implemented in owl and thus the owl_compatibility layer is used. Mounted is not called on the checkbox if a new rendering is being done cf: odoo#75950 Currently, it is possible to set a row mode before the previous call and rendering is done. Solution: Use a mutex for each record to prevent simultaneous render opw-2937444
hubvd
force-pushed
the
14.0-opw-2937444-huvw
branch
from
November 9, 2022 11:36
c4399ec
to
f5e4dd6
Compare
aab-odoo
approved these changes
Nov 15, 2022
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+
robodoo
pushed a commit
that referenced
this pull request
Nov 15, 2022
… is done Setup: - Add a checkbox to the sublist view of quotations with studio and save - In the chrome devtools, select a custom network throttling profile with 1s of latency Steps to reproduce: First example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Double click on the price field of the second line -> A traceback appears: `Cannot set properties of null (setting 'props')` Second example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Click on the price field of the second line - Click on Save -> The same traceback is there Cause of the issue: The checkbox field is implemented in owl and thus the owl_compatibility layer is used. Mounted is not called on the checkbox if a new rendering is being done cf: #75950 Currently, it is possible to set a row mode before the previous call and rendering is done. Solution: Use a mutex for each record to prevent simultaneous render opw-2937444 closes #101419 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
jdoutreloux
pushed a commit
to acsone/odoo
that referenced
this pull request
Jul 5, 2023
… is done Setup: - Add a checkbox to the sublist view of quotations with studio and save - In the chrome devtools, select a custom network throttling profile with 1s of latency Steps to reproduce: First example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Double click on the price field of the second line -> A traceback appears: `Cannot set properties of null (setting 'props')` Second example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Click on the price field of the second line - Click on Save -> The same traceback is there Cause of the issue: The checkbox field is implemented in owl and thus the owl_compatibility layer is used. Mounted is not called on the checkbox if a new rendering is being done cf: odoo#75950 Currently, it is possible to set a row mode before the previous call and rendering is done. Solution: Use a mutex for each record to prevent simultaneous render opw-2937444 closes odoo#101419 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
jdoutreloux
pushed a commit
to acsone/odoo
that referenced
this pull request
Aug 10, 2023
… is done Setup: - Add a checkbox to the sublist view of quotations with studio and save - In the chrome devtools, select a custom network throttling profile with 1s of latency Steps to reproduce: First example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Double click on the price field of the second line -> A traceback appears: `Cannot set properties of null (setting 'props')` Second example: - Go to a quotation with at least two lines - Enter edit mode - Change the quantity of the first line - Click on the price field of the second line - Click on Save -> The same traceback is there Cause of the issue: The checkbox field is implemented in owl and thus the owl_compatibility layer is used. Mounted is not called on the checkbox if a new rendering is being done cf: odoo#75950 Currently, it is possible to set a row mode before the previous call and rendering is done. Solution: Use a mutex for each record to prevent simultaneous render opw-2937444 closes odoo#101419 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
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.
… is done
Setup:
Steps to reproduce:
First example:
Cannot set properties of null (setting 'props')
Second example:
Cause of the issue:
The checkbox field is implemented in owl and thus the
owl_compatibility layer is used.
Mounted is not called on the checkbox if a new rendering is being done
cf: #75950
Currently, it is possible to set a row mode before the previous call
and rendering is done.
Solution:
Use a mutex for each record to prevent simultaneous render
opw-2937444