[ADD]timesheet_timesheet_analysis_report

This commit is contained in:
2025-01-20 14:59:27 +01:00
parent fd45cf17a2
commit ec7c402a26
5 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1 @@
from . import timesheet_analysis_report

View File

@@ -0,0 +1,12 @@
from odoo import fields, models, api
class TimesheetsAnalysisReport(models.Model):
_inherit = "timesheets.analysis.report"
timesheet_id = fields.Many2one("account.analytic.line", string="Timesheet", readonly=True, help="Feuille de temps")
@api.model
def _select(self):
return super()._select() + """,
A.id AS timesheet_id
"""