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

[FW][FIX] web: execute last pending action when multiple action requested #166140

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented May 21, 2024

Current Behaviour:

  • Currently, if the internet is slow and the user tries to open any action, which action target='new,' it takes time to open the action form in the browser, if the user clicks multiple times during this loading process, multiple instances of the same action will be displayed to the user.

Steps to produce:

  • Open CRM and navigate to the activity view of CRM.
  • Select throttling as 'Slow 3G' in your browser network setting.
  • Now click multiple times on any scheduled activity to open an action.

Expected Behaviour:

  • Only open the dialog for the last action requested when there are multiple
    actions requested with target='new'.

Task-3750720


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #165940
Forward-Port-Of: #159236

Current Behaviour:
- Currently, if the internet is slow and the user tries to open any action,
which action target='new,' it takes time to open the action form in the
browser,  if the user clicks multiple times during this loading process,
multiple instances of the same action will be displayed to the user.

Steps to produce:
- Open CRM and navigate to the activity view of CRM.
- Select throttling as 'Slow 3G' in your browser network setting.
- Now click multiple times on any scheduled activity to open an action.

Expected Behaviour:
- Only open the dialog for the last action requested when there are multiple
  actions requested with target='new'.

Task-3750720

X-original-commit: 2dacd79
@robodoo
Copy link
Contributor

robodoo commented May 21, 2024

Pull request status dashboard.

@fw-bot
Copy link
Contributor Author

fw-bot commented May 21, 2024

This PR targets saas-16.3 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label May 21, 2024
@fw-bot
Copy link
Contributor Author

fw-bot commented May 21, 2024

@omra-odoo @aab-odoo ci/runbot failed on this forward-port PR

@C3POdoo C3POdoo added the RD research & development, internal work label May 21, 2024
robodoo pushed a commit that referenced this pull request May 21, 2024
Current Behaviour:
- Currently, if the internet is slow and the user tries to open any action,
which action target='new,' it takes time to open the action form in the
browser,  if the user clicks multiple times during this loading process,
multiple instances of the same action will be displayed to the user.

Steps to produce:
- Open CRM and navigate to the activity view of CRM.
- Select throttling as 'Slow 3G' in your browser network setting.
- Now click multiple times on any scheduled activity to open an action.

Expected Behaviour:
- Only open the dialog for the last action requested when there are multiple
  actions requested with target='new'.

Task-3750720

closes #166140

X-original-commit: 2dacd79
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
@robodoo robodoo closed this May 21, 2024
@fw-bot fw-bot deleted the saas-16.3-15.0-web-race-condition-action-fix-mega-ag9R-fw branch June 4, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants