OdooWiki OCA HUB

Website sale order type

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

This module allows sale_order_type to work with websitesale.

This module is useful for users having a sale order type defined in their Partner form: when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form.

You can also define a sale order type on a website from the e-commerce settings. When set, this website sale order type takes precedence over the contact sale order type for orders created from that website.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you set a default sale order type for a website, so every online order from that shop gets that type (and its payment terms and pricelist), otherwise the customer's own order type is used.

This module connects the online shop with sale order types. It adds a new "Sale Order Type" setting on the website configuration screen, next to the salesperson field, visible to sales users.

When a customer places an order on the website, Odoo chooses the order type in this order: - first, the sale order type set on that website; - if the website has none, the sale order type stored on the customer's contact record.

The chosen type is written on the generated sale order. If the type carries a payment term, that payment term is also applied to the order.

If the sale order type has a pricelist, the list of pricelists offered to the customer on the website is reduced to that single pricelist.

The setting is company-specific, so each company can have its own website order type. It touches the website settings screen, the website configuration, the online order creation and the sale order itself (sale.order).

Depends on

website_salesale_order_type
Models and fields (3)
  • website · extends an existing modelsale_type_id
  • sale.order · extends an existing model
  • res.config.settings · extends an existing modelsale_type_id

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • In the backend (Sales -\> Customers) set a sale order type in any contact;
  • Log in with the associated user in the e-commerce website and buy a product;
  • Check that the created sale oder has the same sale order type that has been set in the contact.

You can also set a sale order type on a website from the e-commerce settings. When configured, orders created from that website use the website sale order type instead of the contact sale order type.

No verified information in OCA: Installation, Configuration.

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.