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] account_edi: "process now" throws when already processing #98614

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Aug 22, 2022

The "Process now" button throws a UserError if doc is already processing

  • only thrown if parameter with_commit=False

PR #87266 changed with_commit default for test purposes

  • accidentally prevented this pop-up

This PR restores with_commit default value for button action

  • User now gets the expected UserError pop up

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

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

Forward-Port-Of: #97835

The "Process now" button throws a UserError if doc is already processing
=> but only thrown if parameter with_commit=False

PR odoo#87266 changed with_commit default value for test purposes
=> accidentally prevented the UserError from popping up

This PR restores with_commit default value for button action
=> User now gets the expected UserError pop up

X-original-commit: 451fbfb
@robodoo
Copy link
Contributor

robodoo commented Aug 22, 2022

@fw-bot
Copy link
Contributor Author

fw-bot commented Aug 22, 2022

This PR targets saas-15.4 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 Aug 22, 2022
@C3POdoo C3POdoo added the RD research & development, internal work label Aug 22, 2022
robodoo pushed a commit that referenced this pull request Aug 23, 2022
The "Process now" button throws a UserError if doc is already processing
=> but only thrown if parameter with_commit=False

PR #87266 changed with_commit default value for test purposes
=> accidentally prevented the UserError from popping up

This PR restores with_commit default value for button action
=> User now gets the expected UserError pop up

closes #98614

X-original-commit: 451fbfb
Signed-off-by: Josse Colpaert <jco@odoo.com>
Signed-off-by: Stanislas Gueniffey (stgu) <stgu@odoo.com>
@robodoo robodoo temporarily deployed to merge August 23, 2022 13:34 Inactive
@robodoo robodoo closed this Aug 23, 2022
@fw-bot fw-bot deleted the saas-15.4-15.0-account_edi_button_process_fix-stgu-z2Ec-fw branch September 6, 2022 13:47
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