Tuesday, August 23, 2022
7 changes
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