Odoo 19.0 Community · Persistent

res.company: fields, relations and API

The res.company model ("Companies") is a persistent model declared by the Base module, then extended by 56 other modules. It exposes 279 fields, 260 of them declared directly on the model; 225 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
res.company
Label
Companies
Type
Persistent (models.Model)
SQL table
res_company
Origin module
Base (base)
Extended by
web, mail, product, resource, account, account_check_printing, account_edi_proxy_client, payment, account_payment_interco, account_peppol, account_peppol_response, auth_ldap, barcodes, sms, base_vat, sale, stock, stock_account, sale_stock, sale_management, hr, hr_attendance, hr_expense, hr_holidays, hr_presence, hr_recruitment, social_media, website, hr_timesheet, l10n_fr, l10n_fr_account, l10n_fr_hr_holidays, l10n_fr_pdp, partner_autocomplete, point_of_sale, l10n_fr_pdp_pos, l10n_fr_pos_cert, lunch, mass_mailing, mrp, mrp_account, purchase, purchase_stock, stock_landed_costs, mrp_subcontracting, stock_dropshipping, mrp_subcontracting_dropshipping, partnership, project_timesheet_holidays, sale_gelato, sms_twilio, snailmail, spreadsheet_account, website_sale, stock_sms, website_mass_mailing
Default order (_order)
sequence, name
Inherits from (mixins)
format.address.mixinformat.vat.label.mixinmail.threadpos.load.mixin

Model fields

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

279 of 279 fields shown

Technical nameLabelTypeDetails
absence_managementAbsence Managementboolean

added by Attendances (hr_attendance)

account_cash_basis_base_account_idBase Tax Received Account

Account that will be set on lines created in cash basis journal entry and used to keep track of the tax base amount.

many2one

added by Invoicing (account)

account_check_printing_date_labelPrint Date Label

This option allows you to print the date label on the check as per CPA. Disable this if your pre-printed check includes the date label.

boolean

added by Check Printing Base (account_check_printing)

account_check_printing_layoutCheck Layout

Select the format corresponding to the check paper you will be printing your checks on. In order to disable the printing feature, select 'None'.

selection

Values: disabled (None)

added by Check Printing Base (account_check_printing)

account_check_printing_margin_leftCheck Left Margin

Adjust the margins of generated checks to make it fit your printer's settings.

float

added by Check Printing Base (account_check_printing)

account_check_printing_margin_rightRight Margin

Adjust the margins of generated checks to make it fit your printer's settings.

float

added by Check Printing Base (account_check_printing)

account_check_printing_margin_topCheck Top Margin

Adjust the margins of generated checks to make it fit your printer's settings.

float

added by Check Printing Base (account_check_printing)

account_check_printing_multi_stubMulti-Pages Check Stub

This option allows you to print check details (stub) on multiple pages if they don't fit on a single page.

boolean

added by Check Printing Base (account_check_printing)

account_default_pos_receivable_account_idDefault PoS Receivable Accountmany2one

added by Invoicing (account)

account_discount_expense_allocation_idSeparate account for expense discountmany2one

added by Invoicing (account)

account_discount_income_allocation_idSeparate account for income discountmany2one

added by Invoicing (account)

account_edi_proxy_client_idsAccount Edi Proxy Clientone2many

inverse: company_id

added by Proxy features for account_edi (account_edi_proxy_client)

account_enabled_tax_country_idsl10n-used countries

Technical field containing the countries for which this company is using tax-related features(hence the ones for which l10n modules need to show tax-related fields).

many2many
computed

added by Invoicing (account)

account_fiscal_country_group_codesAccount Fiscal Country Group Codesjson
computed

added by Invoicing (account)

account_fiscal_country_idFiscal Country

The country to use the tax reports from for this company

many2one
computed, stored

added by Invoicing (account)

account_interco_clearing_journal_idIntercompany Clearing Journal

The accounting journal where Intercompany payments will be cleared

many2one

added by Intercompany Payment - Account (account_payment_interco)

account_interco_payable_idIntercompany Clearing Payable Account

The account where Intercompany invoice payments will be cleared

many2one

added by Intercompany Payment - Account (account_payment_interco)

account_interco_receivable_idIntercompany Clearing Receivable Account

The account where Intercompany credit note payments will be cleared

many2one

added by Intercompany Payment - Account (account_payment_interco)

