Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules
Folder size
0.87 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 07:24:58
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Holger Brunn, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Tom Blauwendraat
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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

No HTTP endpoints found for this module.

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

Loading…

Loading…