Attachment Base Synchronize

attachment_base_synchronize
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/11.0/attachment_base_synchronize
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSHolger Brunn, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_attachment_improved_form ir.attachment.metadata xpath Inherits base.view_attachment_form
view_external_attachment_search ir.attachment.metadata search New
view_external_attachment_tree ir.attachment.metadata tree New
Models touched (1)

New fields (7)
  • attachment_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • external_hash Char
    help='File hash comes from the external owner of the file.\nIf provided allow to check than downloaded file is the exact copy of the original file.'
  • file_type Selection
    help='The file type determines an import method to be used to parse and transform data before their import in ERP or an export' selection=[]
  • internal_hash Char
    compute='_compute_hash' help='File hash computed with file data to be compared to external hash when provided.' store=True
  • state Selection
    default='pending' readonly=False required=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')]
  • state_message Text
  • sync_date Datetime
Public methods (3)
  • run(self)
    @api.multi
    Run the process for each attachment metadata
  • run_attachment_metadata_scheduler(self, domain=None)
    @api.model
  • set_done(self)
    @api.multi
    Manually set to done
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/attachment_base_synchronize
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, Florian da Costa, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_attachment_improved_form ir.attachment.metadata xpath Inherits base.view_attachment_form
view_external_attachment_search ir.attachment.metadata search New
view_external_attachment_tree ir.attachment.metadata tree New
Models touched (0)

No models found for this module.

REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/attachment_base_synchronize
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE), Angel Moya, OCA Transbot, Florian da Costa, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_attachment_improved_form ir.attachment.metadata xpath Inherits base.view_attachment_form
view_external_attachment_search ir.attachment.metadata search New
view_external_attachment_tree ir.attachment.metadata tree New
Models touched (0)

No models found for this module.