account_journal_early_pay_discount_gain_account_idCash Discount Write-Off Gain Accountmany2one

added by Invoicing (account)

account_journal_early_pay_discount_loss_account_idCash Discount Write-Off Loss Accountmany2one

added by Invoicing (account)

account_journal_suspense_account_idJournal Suspense Accountmany2one

added by Invoicing (account)

account_opening_dateOpening Entry

That is the date of the opening entry.

date

added by Invoicing (account)

account_opening_journal_idOpening Journal

Journal where the opening entry of this company's accounting has been posted.

many2one

related: account_opening_move_id.journal_id

added by Invoicing (account)

account_opening_move_idOpening Journal Entry

The journal entry containing the initial balance of all this company's accounts.

many2one

added by Invoicing (account)

account_peppol_contact_emailPrimary contact email

Primary contact email for Peppol connection related communications and notifications. In particular, this email is used by Odoo to reconnect your Peppol account in case of database change.

char
computed, stored

added by Peppol (account_peppol)

account_peppol_edi_userAccount Peppol Edi Usermany2one
computed

added by Peppol (account_peppol)

account_peppol_migration_keyMigration Keychar

added by Peppol (account_peppol)

account_peppol_phone_numberMobile number

This number is used for identification purposes only.

char
computed, stored

added by Peppol (account_peppol)

account_peppol_proxy_statePEPPOL statusselection
required

Values: not_registered (Not registered), sender (Can send but not receive), smp_registration (Can send, pending registration to receive), receiver (Can send and receive), rejected (Rejected)

added by Peppol (account_peppol)

account_price_includeDefault Sales Price Include

Default on whether the sales price used on the product and invoices with this Company includes its taxes.

selection
required

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

added by Invoicing (account)

account_production_wip_account_idProduction WIP Accountmany2one

added by WMS Accounting (stock_account)

account_production_wip_overhead_account_idProduction WIP Overhead Accountmany2one

added by WMS Accounting (stock_account)

account_purchase_receipt_fiscal_position_idDefault Purchase Receipt Fiscal Positionmany2one

added by Invoicing (account)

account_purchase_tax_idDefault Purchase Taxmany2one

added by Invoicing (account)

account_sale_tax_idDefault Sale Taxmany2one

added by Invoicing (account)

account_stock_journal_idStock Journalmany2one

added by WMS Accounting (stock_account)

account_stock_valuation_idStock Valuation Accountmany2one

added by WMS Accounting (stock_account)

account_stornoStorno accountingboolean
computed, stored

added by Invoicing (account)

account_use_credit_limitSales Credit Limit

Enable the use of credit limit on partners.

boolean

added by Invoicing (account)

activeActiveboolean
alias_domain_idEmail Domainmany2one

added by Discuss (mail)

all_child_idsAll Childone2many

inverse: parent_id

anglo_saxon_accountingUse anglo-saxon accountingboolean

added by Invoicing (account)

annual_inventory_dayDay of the month

Day of the month when the annual inventory should occur. If zero or negative, then the first day of the month will be selected instead. If greater than the last day of a month, then the last day of the month will be selected instead.

integer

added by Inventory (stock)

annual_inventory_monthAnnual Inventory Month

Annual inventory month for products not in a location with a cyclic inventory date. Set to no month if no automatic annual inventory.

selection

Values: 1 (January), 2 (February), 3 (March), 4 (April), 5 (May), 6 (June), 7 (July), 8 (August), 9 (September), 10 (October), 11 (November), 12 (December)

added by Inventory (stock)

apeAPEchar

added by France - Localizations (l10n_fr)

attendance_barcode_sourceBarcode Sourceselection

Values: scanner (Scanner), front (Front Camera), back (Back Camera)

added by Attendances (hr_attendance)

attendance_device_trackingDevice & Location Trackingboolean

added by Attendances (hr_attendance)

attendance_from_systrayAttendance From Systrayboolean

added by Attendances (hr_attendance)

attendance_kiosk_delayAttendance Kiosk Delayinteger

added by Attendances (hr_attendance)

attendance_kiosk_keyAttendance Kiosk Keychar

added by Attendances (hr_attendance)

attendance_kiosk_modeAttendance Modeselection

Values: barcode (Barcode / RFID), barcode_manual (Barcode / RFID and Manual Selection), manual (Manual Selection)

added by Attendances (hr_attendance)

