Skip to content

Conversation

@guva-odoo
Copy link
Contributor

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

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
@robodoo
Copy link
Contributor

robodoo commented Jan 17, 2025

Pull request status dashboard

@guva-odoo guva-odoo requested a review from malb-odoo January 17, 2025 10:59
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jan 17, 2025
@C3POdoo C3POdoo requested a review from a team January 17, 2025 11:02
Copy link
Contributor

@malb-odoo malb-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not my scope anymore but LGTM, i will ping the right team 😄

@malb-odoo malb-odoo requested review from a team and clbr-odoo and removed request for a team January 17, 2025 12:19
@guva-odoo
Copy link
Contributor Author

Hello @clbr-odoo little up 🙂

@clbr-odoo
Copy link
Contributor

Little
@robodoo r+
(Sorry for the delay 🫡 )

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 #194110

Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
@robodoo robodoo closed this Jan 30, 2025
@fw-bot fw-bot deleted the 17.0-opw-4403161-b2b_fields_mandatory-guva branch February 13, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants