-
- Downloads
[FIX] l10n_ar_website_sale: display error message for required fields
Steps to reproduce:
- Install l10n_ar_website_sale
- Go to shop and add a product to cart
- Go to cart and click on `Checkout`
- Ensure `AFIP Responsibility` is not field
- Click on `Next`
Issue:
Traceback raised.
Cause:
During the validation of the form, even if the pre-validation (by
calling super) returns an error for the afip fields because there
are empty while they are required, we still try to get the code
of the afip responsibility.
Solution:
Return errors (from pre-validation) if any of the required afip fields
are in errors before continuing the validation.
opw-2941199
closes odoo/odoo#98019
Signed-off-by:
Josse Colpaert <jco@odoo.com>
Please register or sign in to comment