attendance_kiosk_urlAttendance Kiosk Urlchar
computed

added by Attendances (hr_attendance)

attendance_kiosk_use_pinEmployee PIN Identificationboolean

added by Attendances (hr_attendance)

attendance_overtime_validationExtra Hours Validationselection

Values: no_validation (Automatically Approved), by_manager (Approved by Manager)

added by Attendances (hr_attendance)

auto_check_outAutomatic Check Outboolean

added by Attendances (hr_attendance)

auto_check_out_toleranceAuto Check Out Tolerancefloat

added by Attendances (hr_attendance)

automatic_entry_default_journal_idAutomatic Entry Default Journal

Journal used by default for moving the period of an entry

many2one

added by Invoicing (account)

autopost_billsAuto-validate billsboolean

added by Invoicing (account)

bank_account_code_prefixPrefix of the bank accountschar

added by Invoicing (account)

bank_idsBankone2many

related: partner_id.bank_ids

bank_journal_idsBank Journalsone2many

inverse: company_id

added by Invoicing (account)

batch_payment_sequence_idBatch Payment Sequencemany2one
read-only

added by Invoicing (account)

bounce_emailBounce Emailchar
computed

added by Discuss (mail)

bounce_formattedBouncechar
computed

added by Discuss (mail)

cash_account_code_prefixPrefix of the cash accountschar

added by Invoicing (account)

catchall_emailCatchall Emailchar
computed

added by Discuss (mail)

catchall_formattedCatchallchar
computed

added by Discuss (mail)

chart_templateChart Templateselection

Values computed at runtime

added by Invoicing (account)

child_idsBranchesone2many

inverse: parent_id

cityCitychar
computed
colorColorinteger
computed
company_detailsCompany Details

Header text displayed at the top of all reports.

html
translatable
company_expense_allowed_payment_method_line_idsPayment methods available for expenses paid by companymany2many

added by Expenses (hr_expense)

company_registryCompany IDchar

related: partner_id.company_registry

company_registry_placeholderCompany Registry Placeholderchar
computed

related: partner_id.company_registry_placeholder

company_vat_placeholderCompany Vat Placeholderchar
computed

added by Invoicing (account)

contract_expiration_notice_periodContract Expiry Notice Periodinteger

added by Employees (hr)

cost_methodCost Methodselection
required

Values: standard (Standard Price), fifo (First In First Out (FIFO)), average (Average Cost (AVCO))

added by WMS Accounting (stock_account)

country_codeCountry Codechar

related: country_id.code

country_idCountrymany2one
computed
currency_exchange_journal_idExchange Gain or Loss Journalmany2one

added by Invoicing (account)

currency_idCurrencymany2one
required
days_to_purchaseDays to Purchase

Days needed to confirm a PO, define when a PO should be validated

float

added by Purchase Stock (purchase_stock)

default_cash_difference_expense_account_idCash Difference Expensemany2one

added by Invoicing (account)

default_cash_difference_income_account_idCash Difference Incomemany2one

added by Invoicing (account)

default_from_emailDefault Fromchar
read-only

related: alias_domain_id.default_from_email

added by Discuss (mail)

display_account_stornoDisplay Account Stornoboolean
computed

added by Invoicing (account)

display_invoice_amount_total_wordsTotal amount of invoice in lettersboolean

added by Invoicing (account)

display_invoice_tax_company_currencyTaxes in company currencyboolean

added by Invoicing (account)

domestic_fiscal_position_idDomestic Fiscal Positionmany2one
computed, stored

added by Invoicing (account)

downpayment_account_idDownpayment Account

This account will be used on Downpayment invoices.

many2one

added by Sales (sale)

dropship_subcontractor_pick_type_idDropship Subcontractor Pick Typemany2one

added by Dropship and Subcontracting Management (mrp_subcontracting_dropshipping)

emailEmailchar

related: partner_id.email

email_formattedFormatted Emailchar
computed

added by Discuss (mail)

email_primary_colorEmail Button Textchar

added by Discuss (mail)

email_secondary_colorEmail Button Colorchar

added by Discuss (mail)

employee_properties_definitionEmployee Propertiesproperties_definition

added by Employees (hr)

expects_chart_of_accountsExpects a Chart of Accountsboolean

added by Invoicing (account)

expense_account_idExpense Account

The expense is accounted for when a vendor bill is validated, except in anglo-saxon accounting with perpetual inventory valuation in which case the expense (Cost of Goods Sold account) is recognized at the customer invoice validation.

