Daily updates from Odoo
Wednesday, March 30, 2022
4 changes
Enhancements to existing features
Users assigned as approvers can now see the approval requests they need to review, even without broad approval access rights. Managers can also view requests from their direct reports when manager approval is required, while users with full approval rights continue to see all requests.
Original PR description
In Approvals, if the user is added to an approval request as approver or if an approval requires the manager to approve but the approver or manager hasn't the "Approve all requests" security group, he won't be able to see the request to approve. At the same time, if the user is part of the "Approve all requests" security group, he has access to all requests made and not only the ones where he is an approver. This commit adds the ability for a user to see the requests where he is an approver or the requests of his reports if the approval request requires manager approval. task-2742881
Appointment managers can now see and analyze how attendees answer booking questions, including choice breakdowns and text responses. The setup screens are also clearer, with easier answer editing, ordering, and validation to prevent incomplete choice questions.
Original PR description
PURPOSE This commit adds reporting for answers of questions on appointment types. It also makes the display of these answers cleaner and more efficient on their form. CHANGES The last three changes…
PURPOSE This commit adds reporting for answers of questions on appointment types. It also makes the display of these answers cleaner and more efficient on their form. CHANGES The last three changes mainly concern selectable-answers questions: select, radio, checkbox. 1. Add placeholders to avoid blank fields on the calendar appointment question form, and give insight of different fields. 2. Use o2m instead of m2m for answer_ids Before, the answers were a many2many field on calendar.appointment.question model. However, it did not make much sense to have all existing answers available to choose from. After this commit, the field answer_ids is set as a one2many instead, only containing meaningful answers. The use of a o2m is therefore natural. An exception is raised if no answer is set when using a selection mode (select / radio / checkbox) 3. Better display in back-end The many2many tags in question form is replaced with a editable tree view which makes it simpler to edit, see and remove answers. A field sequence is added to answers in order for them to be sorted with handle widget. In the appointment_type form, the embedded question tree view now displays available answers (in order) with a many2many tags widget. The user do not have to click on it and open the menu to see what available answers there are. 4. Add reporting for answer breakdown In order for the appointment manager to see what the participants answer, this commit adds reporting features for each question, directly accessible via the bar chart icon on the question tree view in appointment type form. - select/radio/checkbox question_type: pivot/graph/tree - char/text question_type: tree To do so, a new model calendar.appointment.answer.input is added, and answers are now added in database. Before, they were only stored as a formatted text: the description of the calendar_event created for the appointment. - select/radio : store id of selected answer - checkbox : create one record per selected answer and store it - text/char : store the text answer --- Links --- Task Id - 2621327 Ent PR - odoo/enterprise#20433 UPG PR - odoo/upgrade#2984
This update refreshes the spreadsheet component used in Documents with recent fixes and usability improvements. Users benefit from more reliable sheet behavior, better formula guidance, improved error tooltip placement, and cleaner rendering for large text and merged cells.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/82a7624a [FIX] formulas: remove trailing chars in DATE args description…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/82a7624a [FIX] formulas: remove trailing chars in DATE args description https://github.com/odoo/o-spreadsheet/commit/41cfb8fb [FIX] sheet: undeterministic sheet id https://github.com/odoo/o-spreadsheet/commit/bc26d9ff [FIX] selection: preserve columns/rows size on moving https://github.com/odoo/o-spreadsheet/commit/fb66021e [IMP] tests: introduce move columns-rows helpers https://github.com/odoo/o-spreadsheet/commit/88d20005 [IMP] composer: changed formula bracket or string highlight color https://github.com/odoo/o-spreadsheet/commit/96bdf7fa [FIX] functions: remove some optional flags https://github.com/odoo/o-spreadsheet/commit/f20b977a [FIX] functions: Split multiple repeatable args everywhere https://github.com/odoo/o-spreadsheet/commit/9e32f9f6 [IMP] functions: Only allow valid function names in registry https://github.com/odoo/o-spreadsheet/commit/657aa592 [FIX] popover: error tooltip position https://github.com/odoo/o-spreadsheet/commit/ddae1e94 [FIX] renderer : number align wrong for big font https://github.com/odoo/o-spreadsheet/commit/9d0252d0 [FIX] renderer : clipping inside merges
Users assigned as approvers can now see the approval requests they need to act on, even without broad approval access. Managers can also view requests from their direct reports when manager approval is required, while users with full approval rights retain wider visibility.
Original PR description
In Approvals, if the user is added to an approval request as approver or if an approval requires the manager to approve but the approver or manager hasn't the "Approve all requests" security group, he won't be able to see the request to approve. At the same time, if the user is part of the "Approve all requests" security group, he has access to all requests made and not only the ones where he is an approver. This commit adds the ability for a user to see the requests where he is an approver or the requests of his reports if the approval request requires manager approval. task-2742881