mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-22 19:02:10 +02:00
Initial commit: Accounting packages
This commit is contained in:
commit
4ef34c2317
2661 changed files with 1709616 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# -*- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue