Timesheet Start Time to Timesheet Start Date

This commit is contained in:
shubham 2025-06-11 12:42:12 +05:30
parent c3e53ceb6c
commit c6e5160cf9
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class ProjectRevenueCustomReport3(models.Model):
('hours_no_limit', 'Total hours are budgeted without division to consultant'),
], string="Project Type", readonly=True)
employee_id = fields.Many2one('hr.employee', string='Consultant', readonly=True)
timesheet_sdatetime = fields.Datetime(string='Timesheet Start Time', readonly=True)
timesheet_sdatetime = fields.Date(string='Timesheet Start Date', readonly=True)
unit_amount = fields.Float('Timesheet Hours', digits=(16, 2))
timesheet_cost = fields.Float('Hourly Cost', digits=(16, 2))
profit_per = fields.Float(string='Profit (%)', digits=(16, 2))

View File

@ -19,6 +19,7 @@
<field name="profit_per" type="measure"/>
<field name="unit_amount" widget="float_time" type="measure"/>
<field name="timesheet_cost" type="measure"/>
</pivot>
</field>
</record>