[ADD]timesheet_timesheet_analysis_report
This commit is contained in:
1
timesheet_timesheet_analysis_report/models/__init__.py
Normal file
1
timesheet_timesheet_analysis_report/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import timesheet_analysis_report
|
@@ -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
|
||||
"""
|
Reference in New Issue
Block a user