many2one

added by Invoicing (account)

expense_accrual_account_idExpense Accrual Account

Account used to move the period of an expense

many2one

added by Invoicing (account)

expense_currency_exchange_account_idLoss Exchange Rate Accountmany2one

added by Invoicing (account)

expense_journal_idDefault Expense Journal

The company's default journal used when an employee expense is created.

many2one

added by Expenses (hr_expense)

external_report_layout_idDocument Templatemany2one
fiscal_position_idsFiscal Positionone2many

inverse: company_id

added by Invoicing (account)

fiscalyear_last_dayFiscalyear Last Dayinteger
required

added by Invoicing (account)

fiscalyear_last_monthFiscalyear Last Monthselection
required

Values: 1 (January), 2 (February), 3 (March), 4 (April), 5 (May), 6 (June), 7 (July), 8 (August), 9 (September), 10 (October), 11 (November), 12 (December)

added by Invoicing (account)

fiscalyear_lock_dateGlobal Lock Date

Any entry up to and including that date will be postponed to a later time, in accordance with its journal's sequence.

date

added by Invoicing (account)

fontFontselection

Values: Lato (Lato), Roboto (Roboto), Open_Sans (Open Sans), Montserrat (Montserrat), Oswald (Oswald), Raleway (Raleway), Tajawal (Tajawal), Fira_Mono (Fira Mono)

force_restrictive_audit_trailForce Audit Trailboolean
computed

added by Invoicing (account)

gelato_api_keyGelato API Keychar

added by Gelato (sale_gelato)

gelato_webhook_secretGelato Webhook Secretchar

added by Gelato (sale_gelato)

hard_lock_dateHard Lock Date

Any entry up to and including that date will be postponed to a later time, in accordance with its journal sequence. This lock date is irreversible and does not allow any exception.

date

added by Invoicing (account)

has_received_warning_stock_smsHas Received Warning Stock Smsboolean

added by Stock - SMS (stock_sms)

horizon_daysReplenishment Horizon

Configure your horizon to trigger reordering rules earlier to get a head start on replenishment and avoid delays, or trigger it just-in-time ('0 days') to avoid overstocking.

float
required

added by Inventory (stock)

hr_attendance_display_overtimeDisplay Extra Hoursboolean

added by Attendances (hr_attendance)

hr_presence_control_attendanceBased on attendancesboolean

added by Employees (hr)

hr_presence_control_emailBased on number of emails sentboolean

added by Employees (hr)

hr_presence_control_email_amount# emails to sendinteger

added by Employees (hr)

hr_presence_control_ipBased on IP Addressboolean

added by Employees (hr)

hr_presence_control_ip_listValid IP addresseschar

added by Employees (hr)

hr_presence_control_loginBased on user status in systemboolean

added by Employees (hr)

hr_presence_last_compute_dateHr Presence Last Compute Datedatetime

added by Employee Presence Control (hr_presence)

iap_enrich_auto_doneEnrich Doneboolean

added by Partner Autocomplete (partner_autocomplete)

income_account_idIncome Account

This account will be used when validating a customer invoice.

many2one

added by Invoicing (account)

income_currency_exchange_account_idGain Exchange Rate Accountmany2one

added by Invoicing (account)

incoterm_idDefault incoterm

International Commercial Terms are a series of predefined commercial terms used in international transactions.

many2one

added by Invoicing (account)

internal_project_idInternal Project

Default project value for timesheet generated from time off type.

many2one

added by Task Logs (hr_timesheet)

internal_transit_location_idInternal Transit Locationmany2one

added by Inventory (stock)

inventory_periodInventory Periodselection
required

Values: manual (Manual), daily (Daily), monthly (Monthly)

added by WMS Accounting (stock_account)

inventory_valuationValuationselection

Values: periodic (Periodic (at closing)), real_time (Perpetual (at invoicing))

added by WMS Accounting (stock_account)

invoice_termsDefault Terms and Conditionshtml
translatable

added by Invoicing (account)

invoice_terms_htmlDefault Terms and Conditions as a Web pagehtml
computed, storedtranslatable

added by Invoicing (account)

is_company_details_emptyIs Company Details Emptyboolean
computed
is_france_countryIs Part of DOM-TOMboolean
computed

added by France - Localizations (l10n_fr)

