Skip to Content
Odoo model · Enterprise

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.

  1. Odoo 16 not covered
  2. Odoo 17 not covered
  3. Odoo 18 documents
  4. Odoo 19 documents
  5. 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.

Odoo 17 to 18

Community only All changes in this step

Not covered: this step compares Community modules only and this model belongs to an Enterprise module.

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields removed (4)

FieldTypeModuleNotes
is_lockedbooleandocuments
is_pinned_folderbooleandocuments
project_idmany2onedocuments_project
task_idmany2onedocuments_project

Fields added (9)

FieldTypeModule
ai_document_or_env_company_idmany2oneai_documents_account
ai_sort_prompthtmlai_documents
ai_sortablebooleanai_documents
ai_to_sortbooleanai_documents
mail_alias_domain_countintegerdocuments
sequenceintegerdocuments
shortcut_document_owner_idmany2onedocuments
user_can_movebooleandocuments
user_folder_idchardocuments

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

Odoo 19 to 20

Community + Enterprise All changes in this step

Fields removed (2)

FieldTypeModuleNotes
datasbinarydocuments
document_countintegerdocuments_fsmIts module (documents_fsm) is not in Odoo 20: removed, renamed or merged into another module.

Fields added (9)

FieldTypeModule
account_setting_idsone2manydocuments_account
ai_context_message_idmany2oneai_documents
ai_sources_idsone2manyai_documents_source
is_company_allowedbooleandocuments
is_folderbooleandocuments
is_protectedbooleandocuments
is_shared_externallybooleandocuments_spreadsheet
spreadsheet_image_idsmany2manydocuments_spreadsheet
user_rootselectiondocuments

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
FieldTypeLabelModule1617181920
access_idsone2many documents.accessAllowed AccessdocumentsE
access_internalselectionInternal Users RightsdocumentsE
access_tokenchardocumentsE
access_urlcharAccess urldocumentsE
account_setting_idsone2many documents.account.folder.settingdocuments_accountE
activebooleanActivedocumentsE
ai_context_message_idmany2one mail.messageai_documentsE
ai_document_or_env_company_idmany2one res.companyAI Companyai_documents_accountE
ai_sort_prompthtmlAI Folder Sort Promptai_documentsE
ai_sortablebooleanAI Sortableai_documentsE
ai_sources_idsone2many ai.agent.sourceAI Agent Sourcesai_documents_sourceE
ai_to_sortbooleanAI To Sortai_documentsE
alias_tag_idsmany2many documents.tagAlias TagsdocumentsE
attachment_idmany2one ir.attachmentdocumentsE
attachment_namecharAttachment NamedocumentsE
attachment_typeselectionAttachment TypedocumentsE
available_embedded_actions_idsmany2many ir.embedded.actionsdocumentsE
checksumchardocumentsE
children_idsone2many documents.documentdocumentsE
company_idmany2one res.companyCompanydocumentsE
create_activity_date_deadline_rangeintegerDue Date IndocumentsE
create_activity_date_deadline_range_typeselectionDue typedocumentsE
create_activity_notehtmlNotedocumentsE
create_activity_optionbooleanCreate a new activitydocumentsE
create_activity_summarycharSummarydocumentsE
create_activity_type_idmany2one mail.activity.typeActivity typedocumentsE
create_activity_user_idmany2one res.usersResponsibledocumentsE
datasbinarydocumentsE
deletion_delayintegerDeletion delaydocumentsE
descriptiontextAttachment DescriptiondocumentsE
document_countintegerDocument Countdocuments_fsmE
document_tokenchardocumentsE
excel_exportbinarydocuments_spreadsheetE
favorited_idsmany2many res.usersFavorite ofdocumentsE
file_extensioncharFile ExtensiondocumentsE
file_sizeintegerdocumentsE
folder_idmany2one documents.documentFolderdocumentsE
handlerselectiondocuments_spreadsheetE
has_embedded_pdfbooleanHas Embedded PDFdocuments_accountE
index_contenttextdocumentsE
is_company_allowedbooleanIs Company AlloweddocumentsE
is_editable_attachmentbooleandocumentsE
is_favoritedbooleandocumentsE
is_folderbooleandocumentsE
is_lockedbooleanLockeddocumentsE
is_multipagebooleanIs considered multipagedocumentsE
is_pinned_folderbooleanPinned to Company rootsdocumentsE
is_protectedbooleanProtecteddocumentsE
is_shared_externallybooleanShared Externallydocuments_spreadsheetE
last_access_date_groupselectionLast Accessed OndocumentsE
lock_uidmany2one res.usersLocked bydocumentsE
mail_alias_domain_countintegerMail Alias Domain CountdocumentsE
mimetypechardocumentsE
namecharNamedocumentsE
owner_idmany2one res.usersOwnerdocumentsE
parent_pathchardocumentsE
partner_idmany2one res.partnerContactdocumentsE
previous_attachment_idsmany2many ir.attachmentHistorydocumentsE
product_idmany2one product.productProduct Variantdocuments_productE
product_template_idmany2one product.templateProductdocuments_productE
project_idmany2one project.projectdocuments_projectE
project_idsone2many project.projectProjectsdocuments_projectE
rawbinarydocumentsE
request_activity_idmany2one mail.activitydocumentsE
requestee_partner_idmany2one res.partnerdocumentsE
res_idmany2one_referenceResource IDdocumentsE
res_modelcharResource ModeldocumentsE
res_model_namechardocumentsE
res_namecharResource NamedocumentsE
sequenceintegerSequencedocumentsE
shortcut_document_idmany2one documents.documentSource DocumentdocumentsE
shortcut_document_owner_idmany2one res.usersSource Document OwnerdocumentsE
shortcut_idsone2many documents.documentdocumentsE
spreadsheet_binary_databinarydocuments_spreadsheetE
spreadsheet_image_idsmany2manydocuments_spreadsheetE
spreadsheet_thumbnail_checksumchardocuments_spreadsheetE
tag_idsmany2many documents.tagTagsdocumentsE
task_idmany2one project.taskdocuments_projectE
thumbnailbinarydocumentsE
thumbnail_statusselectiondocumentsE
typeselectionTypedocumentsE
urlcharLink URLdocumentsE
url_preview_imagecharURL Preview ImagedocumentsE
user_can_movebooleanCan move itdocumentsE
user_folder_idcharParentdocumentsE
user_permissionselectionUser permissiondocumentsE
user_rootselectionUser RootdocumentsE
website_idmany2one websitewebsite_documentsE
Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.