documents.document
Document. Defined in module documents; exists in Odoo 18, 19, 20. Across the upgrade steps we tracked: 18 fields added, 6 removed, 0 renamed.
AI extensions for documents, enabling automated document sorting into folders using AI-powered classification based on folder-specific prompts.
- Odoo 16 not covered
- Odoo 17 not covered
- Odoo 18 documents
- Odoo 19 documents
- Odoo 20 documents
This is an Enterprise model: Odoo 16 and 17 Enterprise sources are not part of the data, so those versions show as not covered.
Not covered: this step compares Community modules only and this model belongs to an Enterprise module.
Fields removed (4)
| Field | Type | Module | Notes |
|---|---|---|---|
| is_locked | boolean | documents | |
| is_pinned_folder | boolean | documents | |
| project_id | many2one | documents_project | |
| task_id | many2one | documents_project |
Fields added (9)
| Field | Type | Module |
|---|---|---|
| ai_document_or_env_company_id | many2one | ai_documents_account |
| ai_sort_prompt | html | ai_documents |
| ai_sortable | boolean | ai_documents |
| ai_to_sort | boolean | ai_documents |
| mail_alias_domain_count | integer | documents |
| sequence | integer | documents |
| shortcut_document_owner_id | many2one | documents |
| user_can_move | boolean | documents |
| user_folder_id | char | documents |
No longer inherits mail.alias.mixin.
4 views of this model removed
- documents.document_view_form
- documents.document_view_form_details
- documents_project.document_view_search_inherit
- website_documents.document_view_form
31 actions on this model removed
- documents.ir_actions_server_create_activity
- documents.ir_actions_server_remove_activities
- documents.ir_actions_server_remove_tags
- documents.ir_actions_server_tag_add_bill
- documents.ir_actions_server_tag_add_validated
- documents.ir_actions_server_tag_remove_inbox
- documents.ir_actions_server_tag_remove_to_validate
- documents_fleet.ir_actions_server_link_to_vehicule
- documents_hr_recruitment.ir_actions_server_create_hr_candidate
- documents_product.ir_actions_server_create_product_template
- documents_project.action_view_documents_project_project
- documents_project.action_view_documents_project_task
- documents_project.ir_actions_server_ask_for_validation
- documents_project.ir_actions_server_ask_for_validation_code
- documents_project.ir_actions_server_ask_validate
- documents_project.ir_actions_server_create_a_task_code
- documents_project.ir_actions_server_create_project_deprecate
- documents_project.ir_actions_server_create_project_task
- documents_project.ir_actions_server_deprecate_code
- documents_project.ir_actions_server_mark_as_draft
- documents_project.ir_actions_server_mark_as_draft_code
- documents_project.ir_actions_server_tag_add_deprecated
- documents_project.ir_actions_server_tag_add_draft
- documents_project.ir_actions_server_tag_add_to_validate
- documents_project.ir_actions_server_tag_add_validated
- documents_project.ir_actions_server_tag_remove_deprecated
- documents_project.ir_actions_server_tag_remove_draft
- documents_project.ir_actions_server_tag_remove_to_validate
- documents_project.ir_actions_server_tag_remove_validated
- documents_project.ir_actions_server_validate_code
- documents_sign.ir_actions_server_create_sign_template_direct_create
Fields removed (2)
| Field | Type | Module | Notes |
|---|---|---|---|
| datas | binary | documents | |
| document_count | integer | documents_fsm | Its module (documents_fsm) is not in Odoo 20: removed, renamed or merged into another module. |
Fields added (9)
| Field | Type | Module |
|---|---|---|
| account_setting_ids | one2many | documents_account |
| ai_context_message_id | many2one | ai_documents |
| ai_sources_ids | one2many | ai_documents_source |
| is_company_allowed | boolean | documents |
| is_folder | boolean | documents |
| is_protected | boolean | documents |
| is_shared_externally | boolean | documents_spreadsheet |
| spreadsheet_image_ids | many2many | documents_spreadsheet |
| user_root | selection | documents |
Now also inherits ai.embedding.mixin (fields from these parents are listed on their own pages).
No longer inherits mail.thread.cc.
9 actions on this model removed
- ai_documents.ir_actions_server_rename_documents
- documents_account.ir_actions_server_bank_statement_move
- documents_account.ir_actions_server_create_credit_note_move
- documents_account.ir_actions_server_create_customer_invoice_move
- documents_account.ir_actions_server_create_misc_entry_move
- documents_account.ir_actions_server_create_vendor_bill_move
- documents_account.ir_actions_server_create_vendor_receipt
- documents_account.ir_actions_server_create_vendor_refund_move
- documents_sign.ir_actions_server_create_sign_template_direct_code
All fields declared on documents.document (90)
Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.
present not present not covered (Enterprise, Odoo 16 and 17)
Show all 90 fields
| Field | Type | Label | Module | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|
| access_ids | one2many documents.access | Allowed Access | documentsE | |||||
| access_internal | selection | Internal Users Rights | documentsE | |||||
| access_token | char | documentsE | ||||||
| access_url | char | Access url | documentsE | |||||
| access_via_link | selection | Link Access Rights | documentsE | |||||
| account_setting_ids | one2many documents.account.folder.setting | documents_accountE | ||||||
| active | boolean | Active | documentsE | |||||
| ai_context_message_id | many2one mail.message | ai_documentsE | ||||||
| ai_document_or_env_company_id | many2one res.company | AI Company | ai_documents_accountE | |||||
| ai_sort_prompt | html | AI Folder Sort Prompt | ai_documentsE | |||||
| ai_sortable | boolean | AI Sortable | ai_documentsE | |||||
| ai_sources_ids | one2many ai.agent.source | AI Agent Sources | ai_documents_sourceE | |||||
| ai_to_sort | boolean | AI To Sort | ai_documentsE | |||||
| alias_tag_ids | many2many documents.tag | Alias Tags | documentsE | |||||
| attachment_id | many2one ir.attachment | documentsE | ||||||
| attachment_name | char | Attachment Name | documentsE | |||||
| attachment_type | selection | Attachment Type | documentsE | |||||
| available_embedded_actions_ids | many2many ir.embedded.actions | documentsE | ||||||
| checksum | char | documentsE | ||||||
| children_ids | one2many documents.document | documentsE | ||||||
| company_id | many2one res.company | Company | documentsE | |||||
| create_activity_date_deadline_range | integer | Due Date In | documentsE | |||||
| create_activity_date_deadline_range_type | selection | Due type | documentsE | |||||
| create_activity_note | html | Note | documentsE | |||||
| create_activity_option | boolean | Create a new activity | documentsE | |||||
| create_activity_summary | char | Summary | documentsE | |||||
| create_activity_type_id | many2one mail.activity.type | Activity type | documentsE | |||||
| create_activity_user_id | many2one res.users | Responsible | documentsE | |||||
| datas | binary | documentsE | ||||||
| deletion_delay | integer | Deletion delay | documentsE | |||||
| description | text | Attachment Description | documentsE | |||||
| document_count | integer | Document Count | documents_fsmE | |||||
| document_token | char | documentsE | ||||||
| excel_export | binary | documents_spreadsheetE | ||||||
| favorited_ids | many2many res.users | Favorite of | documentsE | |||||
| file_extension | char | File Extension | documentsE | |||||
| file_size | integer | documentsE | ||||||
| folder_id | many2one documents.document | Folder | documentsE | |||||
| handler | selection | documents_spreadsheetE | ||||||
| has_embedded_pdf | boolean | Has Embedded PDF | documents_accountE | |||||
| index_content | text | documentsE | ||||||
| is_company_allowed | boolean | Is Company Allowed | documentsE | |||||
| is_editable_attachment | boolean | documentsE | ||||||
| is_favorited | boolean | documentsE | ||||||
| is_folder | boolean | documentsE | ||||||
| is_locked | boolean | Locked | documentsE | |||||
| is_multipage | boolean | Is considered multipage | documentsE | |||||
| is_pinned_folder | boolean | Pinned to Company roots | documentsE | |||||
| is_protected | boolean | Protected | documentsE | |||||
| is_shared_externally | boolean | Shared Externally | documents_spreadsheetE | |||||
| last_access_date_group | selection | Last Accessed On | documentsE | |||||
| lock_uid | many2one res.users | Locked by | documentsE | |||||
| mail_alias_domain_count | integer | Mail Alias Domain Count | documentsE | |||||
| mimetype | char | documentsE | ||||||
| name | char | Name | documentsE | |||||
| owner_id | many2one res.users | Owner | documentsE | |||||
| parent_path | char | documentsE | ||||||
| partner_id | many2one res.partner | Contact | documentsE | |||||
| previous_attachment_ids | many2many ir.attachment | History | documentsE | |||||
| product_id | many2one product.product | Product Variant | documents_productE | |||||
| product_template_id | many2one product.template | Product | documents_productE | |||||
| project_id | many2one project.project | documents_projectE | ||||||
| project_ids | one2many project.project | Projects | documents_projectE | |||||
| raw | binary | documentsE | ||||||
| request_activity_id | many2one mail.activity | documentsE | ||||||
| requestee_partner_id | many2one res.partner | documentsE | ||||||
| res_id | many2one_reference | Resource ID | documentsE | |||||
| res_model | char | Resource Model | documentsE | |||||
| res_model_name | char | documentsE | ||||||
| res_name | char | Resource Name | documentsE | |||||
| sequence | integer | Sequence | documentsE | |||||
| shortcut_document_id | many2one documents.document | Source Document | documentsE | |||||
| shortcut_document_owner_id | many2one res.users | Source Document Owner | documentsE | |||||
| shortcut_ids | one2many documents.document | documentsE | ||||||
| spreadsheet_binary_data | binary | documents_spreadsheetE | ||||||
| spreadsheet_image_ids | many2many | documents_spreadsheetE | ||||||
| spreadsheet_thumbnail_checksum | char | documents_spreadsheetE | ||||||
| tag_ids | many2many documents.tag | Tags | documentsE | |||||
| task_id | many2one project.task | documents_projectE | ||||||
| thumbnail | binary | documentsE | ||||||
| thumbnail_status | selection | documentsE | ||||||
| type | selection | Type | documentsE | |||||
| url | char | Link URL | documentsE | |||||
| url_preview_image | char | URL Preview Image | documentsE | |||||
| user_can_move | boolean | Can move it | documentsE | |||||
| user_folder_id | char | Parent | documentsE | |||||
| user_permission | selection | User permission | documentsE | |||||
| user_root | selection | User Root | documentsE | |||||
| website_id | many2one website | website_documentsE |