Odoo 20.0 Community · Persistent

website: fields, relations and API

The website model ("Website") is a persistent model declared by the Base module, then extended by 19 other modules. It exposes 107 fields, 101 of them declared directly on the model; 34 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
website
Label
Website
Type
Persistent (models.Model)
SQL table
website
Origin module
Base (base)
Extended by
website, website_profile, website_slides, website_event, website_event_track, website_sale, website_address_autocomplete, website_blog, website_crm, website_livechat, website_partnership, website_crm_partner_assign, website_customer, website_event_exhibitor, website_forum, website_hr_recruitment, website_sale_stock, website_sale_collect, website_sale_mass_mailing
Default order (_order)
sequence, id
Inherits from (mixins)
website.structured_data.mixin

Model fields

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

107 of 107 fields shown

Technical nameLabelTypeDetails
account_on_checkoutCustomer Accountsselection

Values: optional (Optional), disabled (Disabled (buy as guest)), mandatory (Mandatory (no guest checkout))

added by eCommerce (website_sale)

align_category_contentAlign Category Content

Align the category content on the shop page. Corresponds to the 'Center Content' editor option.

boolean

added by eCommerce (website_sale)

app_iconWebsite App Icon

This field holds the image used as mobile app icon on the website (PNG format).

image
read-onlycomputed, stored

added by Advanced Events (website_event_track)

auth_signup_uninvitedCustomer Accountselection

Values: b2b (On invitation), b2c (Free sign up)

added by Website (website)

auto_redirect_langAutoredirect Language

Should users be redirected to their browser's language

boolean

added by Website (website)

block_third_party_domainsBlock 3rd-party domains

Block 3rd-party domains that may track users (YouTube, Google Maps, etc.).

boolean

added by Website (website)

blocked_third_party_domainsList of blocked 3rd-party domainstext
computed

added by Website (website)

cart_abandoned_delayAbandoned Delayfloat

added by eCommerce (website_sale)

cart_recovery_mail_template_idCart Recovery Emailmany2one

added by eCommerce (website_sale)

cdn_activatedContent Delivery Network (CDN)boolean

added by Website (website)

cdn_filtersCDN Filters

URL matching those filters will be rewritten using the CDN Base URL

text

added by Website (website)

cdn_urlCDN Base URLchar

added by Website (website)

channel_idWebsite Live Chat Channelmany2one

added by Website Live Chat (website_livechat)

company_idCompanymany2one
required
configurator_doneConfigurator Done

True if configurator has been completed or ignored

boolean

added by Website (website)

confirmation_email_template_idConfirmation Email Templatemany2one

added by eCommerce (website_sale)

cookies_barCookies Bar

Display a customizable cookies bar on your website.

boolean

added by Website (website)

crm_default_team_idDefault Sales Teams

Default Sales Team for new leads created through the Contact Us form.

many2one

added by Contact Form (website_crm)

crm_default_user_idDefault Salesperson

Default salesperson for new leads created through the Contact Us form.

many2one

added by Contact Form (website_crm)

currency_idDefault Currencymany2one
computed

added by eCommerce (website_sale)

custom_blocked_third_party_domainsUser list of blocked 3rd-party domainstext

added by Website (website)

custom_code_headCustom <head> codehtml

added by Website (website)

default_lang_idDefault Languagemany2one
required

added by Website (website)

domainWebsite Domain

E.g. https://www.mydomain.com

char
domain_punycodePunycode Domainchar
read-onlycomputed, stored
ecommerce_accessEcommerce Accessselection
required

Values: everyone (All users), logged_in (Logged in users)

added by eCommerce (website_sale)

events_app_nameEvents App Name

This fields holds the Event's Progressive Web App name.

char
computed, stored

added by Advanced Events (website_event_track)

extra_step_category_idsExtra Step Categories

If set, the extra step is only shown when the cart contains products from these eCommerce categories.

many2many

added by eCommerce (website_sale)

faviconWebsite Favicon

This field holds the image used to display a favicon on the website.

binary

added by Website (website)