job_properties_definitionJob Propertiesproperties_definition

added by Recruitment (hr_recruitment)

l10n_fr_closing_sequence_idSequence to use to build sale closingsmany2one
read-only

added by France - Localizations (l10n_fr)

l10n_fr_f10_enable_reportingEnable Flux 10 Reportingboolean
read-onlycomputed, stored

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_annuaire_start_dateAnnuaire Start Date

The date on which the company is registered on the annuaire for the French e-invoicing.

date

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_flow_10_start_dateL10N Fr Pdp Flow 10 Start Datedate
computed

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_periodicityFlow 10 Report Periodicity

Legal reporting period for transaction and payments flows according to the TVA regime table. Real Monthly Normal Regime : transactions reported by decade, payments reported monthly Real Normal Quarterly Regime : transactions reported monthly, payments reported monthly Simplified VAT Regime (Monthly) : transactions reported monthly, payments reported monthly Franchised VAT Regime (Bimonthly) : transactions reported bimonthly, payments reported bimonthly

selection
required

Values: normal_monthly (Real Monthly Normal Regime), normal_quarterly (Real Normal Quarterly Regime), simplified_monthly (Simplified VAT Regime (Monthly)), simplified_bimonthly (Franchised VAT Regime (Bimonthly))

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_pilot_phaseE-Invoicing Pilot Phase

Participate in the Pilot Phase of the French E-Invoicing. This way you are able to test it before it becomes mandatory.

boolean

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_registeredApproved Platform Registerdboolean
computed

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pdp_send_to_ppfSend to PPF

Activate Flux 1 regulatory data, Flux 6 mandatory statuses and Flux 10 e-reporting generation for this company.

boolean

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

l10n_fr_pos_cert_sequence_idL10N Fr Pos Cert Sequencemany2one

added by France - VAT Anti-Fraud Certification for Point of Sale (CGI 286 I-3 bis) (l10n_fr_pos_cert)

l10n_fr_reference_leave_typeCompany Paid Time Off Typemany2one

added by France - Time Off (l10n_fr_hr_holidays)

l10n_fr_rounding_difference_loss_account_idL10N Fr Rounding Difference Loss Accountmany2one

added by France - Accounting (l10n_fr_account)

l10n_fr_rounding_difference_profit_account_idL10N Fr Rounding Difference Profit Accountmany2one

added by France - Accounting (l10n_fr_account)

layout_backgroundLayout Backgroundselection
required

Values: Blank (Blank), Demo logo (Demo logo), Custom (Custom)

layout_background_imageBackground Imagebinary
lc_journal_idLc Journalmany2one

added by WMS Landed Costs (stock_landed_costs)

ldapsLDAP Parametersone2many

inverse: company

added by Authentication via LDAP (auth_ldap)

leave_timesheet_task_idTime Off Taskmany2one

added by Timesheet when on Time Off (project_timesheet_holidays)

logo_webLogo Webbinary
computed, stored
lunch_minimum_thresholdLunch Minimum Thresholdfloat

added by Lunch (lunch)

lunch_notify_messageLunch Notify Messagehtml
translatable

added by Lunch (lunch)

multi_vat_foreign_country_idsForeign VAT countries

Countries for which the company has a VAT number

many2many
computed

added by Invoicing (account)

nameCompany Namechar
required

related: partner_id.name

nomenclature_idNomenclaturemany2one

added by Barcode (barcodes)

overtime_company_thresholdTolerance Time In Favor Of Companyinteger

added by Attendances (hr_attendance)

overtime_employee_thresholdTolerance Time In Favor Of Employeeinteger

added by Attendances (hr_attendance)

paperformat_idPaper formatmany2one
parent_idParent Companymany2one
parent_idsParentmany2many
computed
parent_pathParent Pathchar
partner_idPartnermany2one
required
partnership_labelPartnership Label

Name used to refer to affiliates: partners, members, alumnis, etc...

char
translatable

added by Partnership / Membership (partnership)

pdp_authentication_uuidAuthentication IAP UUIDchar

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

pdp_identifierPdp Identifierchar
computed

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

pdp_kyc_statusPdp Kyc Statusselection

Values: processing (Processing), success (Success), fail (Fail)

added by France - E-Invoicing (Approved Platform) (l10n_fr_pdp)

peppol_activate_self_billing_sendingActivate self-billing sending

If activated, you will be able to send vendor bills as self-billed invoices via Peppol.

