Tuesday, December 30, 2025
2 changes · master
Resolved issues and error corrections
This update ensures that all work entries are consistently set to 'draft' status when the 'action_set_to_draft' function is used. Previously, this function didn't always work correctly, leading to inconsistencies in the system. This change improves data accuracy and streamlines payroll processing.
Original PR description
Problem ---------- the `action_set_to_draft` should set any work entry to draft regardless of the situation. Solution ---------- If only the state is write to draft, let the whole vals be written task-5410512 Forward-Port-Of: odoo/enterprise#102944 Forward-Port-Of: odoo/enterprise#101891
This update allows accountants to archive reports, streamlining their workflow. Previously, access restrictions prevented them from archiving, leading to a user access error. This change resolves the issue and provides accountants with a new archiving function.
Original PR description
As a simple accountant without sysadmin rights, archive a report. A user access is raised because the user doesn't have access to update menuitems. Forward-Port-Of: odoo/enterprise#102276