OdooWiki OCA HUB

sale partner companyy

sale_partner_company folder_open OCA/multi-company open_in_new
Sale Management License: AGPL-3

Allow to set the default selling company on a partner.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you set a default selling company on a customer, so sales orders for that customer are automatically assigned to the right company.

This module adds a new field called Selling Company on customer records. You can find it on the partner form, right after the delivery carrier field. The field is only editable on main companies; for contacts linked to a parent company it is shown as read-only, so the value is inherited from the parent.

When you create a sales order and pick a customer, Odoo automatically fills in the order's company with the customer's Selling Company. If the customer has no selling company set, the order keeps the current user's company. The same rule applies when a sales order is created directly from a customer record: the customer's selling company is used as the default.

The chosen company is stored on the sales order and is recalculated whenever the customer on the order changes. This helps multi-company setups where different customers belong to different legal entities, reducing manual selection of the company on each order.

The module works together with Sales, Inventory and Delivery, and it touches the customer (res.partner) and sales order (sale.order) models. It does not add new menus or reports.

Depends on

sale_stockdelivery
Models and fields (2)
  • sale.order · extends an existing modelcompany_id
  • res.partner · extends an existing modelsale_company_id (Selling Company)

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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/multi-company.

terminal Installation and usage

OCA documentation · Odoo 16.0

On the partner, choose the default company.

Create a sale.order with this partner, the sales company will be adapted from the partner.

You need at least to manage 2 different companies.

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.