forum_countForum Countinteger
read-only

added by Forum (website_forum)

google_analytics_keyGoogle Analytics Keychar

added by Website (website)

google_maps_api_keyGoogle Maps API Keychar

added by Website (website)

google_places_api_keyGoogle Places API Keychar

added by Website Address Autocomplete (website_address_autocomplete)

google_search_consoleGoogle Search Console

Google key, or Enable to access first reply

char

added by Website (website)

has_social_default_imageHas Social Default Imageboolean
computed, stored

added by Website (website)

header_search_limitHeader Search Suggestions

Number of autocomplete suggestions of the header search bar, 0 to disable them.

integer

added by Website (website)

header_search_order_byHeader Search Sort

Order in which the header search bar sorts its results.

char
required

added by Website (website)

header_search_typeHeader Search Scope

Type of records the header search bar searches within.

char
required

added by Website (website)

homepage_urlHomepage Url

E.g. /contactus or /shop

char

added by Website (website)

in_store_dm_idIn-store Delivery Methodmany2one
computed

added by Click & Collect (website_sale_collect)

journal_idDefault Website Journalmany2one

added by eCommerce (website_sale)

karma_profile_minMinimal karma to see other user's profileinteger

added by Website profile (website_profile)

language_countNumber of languagesinteger
computed

added by Website (website)

language_idsLanguagesmany2many
required

added by Website (website)

llms_txtLLMs.txttext

added by Website (website)

menu_idMain Menumany2one
computed

added by Website (website)

nameWebsite Namechar
required
newsletter_idNewsletter Listmany2one

added by Checkout Newsletter (website_sale_mass_mailing)

partner_idPublic Partnermany2one

related: user_id.partner_id

added by Website (website)

plausible_shared_keyPlausible Shared Keychar

added by Website (website)

plausible_sitePlausible Sitechar

added by Website (website)

prevent_saleHide Add To Cartboolean

added by eCommerce (website_sale)

prevent_sale_forPrevent Sale Forselection

Values: zero_price (0 price products), specific_categories (Specific categories)

added by eCommerce (website_sale)

prevent_sale_for_categoriesCategoriesmany2many

added by eCommerce (website_sale)

pricelist_idPricelistmany2one
computed

added by eCommerce (website_sale)

pricelist_idsPrice list available for this Ecommerce/Websiteone2many
computed

added by eCommerce (website_sale)

product_page_cols_orderProduct Page main columns orderselection

Values: regular (Regular order), inverse (Inverse order)

added by eCommerce (website_sale)

product_page_containerProduct Page Containerselection

Values: unset (Unset), regular (Regular), fluid (Full-width)

added by eCommerce (website_sale)

product_page_grid_columnsProduct Page Grid Columnsinteger

added by eCommerce (website_sale)

product_page_image_layoutProduct Page Image Layoutselection
required

Values: carousel (Carousel), grid (Grid)

added by eCommerce (website_sale)

product_page_image_ratioProduct Page Image Ratioselection
required

Values: auto (Auto), 21_9 (Wider (21/9)), 16_9 (Wide (16/9)), 4_3 (Landscape (4/3)), 6_5 (Horizontal (6/5)), 1_1 (Default (1/1)), 4_5 (Portrait (4/5)), 2_3 (Vertical (2/3))

added by eCommerce (website_sale)

product_page_image_ratio_mobileProduct Page Image Ratio Mobileselection
required

Values: auto (Auto), 21_9 (Wider (21/9)), 16_9 (Wide (16/9)), 4_3 (Landscape (4/3)), 6_5 (Horizontal (6/5)), 1_1 (Default (1/1)), 4_5 (Portrait (4/5)), 2_3 (Vertical (2/3))

added by eCommerce (website_sale)

product_page_image_roundnessProduct Page Image Roundnessselection
required

Values: none (None), small (Small), medium (Medium), big (Big)

added by eCommerce (website_sale)

product_page_image_spacingProduct Page Image Spacingselection
required

Values: none (None), small (Small), medium (Medium), big (Big)

