Odoo 19.0 Community · Persistent

website: fields, relations and API

The website model ("Website") is a persistent model declared by the Website module, then extended by 18 other modules. It exposes 98 fields, 92 of them declared directly on the model; 32 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 19 JSON-2 API call.

Model identity

Technical name
website
Label
Website
Type
Persistent (models.Model)
SQL table
website
Origin module
Website (website)
Extended by
website_profile, website_slides, website_event, website_event_track, website_sale, website_blog, website_crm, website_livechat, website_crm_partner_assign, website_customer, website_event_exhibitor, website_forum, website_hr_recruitment, website_sale_autocomplete, website_sale_stock, website_sale_collect, website_sale_wishlist, website_sale_mass_mailing
Default order (_order)
sequence, id

Model fields

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

98 of 98 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)

add_to_cart_actionAdd To Cart Actionselection

Values: stay (Stay on Product Page), go_to_cart (Go to cart)

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)

auto_redirect_langAutoredirect Language

Should users be redirected to their browser's language

boolean
block_third_party_domainsBlock 3rd-party domains

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

boolean
blocked_third_party_domainsList of blocked 3rd-party domainstext
computed
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
cdn_filtersCDN Filters

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

text
cdn_urlCDN Base URLchar
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
confirmation_email_template_idConfirmation Email Templatemany2one

added by eCommerce (website_sale)

contact_us_button_urlContact Us Button URLchar
translatable

added by eCommerce (website_sale)

cookies_barCookies Bar

Display a customizable cookies bar on your website.

boolean
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
custom_code_headCustom <head> codehtml
default_lang_idDefault Languagemany2one
required
domainWebsite Domain

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

char
domain_punycodePunycode Domainchar
read-onlycomputed
ecommerce_accessEcommerce Accessselection
required

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

added by eCommerce (website_sale)

enabled_gmc_srcGoogle Merchant Centerboolean

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)

faviconWebsite Favicon

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

binary
forum_countForum Countinteger
read-only

added by Forum (website_forum)

google_analytics_keyGoogle Analytics Keychar
google_maps_api_keyGoogle Maps API Keychar
google_places_api_keyGoogle Places API Keychar

added by Google places autocompletion (website_sale_autocomplete)

google_search_consoleGoogle Search Console

Google key, or Enable to access first reply

char
has_social_default_imageHas Social Default Imageboolean
computed, stored
homepage_urlHomepage Url

E.g. /contactus or /shop

char
in_store_dm_idIn-store Delivery Methodmany2one
computed

added by Click & Collect (website_sale_collect)

karma_profile_minMinimal karma to see other user's profileinteger

added by Website profile (website_profile)

language_countNumber of languagesinteger
computed
language_idsLanguagesmany2many
required
menu_idMain Menumany2one
computed
nameWebsite Namechar
required
newsletter_idNewsletter Listmany2one

added by Checkout Newsletter (website_sale_mass_mailing)

partner_idPublic Partnermany2one

related: user_id.partner_id

plausible_shared_keyPlausible Shared Keychar
plausible_sitePlausible Sitechar
prevent_zero_price_saleHide 'Add To Cart' when price = 0boolean

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)

robots_txtRobots.txthtml
salesperson_idSalespersonmany2one

added by eCommerce (website_sale)

salesteam_idSales Teammany2one

added by eCommerce (website_sale)

send_abandoned_cart_emailSend email to customers who abandoned their cart.boolean

added by eCommerce (website_sale)

send_abandoned_cart_email_activation_timeTime when the 'Send abandoned cart email' feature was activated.datetime
computed, stored

added by eCommerce (website_sale)

sequenceSequenceinteger
shop_default_sortShop Default Sortselection
required

Values computed at runtime

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_line_subtotals_tax_selectionLine Subtotals Tax Displayselection
computed, stored

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

added by eCommerce (website_sale)

social_default_imageDefault Social Share Image

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

binary
social_discordDiscord Accountchar
social_facebookFacebook Accountchar
social_githubGitHub Accountchar
social_instagramInstagram Accountchar
social_linkedinLinkedIn Accountchar
social_tiktokTikTok Accountchar
social_twitterX Accountchar
social_youtubeYoutube Accountchar
specific_user_accountSpecific User Account

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

boolean
theme_idTheme

Installed theme

many2one
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 Shopper's Wishlist (website_sale_wishlist)

wishlist_grid_columnsWishlist Grid Columns

Number of columns to display on the wishlist page

integer

added by Shopper's Wishlist (website_sale_wishlist)

wishlist_mobile_columnsWishlist Mobile Columns

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

integer

added by Shopper's Wishlist (website_sale_wishlist)

wishlist_opt_products_design_classesWishlist Page Design Class

CSS class for wishlist page design

char

added by Shopper's Wishlist (website_sale_wishlist)

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 19 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","product_page_image_layout"],"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","product_page_image_layout"], "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 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.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.