odoo/odoo#194110
Created by Bugfix, Guillaume Vanleynseele (guva)
Merged
at 12252c079fa2d65faebc77b2f4d961fb4209eb2d
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:17.0-opw-4403161-b2b_fields_mandatory-guva
- head
- b8dfbf506f628ac5a27ae31db339b6ac87caf0ed
- merged
- 9 months ago by Accounting, Claire Bretton (clbr)
| odoo/odoo | |
|---|---|
| 17.0 | #194110 |
| saas-17.2 | #195771 |
| saas-17.4 | #195792 |
| 18.0 | #195888 |
| saas-18.1 | #196059 |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #196076 |
[FIX] l10n_br_website_sale: b2b fields error
The b2b fields are still required in the portal form
even if the "Show b2b fields" is deactivated
Steps:
- From the website editor, on the checkout form,
unselect the "Show b2b fields" setting - Log out and go to ecommerce
- Add a product to card and checkout
- Fill the address form with a Brazilian address
-> Error: "Some required fields are empty."
With this commit, we add the field vat to the mandatory fields only if
the option "Show b2b" fields is activated.