mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-18 06:02:02 +02:00
15 lines
544 B
Python
15 lines
544 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import models, api
|
|
|
|
class IrAttachment(models.Model):
|
|
_inherit = 'ir.attachment'
|
|
|
|
# -------------------------------------------------------------------------
|
|
# XSD validation
|
|
# -------------------------------------------------------------------------
|
|
|
|
@api.model
|
|
def action_download_xsd_files(self):
|
|
# To be extended by localisations, where they can download their necessary XSD files
|
|
# Note: they should always return super().action_download_xsd_files()
|
|
return
|