Odoo 20.0 Community · Persistent

crm.team: fields, relations and API

The crm.team model ("Sales Team") is a persistent model declared by the Sales Teams module, then extended by 5 other modules. It exposes 59 fields, 36 of them declared directly on the model; 26 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 20 JSON-2 API call.

Model identity

Technical name
crm.team
Label
Sales Team
Type
Persistent (models.Model)
SQL table
crm_team
Origin module
Sales Teams (sales_team)
Extended by
crm, sale, sale_crm, pos_sale, website_sale
Default order (_order)
sequence ASC, create_date DESC, id DESC
Inherits from (mixins)
mail.threadmail.alias.mixin

Model fields

36 own fields, 17 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

59 of 59 fields shown

Technical nameLabelTypeDetails
abandoned_carts_amountAmount of Abandoned Cartsinteger
computed

added by eCommerce (website_sale)

abandoned_carts_countNumber of Abandoned Cartsinteger
computed

added by eCommerce (website_sale)

activeActive

If the active field is set to false, it will allow you to hide the Sales Team without removing it.

boolean
alias_full_nameAlias Full Namechar

related: alias_id.alias_full_name

added by CRM (crm)

alias_idAlias

The email address associated with this channel. New emails received will automatically create new leads assigned to the channel.

many2one

added by CRM (crm)

assignment_auto_enabledAuto Assignmentboolean
computed

added by CRM (crm)

assignment_domainAssignment Domain

Additional filter domain when fetching unassigned leads to allocate to the team.

char

added by CRM (crm)

assignment_enabledLead Assignboolean
computed

added by CRM (crm)

assignment_maxLead Average Capacity

Monthly average leads capacity for all salesmen belonging to the team

integer
computed

added by CRM (crm)

assignment_optoutPause auto assignmentboolean

added by CRM (crm)

colorColor Index

The color of the channel

integer
company_idCompanymany2one
crm_team_member_all_idsSales Team Members (incl. inactive)one2many

inverse: crm_team_id

crm_team_member_idsSales Team Members

Add members to automatically assign their documents to this sales team.

one2many

inverse: crm_team_id

currency_idCurrencymany2one
read-only

related: company_id.currency_id

dashboard_button_nameDashboard Buttonchar
computed
favorite_user_idsFavorite Membersmany2many
is_favoriteShow on dashboard

Favorite teams to display them in the dashboard and access them easily.

boolean
computed
is_membership_multiMultiple Memberships Allowed

If True, users may belong to several sales teams. Otherwise membership is limited to a single sales team.

boolean
computed
lead_all_assigned_month_count# Leads/Opps assigned this month

Number of leads and opportunities assigned this last month.

integer
computed

added by CRM (crm)

lead_all_assigned_month_exceededMaximum Leads To Assign

True if the monthly lead assignment count is greater than the maximum assignment limit, false otherwise.

boolean
computed

added by CRM (crm)

lead_properties_definitionLead Propertiesproperties_definition

added by CRM (crm)

lead_unassigned_count# Unassigned Leadsinteger
computed

added by CRM (crm)

member_company_idsMember Company

UX: Limit to team company or all if no company

many2many
computed
member_idsSalespersons

Users assigned to this team.

many2many
computed
member_warningMembership Issue Warningtext
computed
nameSales Teamchar
requiredtranslatable
opportunity_countNumber of assigned opportunitiesinteger
computed

added by CRM (crm)

pos_config_idsPoint of Salesone2many

inverse: crm_team_id

added by POS - Sales (pos_sale)

sale_order_count# Sale Ordersinteger
computed

added by Sales (sale)

sequenceSequenceinteger
show_assignment_maxShow Assignment Maxboolean
computed

added by CRM (crm)

use_leadsLeads

Check this box to filter and qualify incoming requests as leads before converting them into opportunities and assigning them to a salesperson.

boolean

added by CRM (crm)

use_opportunitiesPipeline

Check this box to manage a presales process with opportunities.

boolean

added by CRM (crm)

user_idTeam Leadermany2one
website_idsWebsitesone2many

inverse: salesteam_id

added by eCommerce (website_sale)

alias_defaultsAlias Defaultstext

inherited from mail.alias.mixin

alias_domainAlias Domain Namechar

related: alias_id.alias_domain

inherited from mail.alias.mixin.optional

alias_domain_idAlias Domainmany2one

related: alias_id.alias_domain_id

inherited from mail.alias.mixin.optional

alias_emailEmail Aliaschar
computed

inherited from mail.alias.mixin.optional

alias_nameAlias Namechar

inherited from mail.alias.mixin

has_messageHas Messageboolean
computed

inherited from mail.thread

message_attachment_countAttachment Countinteger
computed

inherited from mail.thread

message_follower_idsFollowersone2many

inverse: res_id

inherited from mail.thread

message_has_errorMessage Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_has_error_counterNumber of errors

Number of messages with delivery error

integer
computed

inherited from mail.thread

message_has_sms_errorSMS Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_idsMessagesone2many

inverse: res_id

inherited from mail.thread

message_is_followerIs Followerboolean
computed

inherited from mail.thread

message_needactionAction Needed

If checked, new messages require your attention.

boolean
computed

inherited from mail.thread

message_needaction_counterNumber of Actions

Number of messages requiring action

integer
computed

inherited from mail.thread

message_partner_idsFollowers (Partners)many2many
computed

inherited from mail.thread

rating_idsRatingsone2many

inverse: res_id

inherited from mail.thread

create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 20 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/crm.team/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","alias_id","company_id","currency_id","user_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/crm.team/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","alias_id","company_id","currency_id","user_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/crm-team">crm.team (Odoo 20.0)</a>

Sources

Data verified on September 25, 2026 · Odoo 20.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.