boolean

added by Peppol (account_peppol)

peppol_can_sendPeppol Can Sendboolean
computed

added by Peppol (account_peppol)

peppol_easPeppol Easselection

related: partner_id.peppol_eas

added by Peppol (account_peppol)

peppol_endpointPeppol Endpointchar

related: partner_id.peppol_endpoint

added by Peppol (account_peppol)

peppol_external_providerPeppol External Providerchar

added by Peppol (account_peppol)

peppol_metadataPeppol Metadatajson

added by Peppol (account_peppol)

peppol_metadata_updated_atPeppol meta updated atdatetime

added by Peppol (account_peppol)

peppol_parent_company_idPeppol Parent Companymany2one
computed

added by Peppol (account_peppol)

peppol_purchase_journal_idPeppol Purchase Journalmany2one
computed, stored

added by Peppol (account_peppol)

peppol_self_billing_reception_journal_idSelf-Billing reception journal

Any self-billed invoices / credit notes received via Peppol will be created in draft in this journal. Defaults to the first sale journal.

many2one
computed, stored

added by Peppol (account_peppol)

phonePhonechar

related: partner_id.phone

po_double_validationLevels of Approvals

Provide a double validation mechanism for purchases

selection

Values: one_step (Confirm purchase orders in one step), two_step (Get 2 levels of approvals to confirm a purchase order)

added by Purchase (purchase)

po_double_validation_amountDouble validation amount

Minimum amount for which a double validation is required

monetary

added by Purchase (purchase)

po_lockPurchase Order Modification

Purchase Order Modification used when you want to purchase order editable after confirm

selection

Values: edit (Allow to edit purchase orders), lock (Confirmed purchase orders are not editable)

added by Purchase (purchase)

point_of_sale_ticket_portal_url_display_modePrint

Choose how the URL to the portal will be print on the receipt.

selection
required

Values: qr_code (QR code), url (URL), qr_code_and_url (QR code + URL)

added by Point of Sale (point_of_sale)

point_of_sale_ticket_unique_codeGenerate a code on ticket

Add a 5-digit code on the receipt to allow the user to request the invoice for an order on the portal.

boolean

added by Point of Sale (point_of_sale)

point_of_sale_update_stock_quantitiesUpdate quantities in stock

At the session closing: A picking is created for the entire session when it's closed In real time: Each order sent to the server create its own picking

selection

Values: closing (At the session closing), real (In real time)

added by Point of Sale (point_of_sale)

point_of_sale_use_ticket_qr_codeSelf-service invoicing

Print information on the receipt to allow the customer to easily access the invoice anytime, from Odoo's portal.

boolean

added by Point of Sale (point_of_sale)

portal_confirmation_payOnline Paymentboolean

added by Sales (sale)

portal_confirmation_signOnline Signatureboolean

added by Sales (sale)

prepayment_percentPrepayment percentage

The percentage of the amount needed to be paid to confirm quotations.

float

added by Sales (sale)

price_difference_account_idPrice Difference Account

During perpetual valuation, this account will hold the price difference between the standard price and the bill price.

many2one

added by Invoicing (account)

primary_colorPrimary Colorchar
project_time_mode_idProject Time Unit

This will set the unit of measure used in projects and tasks. If you use the timesheet linked to projects, don't forget to setup the right unit of measure in your employees.

many2one

added by Task Logs (hr_timesheet)

purchase_lock_datePurchase Lock date

Any purchase entry prior to and including this date will be postponed to a later date, in accordance with its journal's sequence.

date

added by Invoicing (account)

qr_codeDisplay QR-code on invoicesboolean

added by Invoicing (account)

quick_edit_modeQuick encodingselection

Values: out_invoices (Customer Invoices), in_invoices (Vendor Bills), out_and_in_invoices (Customer Invoices and Vendor Bills)

added by Invoicing (account)

quotation_validity_daysDefault Quotation Validity

Days between quotation proposal and expiration. 0 days means automatic expiration is disabled

integer

added by Sales (sale)

report_headerCompany Tagline

Company tagline, which is included in a printed document's header or footer (depending on the selected layout).

html
translatable
resource_calendar_idDefault Working Hoursmany2one

added by Resource (resource)

resource_calendar_idsWorking Hoursone2many

inverse: company_id

added by Resource (resource)

restrictive_audit_trailRestrictive Audit Trail

