Tuesday, March 31, 2020
3 changes · master
Resolved issues and error corrections
Timesheet entries now receive a default description automatically in the shared timesheet app rather than only in the enterprise grid view. This prevents required-description issues for users working with standard timesheets and keeps behavior consistent across editions.
Original PR description
Currently the code for default name is inside the timesheet_grid so on community the name(description) of the analytic line is required. so move that default name code from timesheet_grid to hr_timesheet. TaskID: 2176065 Closes: #9561
Deleting a file attachment now also removes the related document record instead of leaving behind an empty document request. This keeps the Documents workspace cleaner and avoids confusing leftover entries for users.
Original PR description
This commit adds an `ondelete='cascade'` to the `attachment_id` field of `documents.document`. Before this commit, when the attachment of a document was unlinked, the document turned into a document of type `empty` (document request), the correct behaviour is to unlink the document with its attachment. opw-2191553
Web Studio now correctly handles field subtype selection for newer field components. This prevents configuration issues when editing views or reports as the platform adopts updated field technology.
Original PR description
The commit 2856c55 adds new AbstractField class written in owl, it breaks the selection of fields' sub types. This commit fixes this issue. Community PR: https://github.com/odoo/odoo/pull/44267