Initial commit

This commit is contained in:
gsinghpal
2026-02-22 01:22:18 -05:00
commit 5200d5baf0
2394 changed files with 386834 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Fusion Accounting - Accounting Report Download Action
# Technical abstract model exposing the 'data' field for report downloads
from odoo import models
class FusionReportDownloadAction(models.AbstractModel):
"""Abstract model that extends the readable field set of
``ir.actions.actions`` to include 'data', enabling the
accounting report download mechanism."""
_name = 'ir_actions_account_report_download'
_description = 'Technical model for accounting report downloads'
def _get_readable_fields(self):
"""Merge the standard readable fields with the 'data' key
required by the report export controller."""
return self.env['ir.actions.actions']._get_readable_fields() | {'data'}