OdooWiki OCA HUB

Website Account Fiscal Position Partner Type

website_account_fiscal_position_partner_type folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module allows e-commerce customers to select if they're end customers or companies.

This module has been designed to be used according the EU One-Stop-Shop in combination with l10n_eu_oss for helping to differentiate which taxes have to be applied.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets online shoppers choose whether they are buying as a private customer (B2C) or a company (B2B) during sign-up, checkout and in their account area, so the right taxes and fiscal position are applied.

This module adds a "Partner Type" selector to the customer-facing parts of your website, so shoppers can say whether they are an end customer or a company. The choice appears in three places: the sign-up form, the billing step of the website checkout, and the customer portal page where a logged-in user edits their details.

  • On the website configuration screen (Website form, "B2B/B2C Website Info" tab, visible to website designers) you can write two HTML texts: one shown when the shopper picks B2B and one when they pick B2C. The sign-up page shows the matching text as soon as the selector changes.
  • The default value comes from the company's default fiscal position type, or from the type already stored on the customer's contact record; if the shopper submits an invalid form, their last choice is kept.
  • Business rule: once invoices or other documents have been issued for the account, the partner type can no longer be changed by the customer. The selector is disabled and an error message asks them to contact you directly.
  • The chosen type is stored on the contact (res.partner) and is carried through sign-up and checkout, so the fiscal position and taxes can be determined accordingly.

It touches the website, sign-up, checkout and portal screens, and the contact and user records behind them.

Models and fields (3)
  • website · extends an existing modelb2b_information, b2c_information
  • res.users · extends an existing model
  • res.partner · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 16.0

If you need to define a message to be shown on the registration page to provide information related to the Fiscal Position Types (B2B or B2C) you need to go to a website configuration form view and complete the HTML fields "B2B Information" and "B2C Information" displayed in the B2B/B2C Website Info tab.

After allowing e-commerce customers to a free sign up:

  • Once the customer wants to buy a product in the e-commerce, he/she will have to specify the partner type field (End customer/company) before finishing the checkout.
  • Depending on the partner type, the applied taxes to the products may change.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.