added by eCommerce (website_sale)

product_page_image_widthProduct Page Image Widthselection
required

Values: none (Hidden), 33_pc (33 %), 50_pc (50 %), 66_pc (66 %), 100_pc (100 %)

added by eCommerce (website_sale)

rating_email_delayDays After Order to Send Rating Emailinteger

added by eCommerce (website_sale)

rating_email_template_idRating Email Templatemany2one

added by eCommerce (website_sale)

restricted_uom_idsRestrict Packagingsmany2many

added by eCommerce (website_sale)

robots_txtRobots.txthtml

added by Website (website)

salesperson_idSalespersonmany2one

added by eCommerce (website_sale)

salesteam_idSales Teammany2one

added by eCommerce (website_sale)

send_abandoned_cart_email_activation_timeTime when the 'Send abandoned cart' feature was activated for emails followup.datetime
computed, stored

added by eCommerce (website_sale)

send_abandoned_cart_followupSend Follow-upboolean

added by eCommerce (website_sale)

send_order_rating_emailsRequest ratingsboolean

added by eCommerce (website_sale)

sequenceSequenceinteger
shop_default_sortShop Default Sortselection
required

Values: website_sequence asc (Featured), publish_date desc (Newest Arrivals), name asc (Name (A-Z)), list_price asc (Price - Low to High), list_price desc (Price - High to Low)

added by eCommerce (website_sale)

shop_extra_field_idsE-Commerce Extra Fieldsone2many

inverse: website_id

added by eCommerce (website_sale)

shop_gapGrid-gap on the shopchar

added by eCommerce (website_sale)

shop_opt_products_design_classesShop Design Class

CSS class for shop products design

char

added by eCommerce (website_sale)

shop_page_containerShop Page Containerselection

Values: regular (Regular), fluid (Full-width)

added by eCommerce (website_sale)

shop_ppgNumber of products in the grid on the shopinteger

added by eCommerce (website_sale)

shop_pprNumber of grid columns on the shopinteger

added by eCommerce (website_sale)

show_category_descriptionShow Category Description

Display the category description on the shop page. Corresponds to the 'Show Description' editor option.

boolean

added by eCommerce (website_sale)

show_category_titleShow Category Title

Display the category title on the shop page. Corresponds to the 'Show Title' editor option.

boolean

added by eCommerce (website_sale)

show_line_subtotals_tax_selectionDisplay Product Pricesselection
requiredcomputed, stored

Values: tax_excluded (Tax Excluded), tax_included (Tax Included)

added by eCommerce (website_sale)

show_product_reference_priceProduct Reference Priceboolean

added by eCommerce (website_sale)

social_default_imageDefault Social Share Image

If set, replaces the website logo as the default social share image.

binary

added by Website (website)

specific_user_accountSpecific User Account

If True, new accounts will be associated to the current website

boolean

added by Website (website)

tax_displayTax Displayselection
computed

Values: tax_excluded (Tax Excluded), tax_included (Tax Included)

added by eCommerce (website_sale)

theme_idTheme

Installed theme

many2one

added by Website (website)

user_idPublic Usermany2one
required
warehouse_idWarehousemany2one

added by Product Availability (website_sale_stock)

website_slide_google_app_keyGoogle Doc Keychar

added by eLearning (website_slides)

wishlist_gapWishlist Grid Gap

Gap between products on the wishlist page

char

added by eCommerce (website_sale)

wishlist_grid_columnsWishlist Grid Columns

Number of columns to display on the wishlist page

integer

added by eCommerce (website_sale)

wishlist_mobile_columnsWishlist Mobile Columns

Number of columns to display on mobile for the wishlist page (1 or 2)

integer

added by eCommerce (website_sale)

wishlist_opt_products_design_classesWishlist Page Design Class

CSS class for wishlist page design

char

added by eCommerce (website_sale)

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/website/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","company_id","default_lang_id","ecommerce_access","header_search_order_by"],"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}/website/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","company_id","default_lang_id","ecommerce_access","header_search_order_by"], "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/website">website (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.