odoo/odoo#98614

Created by fw-bot
label
odoo-dev:saas-15.4-15.0-account_edi_button_process_fix-stgu-z2Ec-fw
head
cd55aba56ccdb8c801c7b75dc1726a5b9a092bd8
target
saas-15.4 (inactive)
merged
2 years ago by Accounting, Stanislas Gueniffey (stgu)
forward-port of
odoo/odoo#97835

[FW][FIX] account_edi: "process now" throws when already processing

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

PR odoo/odoo#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: odoo/odoo#97835