Enable this option to prevent deletion of journal item related logs

boolean

added by Invoicing (account)

revenue_accrual_account_idRevenue Accrual Account

Account used to move the period of a revenue

many2one

added by Invoicing (account)

root_idRootmany2one
computed
sale_discount_product_idDiscount Product

Default product used for discounts

many2one

added by Sales (sale)

sale_lock_dateSales Lock Date

Any sales entry prior to and including this date will be postponed to a later date, in accordance with its journal's sequence.

date

added by Invoicing (account)

sale_onboarding_payment_methodSale onboarding selected payment methodselection

Values: digital_signature (Sign online), paypal (PayPal), stripe (Stripe), other (Pay with another payment provider), manual (Manual Payment)

added by Sales (sale)

sale_order_template_idDefault Sale Templatemany2one

added by Sales (sale_management)

secondary_colorSecondary Colorchar
security_leadSales Safety Days

Margin of error for dates promised to customers. Products will be scheduled for procurement and delivery that many days earlier than the actual promised date, to cope with unexpected delays in the supply chain.

float
required

added by Sales and Warehouse Management (sale_stock)

sequenceSequence

Used to order Companies in the company switcher

integer
sms_providerSMS Providerselection

Values: iap (Send via Odoo), twilio (Send via Twilio)

added by Twilio SMS (sms_twilio)

sms_twilio_account_sidAccount SIDchar

added by Twilio SMS (sms_twilio)

sms_twilio_auth_tokenAuth Tokenchar

added by Twilio SMS (sms_twilio)

sms_twilio_number_idsNumbersone2many

inverse: company_id

added by Twilio SMS (sms_twilio)

snailmail_colorSnailmail Colorboolean

added by Snail Mail (snailmail)

snailmail_coverAdd a Cover Pageboolean

added by Snail Mail (snailmail)

snailmail_duplexBoth sidesboolean

added by Snail Mail (snailmail)

social_discordDiscord Accountchar

added by Social Media (social_media)

social_facebookFacebook Accountchar

added by Social Media (social_media)

social_githubGitHub Accountchar

added by Social Media (social_media)

social_instagramInstagram Accountchar

added by Social Media (social_media)

social_linkedinLinkedIn Accountchar

added by Social Media (social_media)

social_tiktokTikTok Accountchar

added by Social Media (social_media)

social_twitterX Accountchar

added by Social Media (social_media)

social_youtubeYoutube Accountchar

added by Social Media (social_media)

state_idFed. Statemany2one
computed
stock_confirmation_typeStock Confirmation Typeselection

Values: sms (SMS)

added by Inventory (stock)

stock_mail_confirmation_template_idEmail Template confirmation picking

Email sent to the customer once the order is done.

many2one

added by Inventory (stock)

stock_move_email_validationEmail Confirmation pickingboolean

added by Inventory (stock)

stock_sms_confirmation_template_idSMS Template

SMS sent to the customer once the order is delivered.

many2one

added by Stock - SMS (stock_sms)

stock_text_confirmationStock Text Confirmationboolean

added by Inventory (stock)

streetStreetchar
computed
street2Street2char
computed
subcontracting_location_idSubcontracting Locationmany2one

added by MRP Subcontracting (mrp_subcontracting)

tax_calculation_rounding_methodTax Calculation Rounding Methodselection

Values: round_globally (Round per Tax), round_per_line (Round per Line)

added by Invoicing (account)

tax_cash_basis_journal_idCash Basis Journalmany2one

added by Invoicing (account)

tax_exigibilityUse Cash Basisboolean

added by Invoicing (account)

tax_lock_dateTax Return Lock Date

Any entry with taxes up to and including that date will be postponed to a later time, in accordance with its journal's sequence. The tax lock date is automatically set when the tax closing entry is posted.

date

added by Invoicing (account)

terms_typeTerms & Conditions formatselection

Values: plain (Add a Note), html (Add a link to a Web Page)

added by Invoicing (account)

timesheet_encode_uom_idTimesheet Encoding Unitmany2one

added by Task Logs (hr_timesheet)

transfer_account_code_prefixPrefix of the transfer accountschar

added by Invoicing (account)

transfer_account_idInter-Banks Transfer Account

Intermediary account used when moving money from a liquidity account to another

many2one

added by Invoicing (account)

uninstalled_l10n_module_idsUninstalled L10N Modulemany2many
computed
user_fiscalyear_lock_dateUser Fiscalyear Lock Datedate
computed

added by Invoicing (account)

user_hard_lock_dateUser Hard Lock Datedate
computed

added by Invoicing (account)

user_idsAccepted Usersmany2many
user_purchase_lock_dateUser Purchase Lock Datedate
computed

added by Invoicing (account)

user_sale_lock_dateUser Sale Lock Datedate
computed

added by Invoicing (account)

user_tax_lock_dateUser Tax Lock Datedate
computed

added by Invoicing (account)

vatTax IDchar

related: partner_id.vat

vat_check_viesVerify VAT Numbersboolean

added by VAT Number Validation (base_vat)

websiteWebsitechar

related: partner_id.website

website_idWebsitemany2one
computed, stored

added by Website (website)

work_permit_expiration_notice_periodWork Permit Expiry Notice Periodinteger

added by Employees (hr)

zipZipchar
computed
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

website_message_idsWebsite Messages

Website communication history

one2many

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

  • account_edi_proxy_client.user: account_edi_proxy_client_ids, account_peppol_edi_user
  • account.account: account_cash_basis_base_account_id, account_default_pos_receivable_account_id, account_discount_expense_allocation_id, account_discount_income_allocation_id, account_interco_payable_id, account_interco_receivable_id, account_journal_early_pay_discount_gain_account_id, account_journal_early_pay_discount_loss_account_id, account_journal_suspense_account_id, account_production_wip_account_id, account_production_wip_overhead_account_id, account_stock_valuation_id, default_cash_difference_expense_account_id, default_cash_difference_income_account_id, downpayment_account_id, expense_account_id, expense_accrual_account_id, expense_currency_exchange_account_id, income_account_id, income_currency_exchange_account_id, l10n_fr_rounding_difference_loss_account_id, l10n_fr_rounding_difference_profit_account_id, price_difference_account_id, revenue_accrual_account_id, transfer_account_id
  • account.fiscal.position: account_purchase_receipt_fiscal_position_id, domestic_fiscal_position_id, fiscal_position_ids
  • account.incoterms: incoterm_id
  • account.journal: account_interco_clearing_journal_id, account_opening_journal_id, account_stock_journal_id, automatic_entry_default_journal_id, bank_journal_ids, currency_exchange_journal_id, expense_journal_id, lc_journal_id, peppol_purchase_journal_id, peppol_self_billing_reception_journal_id, tax_cash_basis_journal_id
  • account.move: account_opening_move_id
  • account.payment.method.line: company_expense_allowed_payment_method_line_ids
  • account.tax: account_purchase_tax_id, account_sale_tax_id
  • barcode.nomenclature: nomenclature_id
  • hr.leave.type: l10n_fr_reference_leave_type
  • ir.module.module: uninstalled_l10n_module_ids
  • ir.sequence: batch_payment_sequence_id, l10n_fr_closing_sequence_id, l10n_fr_pos_cert_sequence_id
  • ir.ui.view: external_report_layout_id
  • mail.alias.domain: alias_domain_id
  • mail.template: stock_mail_confirmation_template_id
  • product.product: sale_discount_product_id
  • project.project: internal_project_id
  • project.task: leave_timesheet_task_id
  • report.paperformat: paperformat_id
  • res.company: all_child_ids, child_ids, parent_id, parent_ids, peppol_parent_company_id, root_id
  • res.company.ldap: ldaps
  • res.country: account_enabled_tax_country_ids, account_fiscal_country_id, country_id, multi_vat_foreign_country_ids
  • res.country.state: state_id
  • res.currency: currency_id
  • res.partner: partner_id
  • res.partner.bank: bank_ids
  • res.users: user_ids
  • resource.calendar: resource_calendar_id, resource_calendar_ids
  • sale.order.template: sale_order_template_id
  • sms.template: stock_sms_confirmation_template_id
  • sms.twilio.number: sms_twilio_number_ids
  • stock.location: internal_transit_location_id, subcontracting_location_id
  • stock.picking.type: dropship_subcontractor_pick_type_id
  • uom.uom: project_time_mode_id, timesheet_encode_uom_id
  • website: website_id

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/res.company/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","account_peppol_proxy_state","account_price_include","cost_method","currency_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}/res.company/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","account_peppol_proxy_state","account_price_include","cost_method","currency_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/res-company">res.company (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.