Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1693 Zobrazení

Hello Everyone,

               I am trying to total the hours posted in hr_timesheet_sheet (timesheet) to each Project and trying to show the same quantity in Project screen (project_project) as consumed hours. The hours calculation is happening and value is updating in the database table.

But when we open the Project in Form View, the consumed hours is resetting to zero and even the database column is resetting to zero.

Please help me to overcome this issue?
Avatar
Zrušit
Nejlepší odpověď

Hi,

Could you share the your codes?

For your case,  I think you will need to have a Many2one field in the timesheet model and overriding the write and create methods.

Best regards,

Tim

Avatar
Zrušit