Skip to content

Conversation

@fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Jan 30, 2025

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.

opw-4403161

Forward-Port-Of: #194110

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.

opw-4403161

X-original-commit: 12252c0
@robodoo
Copy link
Contributor

robodoo commented Jan 30, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Jan 30, 2025

This PR targets saas-17.2 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 Jan 30, 2025
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jan 30, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Jan 30, 2025

@guva-odoo @clbr-odoo the next pull request (#195792) is in conflict. You can merge the chain up to here by saying

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@guva-odoo
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Jan 30, 2025
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.

opw-4403161

closes #195771

X-original-commit: 12252c0
Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
@robodoo robodoo closed this Jan 30, 2025
@fw-bot fw-bot deleted the saas-17.2-17.0-opw-4403161-b2b_fields_mandatory-guva-h1yp-fw branch February 13, 2025 17:36
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 OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants