res.company: fields, relations and API
The res.company model ("Company") is a persistent model declared by the Base module, then extended by 58 other modules. It exposes 317 fields, 299 of them declared directly on the model; 226 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
res.company- Label
- Company
- 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, account_edi_ubl_cii, payment, account_payment_interco, account_peppol, auth_ldap, barcodes, sms, sale, hr, hr_work_entry, hr_attendance, hr_expense, hr_holidays, hr_holidays_attendance, hr_presence, hr_recruitment, social_media, website, hr_timesheet, l10n_fr, l10n_fr_account, l10n_fr_hr_holidays, l10n_fr_payment, l10n_fr_pdp, point_of_sale, l10n_fr_pdp_pos, l10n_fr_pos_cert, lunch, mass_mailing, stock, mrp, stock_account, mrp_account, sale_stock, purchase, purchase_stock, stock_landed_costs, mrp_subcontracting, stock_dropshipping, mrp_subcontracting_dropshipping, partner_autocomplete, partnership, pos_bancontact_pay, pos_stock, project_timesheet_holidays, sale_gelato, sms_twilio, snailmail, spreadsheet_account, website_sale, stock_sms
- Default order (_order)
sequence, name- Inherits from (mixins)
- format.address.mixinformat.vat.label.mixinmail.threadpos.load.mixin
Model fields
299 own fields, 12 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.
317 of 317 fields shown
| Technical name | Label | Type | Details |
|---|---|---|---|
| absence_management | Absence Management | boolean | added by Attendances ( |
| account_billed_not_received_id | Billed Not Received Account | many2one | added by Purchase ( |
| account_bills_to_receive_id | Bills to Receive Account | many2one | added by Purchase ( |
| account_cash_basis_base_account_id | Base 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_check_printing_date_label | Print 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_layout | Check 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: added by Check Printing Base ( |
| account_check_printing_margin_left | Check 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_margin_right | Right Margin Adjust the margins of generated checks to make it fit your printer's settings. | float | added by Check Printing Base ( |
| account_check_printing_margin_top | Check 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_multi_stub | Multi-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_credit_limit | Default Credit Limit | float | added by Invoicing ( |
| account_default_pos_receivable_account_id | Default PoS Receivable Account | many2one | added by Invoicing ( |
| account_discount_expense_allocation_id | Separate account for expense discount | many2one | added by Invoicing ( |
| account_discount_income_allocation_id | Separate account for income discount | many2one | added by Invoicing ( |
| account_edi_proxy_client_ids | Account Edi Proxy Client | one2many | inverse: added by Proxy features for account_edi ( |
| account_enabled_tax_country_ids | l10n-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_fiscal_country_group_codes | Account Fiscal Country Group Codes | json | computed added by Invoicing ( |
| account_fiscal_country_id | Fiscal Country The country to use the tax reports from for this company | many2one | computed, stored added by Invoicing ( |
| account_interco_clearing_journal_id | Intercompany Clearing Journal The accounting journal where Intercompany payments will be cleared | many2one | added by Intercompany Payment - Account ( |
| account_interco_payable_id | Intercompany Clearing Payable Account The account where Intercompany invoice payments will be cleared | many2one | added by Intercompany Payment - Account ( |
| account_interco_receivable_id | Intercompany Clearing Receivable Account The account where Intercompany credit note payments will be cleared | many2one | added by Intercompany Payment - Account ( |
| account_invoiced_not_delivered_id | Invoiced Not Delivered Account | many2one | added by Sales ( |
| account_invoices_to_issue_id | Invoices to be Issued Account | many2one | added by Sales ( |
| account_journal_early_pay_discount_gain_account_id | Cash Discount Write-Off Gain Account | many2one | added by Invoicing ( |
| account_journal_early_pay_discount_loss_account_id | Cash Discount Write-Off Loss Account | many2one | added by Invoicing ( |
| account_journal_suspense_account_id | Journal Suspense Account | many2one | added by Invoicing ( |
| account_opening_date | Opening Entry That is the date of the opening entry. | date | added by Invoicing ( |
| account_opening_journal_id | Opening Journal Journal where the opening entry of this company's accounting has been posted. | many2one | related: added by Invoicing ( |
| account_opening_move_id | Opening Journal Entry The journal entry containing the initial balance of all this company's accounts. | many2one | added by Invoicing ( |
| account_peppol_contact_email | Primary 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_edi_user | Account Peppol Edi User | many2one | computed added by Peppol ( |
| account_peppol_migration_key | Migration Key | char | added by Peppol ( |
| account_peppol_phone_number | Mobile number This number is used for identification purposes only. | char | computed, stored added by Peppol ( |
| account_peppol_proxy_state | PEPPOL status | selection | required Values: added by Peppol ( |
| account_price_include | Default Sales Price Include Default on whether the sales price used on the product and invoices with this Company includes its taxes. | selection | required Values: added by Invoicing ( |
| account_production_wip_account_id | Production WIP Account | many2one | added by WMS Accounting ( |
| account_production_wip_overhead_account_id | Production WIP Overhead Account | many2one | added by WMS Accounting ( |
| account_purchase_receipt_fiscal_position_id | Default Purchase Receipt Fiscal Position | many2one | added by Invoicing ( |
| account_purchase_tax_id | Default Purchase Tax | many2one | added by Invoicing ( |
| account_sale_tax_id | Default Sale Tax | many2one | added by Invoicing ( |
| account_stock_journal_id | Stock Journal | many2one | added by Invoicing ( |
| account_stock_valuation_id | Stock Valuation Account | many2one | added by Invoicing ( |
| account_storno | Storno accounting | boolean | computed, stored added by Invoicing ( |
| account_use_credit_limit | Sales Credit Limit Enable the use of credit limit on partners. | boolean | added by Invoicing ( |
| active | Active | boolean | |
| additional_identifiers | Additional Identifiers | json | related: |
| alias_domain_id | Email Domain | many2one | added by Discuss ( |
| all_child_ids | All Child | one2many | inverse: |
| allow_spontaneous_returns | Allow Spontaneous Returns | boolean | added by Sales and Warehouse Management ( |
| allowed_work_entry_type_ids | Allowed Work Entry Type | many2many | computed added by Work Entries ( |
| anglo_saxon_accounting | Use anglo-saxon accounting | boolean | added by Invoicing ( |
| annual_inventory_day | Day 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 ( |
| annual_inventory_month | Annual 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: added by Inventory ( |
| ape | APE | char | added by France - Localizations ( |
| applicant_properties_definition | Applicant Properties | properties_definition | added by Recruitment ( |
| attendance_barcode_source | Barcode Source | selection | Values: added by Attendances ( |
| attendance_based | Attendance Based | boolean | added by Attendances ( |
| attendance_break_management | Break Management on Checkout If enabled, employees can record their total break duration after checking out. | boolean | added by Attendances ( |
| attendance_capture_check_in | Take Pictures on Check-In | boolean | added by Attendances ( |
| attendance_device_tracking | Device & Location Tracking | boolean | added by Attendances ( |
| attendance_from_systray | Attendance From Systray | boolean | added by Attendances ( |
| attendance_kiosk_delay | Attendance Kiosk Delay | integer | added by Attendances ( |
| attendance_kiosk_key | Attendance Kiosk Key | char | added by Attendances ( |
| attendance_kiosk_mode | Attendance Mode | selection | Values: added by Attendances ( |
| attendance_kiosk_url | Attendance Kiosk Url | char | computed added by Attendances ( |
| attendance_kiosk_use_pin | Employee PIN Identification | boolean | added by Attendances ( |
| attendance_validation | Attendance Validation | selection | Values: added by Attendances ( |
| attendance_validation_tolerance | Validation Tolerance (Hours) | float | added by Attendances ( |
| attendance_work_entry_type_id | Attendance Time Type Work entry type assigned to attendances and read by the time rule engine. | many2one | computed, stored added by Attendances ( |
| auto_check_out | Automatic Check Out | boolean | added by Attendances ( |
| auto_check_out_mode | Auto Check Out Mode | selection | Values: added by Attendances ( |
| auto_check_out_specific_time | Auto Check Out Specific Time | float | added by Attendances ( |
| auto_check_out_tolerance | Auto Check Out Tolerance | float | added by Attendances ( |
| automatic_entry_default_journal_id | Automatic Entry Default Journal Journal used by default for moving the period of an entry | many2one | added by Invoicing ( |
| autopost_bills | Auto-validate bills | boolean | added by Invoicing ( |
| available_additional_identifiers_metadata | Available Additional Identifiers Metadata | json | related: |
| bank_account_code_prefix | Prefix of the bank accounts | char | added by Invoicing ( |
| bank_ids | Bank | one2many | related: |
| bank_journal_ids | Bank Journals | one2many | inverse: added by Invoicing ( |
| batch_payment_sequence_id | Batch Payment Sequence | many2one | read-only added by Invoicing ( |
| bounce_email | Bounce Email | char | computed added by Discuss ( |
| bounce_formatted | Bounce | char | computed added by Discuss ( |
| cash_account_code_prefix | Prefix of the cash accounts | char | added by Invoicing ( |
| cash_rounding_loss_account_id | Cash Rounding Loss Account | many2one | added by Invoicing ( |
| cash_rounding_profit_account_id | Cash Rounding Profit Account | many2one | added by Invoicing ( |
| catchall_email | Catchall Email | char | computed added by Discuss ( |
| catchall_formatted | Catchall | char | computed added by Discuss ( |
| chart_template | Chart Template | selection | Values computed at runtime added by Invoicing ( |
| child_ids | Branches | one2many | inverse: |
| city | City | char | computed |
| color | Color | integer | computed |
| company_details | Company Details Header text displayed at the top of all reports. | html | computed, storedtranslatable |
| company_expense_allowed_payment_method_line_ids | Payment methods available for expenses paid by company | many2many | added by Expenses ( |
| company_vat_placeholder | Company Vat Placeholder | char | computed added by Invoicing ( |
| contract_expiration_notice_period | Contract Expiry Notice Period | integer | added by Employees ( |
| cost_method | Cost Method | selection | required Values: added by Invoicing ( |
| country_code | Country Code | char | related: |
| country_id | Country | many2one | computed |
| currency_exchange_journal_id | Exchange Gain or Loss Journal | many2one | added by Invoicing ( |
| currency_id | Currency | many2one | required |
| days_to_purchase | Days to Purchase Days needed to confirm a PO, define when a PO should be validated | integer | added by Purchase Stock ( |
| default_cash_difference_expense_account_id | Cash Difference Expense | many2one | added by Invoicing ( |
| default_cash_difference_income_account_id | Cash Difference Income | many2one | added by Invoicing ( |
| default_from_email | Default From | char | read-only related: added by Discuss ( |
| default_stock_location_id | Default Stock Location | many2one | computed added by Inventory ( |
| display_account_storno | Display Account Storno | boolean | computed added by Invoicing ( |
| display_invoice_amount_total_words | Total amount of invoice in words | boolean | added by Invoicing ( |
| display_invoice_tax_company_currency | Taxes in company currency | boolean | added by Invoicing ( |
| display_product_images_on_so | Display Product Images | boolean | added by Sales ( |
| document_sequence_editable | Document's sequence editable | boolean | added by Invoicing ( |
| domestic_fiscal_position_id | Domestic Fiscal Position | many2one | computed, stored added by Invoicing ( |
| downpayment_account_id | Downpayment Account This account will be used on Downpayment invoices. | many2one | added by Sales ( |
| dropship_subcontractor_pick_type_id | Dropship Subcontractor Pick Type | many2one | added by Dropship and Subcontracting Management ( |
char | related: | ||
| email_formatted | Formatted Email | char | computed added by Discuss ( |
| email_primary_color | Email Button Text | char | added by Discuss ( |
| email_secondary_color | Email Button Color | char | added by Discuss ( |
| employee_properties_definition | Employee Properties | properties_definition | added by Employees ( |
| expects_chart_of_accounts | Expects a Chart of Accounts | boolean | added by Invoicing ( |
| expense_account_id | Expense 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 ( |
| expense_accrual_account_id | Expense Accrual Account Account used to move the period of an expense | many2one | added by Invoicing ( |
| expense_currency_exchange_account_id | Loss Exchange Rate Account | many2one | added by Invoicing ( |
| expense_journal_id | Default Expense Journal The company's default journal used when an employee expense is created. | many2one | added by Expenses ( |
| external_code | External Code Use this code to export your data to a third party | char | added by Work Entries ( |
| external_report_layout_id | Document Template | many2one | |
| fiscal_position_ids | Fiscal Position | one2many | inverse: added by Invoicing ( |
| fiscalyear_last_day | Fiscalyear Last Day | integer | required added by Invoicing ( |
| fiscalyear_last_month | Fiscalyear Last Month | selection | required Values: added by Invoicing ( |
| fiscalyear_lock_date | Global 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 ( |
| font | Font | selection | Values: |
| force_restrictive_audit_trail | Force Audit Trail | boolean | computed added by Invoicing ( |
| free_order_label | Free Order Label The label to be displayed on the payment buttons for orders with Total Amount zero | char | translatable added by eCommerce ( |
| gelato_api_key | Gelato API Key | char | added by Gelato ( |
| gelato_webhook_secret | Gelato Webhook Secret | char | added by Gelato ( |
| hard_lock_date | Hard 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 ( |
| has_ledger | Has Ledger | boolean | computed added by Invoicing ( |
| has_received_warning_stock_sms | Has Received Warning Stock Sms | boolean | added by Stock - SMS ( |
| has_vat | Has Vat | boolean | related: |
| horizon_days | Replenishment 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. | integer | required added by Inventory ( |
| hr_presence_control_attendance | Based on attendances | boolean | added by Employees ( |
| hr_presence_control_email | Based on number of emails sent | boolean | added by Employees ( |
| hr_presence_control_email_amount | # emails to send | integer | added by Employees ( |
| hr_presence_control_ip | Based on IP Address | boolean | added by Employees ( |
| hr_presence_control_ip_list | Valid IP addresses | char | added by Employees ( |
| hr_presence_control_login | Based on user status in system | boolean | added by Employees ( |
| hr_presence_last_compute_date | Hr Presence Last Compute Date | datetime | added by Employee Presence Control ( |
| iap_enrich_auto_done | Enrich Done | boolean | added by Partner Autocomplete ( |
| income_account_id | Income Account This account will be used when validating a customer invoice. | many2one | added by Invoicing ( |
| income_currency_exchange_account_id | Gain Exchange Rate Account | many2one | added by Invoicing ( |
| incoterm_id | Default incoterm International Commercial Terms are a series of predefined commercial terms used in international transactions. | many2one | added by Invoicing ( |
| internal_project_id | Internal Project Default project value for timesheet generated from time type. | many2one | added by Task Logs ( |
| internal_transit_location_id | Internal Transit Location | many2one | added by Inventory ( |
| inventory_period | Inventory Period | selection | required Values: added by Invoicing ( |
| inventory_valuation | Valuation | selection | Values: added by Invoicing ( |
| invoice_terms | Default Terms and Conditions | html | translatable added by Invoicing ( |
| invoice_terms_html | Default Terms and Conditions as a Web page | html | computed, storedtranslatable added by Invoicing ( |
| is_company_details_empty | Is Company Details Empty | boolean | computed |
| is_france_country | Is Part of DOM-TOM | boolean | computed added by France - Localizations ( |
| job_properties_definition | Job Properties | properties_definition | added by Recruitment ( |
| l10n_fr_closing_sequence_id | Sequence to use to build sale closings | many2one | read-only added by France - Localizations ( |
| l10n_fr_f10_enable_reporting | Enable Flux 10 Reporting | boolean | read-onlycomputed, stored added by France - E-Invoicing (Approved Platform) ( |
| l10n_fr_pdp_annuaire_start_date | Annuaire 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_flow_10_start_date | L10N Fr Pdp Flow 10 Start Date | date | computed added by France - E-Invoicing (Approved Platform) ( |
| l10n_fr_pdp_periodicity | Flow 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: added by France - E-Invoicing (Approved Platform) ( |
| l10n_fr_pdp_pilot_phase | E-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_registered | Approved Platform Registerd | boolean | computed added by France - E-Invoicing (Approved Platform) ( |
| l10n_fr_pdp_send_to_ppf | Send 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_pos_cert_sequence_id | L10N Fr Pos Cert Sequence | many2one | added by France - VAT Anti-Fraud Certification for Point of Sale (CGI 286 I-3 bis) ( |
| l10n_fr_reference_work_entry_type | Company Paid Time Type | many2one | added by France - Time Off ( |
| l10n_fr_rounding_difference_loss_account_id | L10N Fr Rounding Difference Loss Account | many2one | added by France - Accounting ( |
| l10n_fr_rounding_difference_profit_account_id | L10N Fr Rounding Difference Profit Account | many2one | added by France - Accounting ( |
| l10n_fr_siren | L10N Fr Siren | char | related: added by France - Accounting ( |
| l10n_fr_siret | L10N Fr Siret | char | related: added by France - Accounting ( |
| lc_journal_id | Lc Journal | many2one | added by WMS Landed Costs ( |
| ldaps | LDAP Parameters | one2many | inverse: added by Authentication via LDAP ( |
| leave_timesheet_task_id | Time Off Task | many2one | added by Timesheet when on Time Off ( |
| link_qr_code | Display Link QR-code | boolean | added by Invoicing ( |
| logo | Company Logo | binary | related: |
| logo_web | Logo Web | binary | computed, stored |
| lunch_minimum_threshold | Lunch Minimum Threshold | float | added by Lunch ( |
| lunch_notify_message | Lunch Notify Message | html | translatable added by Lunch ( |
| multi_vat_foreign_country_ids | Foreign Tax ID countries Countries for which the company has a Tax ID | many2many | computed added by Invoicing ( |
| name | Company Name | char | required related: |
| nomenclature_id | Nomenclature | many2one | added by Barcode ( |
| onboarding_payment_module | Onboarding Payment Module | selection | computed Values: added by Payment Engine ( |
| paperformat_id | Paper format | many2one | |
| parent_id | Parent Company | many2one | |
| parent_ids | Parent | many2many | computed |
| parent_path | Parent Path | char | |
| partner_id | Partner | many2one | required |
| partnership_label | Partnership Label Name used to refer to affiliates: partners, members, alumnis, etc... | char | translatable added by Partnership / Membership ( |
| pay_later_label | Pay Later Label The label to be displayed on the payment buttons for 'Pay Later' payment methods. | char | translatable added by Payment Engine ( |
| pay_now_label | Pay Now Label The label to be displayed on the payment buttons for 'Pay Now' payment methods. | char | translatable added by Payment Engine ( |
| payable_account_id | Payable Account | many2one | added by Invoicing ( |
| pdp_authentication_uuid | Authentication IAP UUID | char | added by France - E-Invoicing (Approved Platform) ( |
| pdp_identifier | Pdp Identifier | char | computed added by France - E-Invoicing (Approved Platform) ( |
| pdp_kyc_status | Pdp Kyc Status | selection | Values: added by France - E-Invoicing (Approved Platform) ( |
| peppol_can_send | Peppol Can Send | boolean | computed added by Peppol ( |
| peppol_external_provider | Peppol External Provider | char | added by Peppol ( |
| peppol_metadata | Peppol Metadata | json | added by Peppol ( |
| peppol_metadata_updated_at | Peppol meta updated at | datetime | added by Peppol ( |
| peppol_parent_company_id | Peppol Parent Company | many2one | computed added by Peppol ( |
| peppol_purchase_journal_id | Peppol Purchase Journal | many2one | computed, stored added by Peppol ( |
| phone | Phone | char | related: |
| picking_policy | Picking Policy | selection | required Values: added by Inventory ( |
| po_double_validation | Levels of Approvals Provide a double validation mechanism for purchases | selection | Values: added by Purchase ( |
| po_double_validation_amount | Double validation amount Minimum amount for which a double validation is required | monetary | added by Purchase ( |
| po_lock | Purchase Order Modification Purchase Order Modification used when you want to purchase order editable after confirm | selection | Values: added by Purchase ( |
| point_of_sale_ticket_portal_url_display_mode | Print Choose how the URL to the portal will be print on the receipt. | selection | required Values: added by Point of Sale ( |
| point_of_sale_ticket_unique_code | Generate 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_update_stock_quantities | Update 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: added by PoS - Stock ( |
| point_of_sale_use_ticket_qr_code | Self-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 ( |
| portal_confirmation_pay | Online Payment | boolean | added by Sales ( |
| portal_confirmation_sign | Online Signature | boolean | added by Sales ( |
| prepayment_percent | Prepayment The percentage of the amount needed to be paid to confirm quotations. | float | added by Sales ( |
| price_difference_account_id | Price Difference Account During perpetual valuation, this account will hold the price difference between the standard price and the bill price. | many2one | added by Invoicing ( |
| primary_color | Primary Color | char | |
| project_time_mode_id | Project 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→ uom.uom | added by Task Logs ( |
| purchase_lock_date | Purchase 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 ( |
| qr_code | Display QR-code on invoices | boolean | computed, stored added by Invoicing ( |
| quick_edit_mode | Quick Edit Mode | selection | Values: added by Invoicing ( |
| quick_edit_mode_enabled | Quick encoding | boolean | added by Invoicing ( |
| quotation_validity_days | Default Quotation Validity Days between quotation proposal and expiration. 0 days means automatic expiration is disabled | integer | added by Sales ( |
| receipt_address | Receipt Address | char | computed added by Point of Sale ( |
| receivable_account_id | Receivable Account | many2one | added by Invoicing ( |
| report_footer | Report Footer Footer text displayed at the bottom of all reports. | html | translatable |
| report_header | Company Tagline Company tagline, which is included in a printed document's header or footer (depending on the selected layout). | html | translatable |
| report_tables_id | Table Design | selection | Values: |
| resource_calendar_id | Default Working Hours | many2one | added by Resource ( |
| resource_calendar_ids | Working Hours | one2many | inverse: added by Resource ( |
| restrictive_audit_trail | Restrictive Audit Trail Enable this option to prevent deletion of journal item related logs | boolean | added by Invoicing ( |
| return_validity_days | Return Validity Days | integer | added by Sales and Warehouse Management ( |
| revenue_accrual_account_id | Revenue Accrual Account Account used to move the period of a revenue | many2one | added by Invoicing ( |
| root_id | Root | many2one | computed |
| routing_endpoint | Routing Endpoint | char | related: added by Import/Export electronic invoices with UBL/CII ( |
| routing_identifier | Routing Identifier | char | related: added by Import/Export electronic invoices with UBL/CII ( |
| routing_scheme | Routing Scheme | selection | related: added by Import/Export electronic invoices with UBL/CII ( |
| sale_automatic_invoice | Automatic Invoicing The invoice is generated automatically and available in the customer portal when the transaction is confirmed by the payment provider. The invoice is marked as paid and the payment is registered in the payment journal defined in the configuration of the payment provider. This mode is advised if you issue the final invoice at the order and not after the delivery. | boolean | added by Sales ( |
| sale_discount_product_id | Discount Product Default product used for discounts | many2one | added by Sales ( |
| sale_invoice_policy | Invoicing Policy | selection | required Values: added by Sales ( |
| sale_lock_date | Sales 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 ( |
| sale_onboarding_payment_method | Sale onboarding selected payment method | selection | Values: added by Sales ( |
| scrap_location_id | Scrap Location | many2one | computed added by Inventory ( |
| secondary_color | Secondary Color | char | |
| security_lead | Sales 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. | integer | required added by Sales and Warehouse Management ( |
| sequence | Sequence Used to order Companies in the company switcher | integer | |
| set_to_review_documents | Review data | boolean | added by Invoicing ( |
| show_sol_numbers | Line Numbers Display line numbers on Sales Orders. | boolean | added by Sales ( |
| single_check_in | Single Check-In Attendance System | boolean | added by Attendances ( |
| sms_provider | SMS Provider | selection | Values: added by Twilio SMS ( |
| sms_twilio_account_sid | Account SID | char | added by Twilio SMS ( |
| sms_twilio_auth_token | Auth Token | char | added by Twilio SMS ( |
| sms_twilio_number_ids | Numbers | one2many | inverse: added by Twilio SMS ( |
| snailmail_color | Snailmail Color | boolean | added by Snail Mail ( |
| snailmail_cover | Add a Cover Page | boolean | added by Snail Mail ( |
| snailmail_duplex | Both sides | boolean | added by Snail Mail ( |
| social_discord | Discord Account | char | added by Social Media ( |
| social_facebook | Facebook Account | char | added by Social Media ( |
| social_github | GitHub Account | char | added by Social Media ( |
| social_instagram | Instagram Account | char | added by Social Media ( |
| social_linkedin | LinkedIn Account | char | added by Social Media ( |
| social_tiktok | TikTok Account | char | added by Social Media ( |
| social_twitter | X Account | char | added by Social Media ( |
| social_youtube | Youtube Account | char | added by Social Media ( |
| state_id | Fed. State | many2one | computed |
| stock_account_production_cost_id | Production Account | many2one | added by Accounting - MRP ( |
| stock_confirmation_type | Stock Confirmation Type | selection | Values: added by Inventory ( |
| stock_mail_confirmation_template_id | Email Template confirmation picking Email sent to the customer once the order is done. | many2one | added by Inventory ( |
| stock_move_email_validation | Email Confirmation picking | boolean | added by Inventory ( |
| stock_sms_confirmation_template_id | SMS Template SMS sent to the customer once the order is delivered. | many2one | added by Stock - SMS ( |
| stock_text_confirmation | Stock Text Confirmation | boolean | added by Inventory ( |
| street | Street | char | computed |
| street2 | Street2 | char | computed |
| subcontracting_location_id | Subcontracting Location | many2one | added by MRP Subcontracting ( |
| tax_calculation_rounding_method | Tax Calculation Rounding Method | selection | Values: added by Invoicing ( |
| tax_cash_basis_journal_id | Cash Basis Journal | many2one | added by Invoicing ( |
| tax_exigibility | Use Cash Basis | boolean | added by Invoicing ( |
| tax_lock_date | Tax 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 ( |
| terms_type | Terms & Conditions format | selection | Values: added by Invoicing ( |
| timesheet_encode_uom_id | Timesheet Encoding Unit | many2one→ uom.uom | added by Task Logs ( |
| transfer_account_code_prefix | Prefix of the transfer accounts | char | added by Invoicing ( |
| transfer_account_id | Inter-Banks Transfer Account Intermediary account used when moving money from a liquidity account to another | many2one | added by Invoicing ( |
| tz | Timezone | selection | computed, stored Values computed at runtime added by Resource ( |
| uninstalled_l10n_module_ids | Uninstalled L10N Module | many2many | computed |
| user_fiscalyear_lock_date | User Fiscalyear Lock Date | date | computed added by Invoicing ( |
| user_hard_lock_date | User Hard Lock Date | date | computed added by Invoicing ( |
| user_ids | Accepted Users | many2many | |
| user_purchase_lock_date | User Purchase Lock Date | date | computed added by Invoicing ( |
| user_sale_lock_date | User Sale Lock Date | date | computed added by Invoicing ( |
| user_tax_lock_date | User Tax Lock Date | date | computed added by Invoicing ( |
| uses_default_logo | Uses Default Logo | boolean | computed, stored |
| vat | Tax ID | char | related: |
| vat_check_vies | Verify VAT Numbers with VIES | boolean | added by Invoicing ( |
| vat_disabled | Not Subject to VAT | boolean | computed, stored added by Invoicing ( |
| vat_disabled_available | 'Not Subject to VAT' Available | boolean | computed added by Invoicing ( |
| website | Website | char | related: |
| website_id | Website | many2one→ website | computed, stored added by Website ( |
| work_permit_expiration_notice_period | Work Permit Expiry Notice Period | integer | added by Employees ( |
| zip | Zip | char | computed |
| has_message | Has Message | boolean | computed inherited from mail.thread |
| message_attachment_count | Attachment Count | integer | computed inherited from mail.thread |
| message_follower_ids | Followers | one2many | inverse: inherited from mail.thread |
| message_has_error | Message Delivery error If checked, some messages have a delivery error. | boolean | computed inherited from mail.thread |
| message_has_error_counter | Number of errors Number of messages with delivery error | integer | computed inherited from mail.thread |
| message_has_sms_error | SMS Delivery error If checked, some messages have a delivery error. | boolean | computed inherited from mail.thread |
| message_ids | Messages | one2many | inverse: inherited from mail.thread |
| message_is_follower | Is Follower | boolean | computed inherited from mail.thread |
| message_needaction | Action Needed If checked, new messages require your attention. | boolean | computed inherited from mail.thread |
| message_needaction_counter | Number of Actions Number of messages requiring action | integer | computed inherited from mail.thread |
| message_partner_ids | Followers (Partners) | many2many | computed inherited from mail.thread |
| rating_ids | Ratings | one2many | inverse: inherited from mail.thread |
| create_date | Created on | datetime | read-onlyautomatic |
| create_uid | Created by | many2one | read-onlyautomatic |
| display_name | Display Name | char | read-onlycomputedautomatic |
| id | ID | integer | read-onlyautomatic |
| write_date | Last Updated on | datetime | read-onlyautomatic |
| write_uid | Last Updated by | many2one | 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_billed_not_received_id, account_bills_to_receive_id, 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_invoiced_not_delivered_id, account_invoices_to_issue_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, cash_rounding_loss_account_id, cash_rounding_profit_account_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, payable_account_id, price_difference_account_id, receivable_account_id, revenue_accrual_account_id, stock_account_production_cost_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, 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.work.entry.type: allowed_work_entry_type_ids, attendance_work_entry_type_id, l10n_fr_reference_work_entry_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
- sms.template: stock_sms_confirmation_template_id
- sms.twilio.number: sms_twilio_number_ids
- stock.location: default_stock_location_id, internal_transit_location_id, scrap_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
Fields of other models pointing here
- account_edi_proxy_client.user: company_id
- account.account: company_ids
- account.accrued.orders.wizard: company_id
- account.analytic.account: company_id
- account.analytic.applicability: company_id
- account.analytic.distribution.model: company_id
- account.analytic.line: company_id
- account.automatic.entry.wizard: company_id
- account.bank.statement: company_id
- account.bank.statement.line: company_id
- account.cash.rounding: company_id
- account.code.mapping: company_id
- account.financial.year.op: company_id
- account.fiscal.position: company_id
- account.fiscal.position.account: company_id
- account.invoice.report: company_id
- account.journal: company_id
- account.lock_exception: company_id
- account.merge.wizard.line: company_ids
- account.move: company_id, journal_company_id
- account.move.line: company_id
- account.move.reversal: company_id
- account.move.send.wizard: company_id
- account.partial.reconcile: company_id
- account.payment: company_id
- account.payment.method.line: company_id
- account.payment.register: company_id
- account.payment.term: company_id
- account.peppol.response: company_id
- account.reconcile.model: company_id
- account.reconcile.model.line: company_id
- account.report.external.value: company_id
- account.sale.closing: company_id
- account.secure.entries.wizard: company_id
- account.setup.bank.manual.config: company_id
- account.tax: company_id
- account.tax.group: company_id
- account.tax.repartition.line: company_id
- account.update.tax.tags.wizard: company_id
- base.document.layout: company_id
- and 170 more
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 -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}'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 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.