Main Menu
Browse / Odoo Quick Reference Guide
Odoo Quick Reference Guide
Your handy companion for navigating and developing within the Odoo ERP framework, covering core concepts, shortcuts, ORM, and view basics.
Odoo Essentials & Development
Basic Navigation & UI
|
|
Access different Odoo Apps (Sales, Inventory, etc.) via the top-left icon. |
|
Breadcrumbs |
Track your navigation path, located below the main menu. |
|
Views (Kanban, List, Form) |
Switch between data representations using icons in the top-right (below search). |
|
Search Bar |
Perform quick searches across records. Use facets for advanced filtering. |
|
Filters & Group By |
Refine record lists using predefined or custom filters and grouping options. |
|
Pager |
Navigate through multiple pages of records in List view. |
|
User Menu |
Access Preferences, Documentation, Shortcuts, Log out (top-right corner). |
|
Create Button |
Initiate the creation of a new record in the current model. |
|
Form View Buttons |
|
Keyboard Shortcuts (General)
|
|
Create a new record. |
|
|
Save the current record (Form View). |
|
|
Navigate to the next record. |
|
|
Navigate to the previous record. |
|
|
Discard changes (Form View). |
|
|
Switch to Edit mode (Form View). |
|
|
Open View Switcher. |
|
|
Toggle the Debug Mode (if activated). |
|
|
Open Pager options. |
|
|
Open Filters menu. |
Common Odoo Models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Developer Mode
|
Activation: |
|
With Assets: Reloads frontend assets (JS, CSS). Slower. |
|
Without Assets: Faster activation, doesn’t reload assets. |
|
URL Activation: Append |
|
Debug Menu: Appears as a bug icon in the top menu bar. |
|
Features:
|
|
View Metadata: Open a record or view, click the Debug Menu -> |
|
Technical Menu: |
|
Deactivation: Click the Debug Menu -> |
Basic ORM Methods
|
|
|
Access the environment for a specific model. |
|
|
|
Find records matching the domain (list of tuples). Returns a recordset. |
|
|
|
Count records matching the domain. |
|
|
|
Get a recordset from a list or tuple of IDs. |
|
|
|
Create a new record.
|
|
|
|
Update records in the recordset. |
|
|
|
Delete records in the recordset. |
|
|
|
Read specific fields for records in the recordset. Returns a list of dictionaries. |
|
|
|
Filter a recordset based on a Python function. |
|
|
|
Extract values of a specific field from a recordset. |
XML View Basics
|
Basic Structure:
|
|
Common View Types: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes: |
Odoo Server Commands (CLI)
|
|
|
Start Odoo server using a configuration file. |
|
|
|
Specify comma-separated paths to addon directories. |
|
|
|
Specify the database to use. |
|
|
|
Install a module. Requires |
|
|
|
Update a module. Requires |
|
|
|
Install/Update all modules found in the addons path. |
|
|
|
Stop the server after initialization/update is complete. |
|
|
|
Specify the XML-RPC port (default: 8069). |
|
|
|
Set the logging level (e.g., |
|
|
|
Run tests after module installation/update. |
Search Domain Syntax
|
Format |
List of tuples: |
|
|
Equals |
|
|
Not Equals |
|
|
Greater than |
|
|
Greater than or Equal to |
|
|
Less than |
|
|
Less than or Equal to |
|
|
Value is in a list. |
|
|
Value is not in a list. |
|
|
Case-insensitive ‘like’. Use |
|
|
Case-sensitive ‘like’. |
|
|
For hierarchical relationships (parent/child). |
|
Logical Operators |
Default is AND ( |
Module Structure (`__manifest__.py`)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic Field Types (Models)
|
|
|
String field. |
|
|
|
Multi-line text field. |
|
|
|
HTML formatted text field. |
|
|
|
Integer number field. |
|
|
|
Floating-point number field. |
|
|
|
True/False field. |
|
|
|
Date field. |
|
|
|
Date and Time field. |
|
|
|
Dropdown selection list. Requires a list of tuples |
|
|
|
Link to another model (foreign key). Requires |
|
|
|
Inverse relationship for a Many2one. Requires |
|
|
|
Many-to-many relationship. Requires |