Skip to content
Snippets Groups Projects
Commit d924d89a authored by Rémy Baranx (bar)'s avatar Rémy Baranx (bar) Committed by Yannick Tivisse
Browse files

[IMP] hr_timesheet: convert onchange to stored-editable computed fields

The fields 'project_id' and 'user_id' have been converted to
stored-editable computed fields.

Convert the 'allow_timesheets' field.

Improvement of the _compute_task_id method to check the task_id field before using it.

Update hr_timesheet tests by removing calls to onchange methods because
now, compute methods are always called.

Get back the onchange on the 'project_id' to compute the task_id field due to a complex
bug found in sale_timesheet tests.
parent 0d327e2d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment