Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account_qr_code_emv: Improve Fallback error
At the moment, if EMV QR is selected on the invoice where the country does not support EMV QR an error is raised. However, this error is also raised if EMV QR is selected but the bank account is not set. The following error is raise `No EMV QR Code is available for the country of the account False.` This commit adds a check to ensure the bank account is set and raise a better error message. Task# 3868467 closes #162552 X-original-commit: e6ca281 Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
- Loading branch information