Tuesday, August 23, 2022
11 changes
Enhancements to existing features
Computed and related fields in Documents and Mail Enterprise are now automatically treated as read-only. This reduces the chance of accidental edits to values that are meant to be generated by the system, improving data consistency with minimal user-facing disruption.
Original PR description
Automatically add readonly on computed and related fields. This commit required to rewrite some preexisting fields to make them readonly. \* = documents Task-2955927. Community: https://github.com/odoo/odoo/pull/98541
This update removes an outdated configuration hook from the Point of Sale enterprise module. The related setup logic now lives in the general settings area, reducing duplicate code and helping keep future maintenance simpler.
Original PR description
Purpose ======= The logic has been moved from the pos.config to the res.config.settings model/views, and therefore this js_class is not used anymore. TaskID: 2958057
Signature request emails now direct replies to the person who sent the request. This helps keep follow-up questions or confirmations from recipients visible to the responsible person instead of being lost.
Original PR description
Currently in sign, when emails for a sign request are sent, no reply_to param is set on the mail.mail record. So if someone replies to the email, it will end nowhere. This commit adds the email of the person who requested the signature, so that if anyone replies to the email, the responsible person will receive it and will be able to continue the conversation. task-2702011
The Knowledge app invite area is now fully clickable, making it easier for users to invite others without needing to click a small target. This improves usability and reduces friction when collaborating on knowledge articles.
Original PR description
To make the whole 'invite' zone clickable, we just need to embed the design divs inside a button and make it look nice. Task-2893088
Resolved issues and error corrections
The recruitment document extraction view has been adjusted so the extract ID is shown in the right place after unused fields are removed from the screen. This prevents confusion for users reviewing applicant extraction details and keeps the recruitment interface consistent.
Original PR description
odoo/odoo#95729 removes the field that are not needed (because of missing groups, etc.) from the view definition, hence the extract ID should be repositioned.
This update adds a missing dependency so the quality work order IoT module is installed and removed in the correct order. It helps prevent system startup or app loading failures when managing related manufacturing IoT features.
Original PR description
The `quality_mrp_workorder_iot` module inherits the `iot.trigger` model, originally defined in the `mrp_workorder_iot` module. However, the module does not depend on the `mrp_workorder_iot` module. This can cause problems (failure to load the registry) after installing the `quality_mrp_workorder_iot` module or uninstalling the `mrp_workorder_iot` module.
The appointment link dropdown now matches the width of the button above it. This creates a cleaner, more consistent scheduling interface and avoids a visual mismatch for users.
Original PR description
The button above the dropdownMenuAppointmentLink has a width of 100px. The dropdown should have the same width too.
Odoo spreadsheet charts can now safely use the “None” legend option. This prevents a crash when users hide chart legends, making spreadsheet chart editing more reliable.
Original PR description
If you insert an odoo chart in a spreadsheet then update its legend option to "None" => boom Task 2955852
The Send & Print flow now links existing EDI attachments instead of recreating them. This prevents duplicate invoice-related files from being added, keeping records cleaner and avoiding confusion for users.
Original PR description
Currently, the EDI attachments *content* is passed to the Send & Print wizard. Then, the wizard re-creates these attachments and link them to itself. At the end of the flow, when clicking 'Send & Print' button on the 'Send & Print' wizard, the attachments of the wizard are copied on the move. Thus, the EDI attachments are duplicated. Passing the ids of the EDI attachments rather than the content solved the issue, since they are simply linked to the wizard, without being re-created. task-2957823 see https://github.com/odoo/odoo/pull/98447
Spreadsheet accounting formulas now correctly return 0 when no account code is provided, instead of accidentally including all accounts. This prevents misleading debit or credit totals when a referenced cell is blank or an empty value is entered.
Original PR description
In a formula `ODOO.DEBIT(<account codes>, 2022)`, if no code is provided
e.g. `ODOO.DEBIT("", 2022)` or `ODOO.DEBIT(A1, 2022)` where A1 is empty
all accounts where taken into account instead of none.
small note on `_search`: in the future, it should always return a Query object
when branch `master-search-query-rco` is merged (didn't find any task or PR to
reference).
(our code isn't robust to overrides in that regards, it should support
non-query return values)
Task 2956954The IoT component now gathers files in a simpler way and compresses the generated package more efficiently. This reduces unnecessary processing and should make the related download or packaging step lighter without changing what users see.
Original PR description
The use doesn't really make sense in the first place, the controller is really just using it as a 2-level listdir. Could probably be a depth-limited `os.walk`, but a 2-level glob seems fine as well. Also lift use of `zipfile` (doesn't seem necessary to iterate twice on every entry), and set it as compressed as all the content is text files, seems dumb to just STORE as-is. Related to odoo/odoo#98034