Daily updates from Odoo
Thursday, December 5, 2024
10 changes · master
Enhancements to existing features
GSTR-2B reconciliation now also checks the place of supply when matching vendor bills, helping ensure the correct GST tax split is used. If the place of supply does not match, users receive a clear warning on the bill so discrepancies can be reviewed before filing.
Original PR description
In GSTR-2B matching, we only match the total amount, not the IGST, CGST, and SGST which could lead to inaccuracy. These taxes depend upon the Place of supply, so this commit adds place of supply in matching, and if the place of supply does not match then an exception message is shown on the bill. task-4343860
Users can now press Ctrl+S while editing a Knowledge article to save their changes directly. This prevents the browser's default page-save prompt and matches the familiar save shortcut used in common text editors.
Original PR description
When the user presses `Ctrl` + `s`, the browser prompts the user to select a directory to save the current page in. Today, most text editors use the `Ctrl` + `s` shortcut to save the current file. This PR will add a new event listener for `Ctrl` + `s` that will prevent the default browser behavior and save the user changes in db. task-4191390
Attendance officers now see only the actions and fields they are allowed to use. This prevents users from trying to edit or save attendance information that would later be blocked by permissions, making the workflow clearer and reducing errors.
Original PR description
Before this commit, when a user has the right office and not manager in attendance; he was able to see some buttons, modify some values but when he tried to access/save it i had a rightissue. To avoid that, these buttons wille be hidden and these fields will be readonly when the user doesn't have enough right. task-4044869
The employee field is now computed based on the actual employee records that exist, making it more reliable for HR-related workflows. This also prevents a crash in Web Studio caused when archiving a partner linked to an active user, improving stability for administrators.
Original PR description
Make the field computed correctly according to the created hr.employee records. This makes the web_studio crash, as archiving a partner linked to an active user is forbidden
Managers can now approve, validate, or refuse time off requests directly from the Gantt view popover. This reduces navigation and makes leave management faster from the planning screen.
Original PR description
This PR, adds Approve, Refuse and Validate button to popover in gantt view. task-3863607
The terminology for International Commercial Terms has been standardized from “Incoterm” to “Incoterms” across affected Odoo business flows. This reduces confusion in labels, reports, data fields, and integrations while aligning the product with the correct international abbreviation.
Original PR description
According to international standars, the abbreviation of 'International Commercial Terms' is INCOTERMS. However, the use of INCOTERM is prevalent in our codebase. This commits fixes it, rewording all references to the correct one. This commit also updates the name of the fields in the models to avoid future confusion about the correct abbreviation. task: 3983531 COM-PR: https://github.com/odoo/odoo/pull/189030 UPG-PR: https://github.com/odoo/upgrade/pull/6847
Field service projects now automatically use the most appropriate existing task stages, improving consistency across teams. If no suitable stages exist, default stages are created and applied, and stages added from the dedicated menu are shared with all field service projects.
Original PR description
This commit enhances consistency for field service projects by: - Automatically link 'fsm' projects to the existing stages with lowest sequence. - Default create stages and set that stages if there is no existing stages. - If new stages created from the dedicated menu will be automatically applied to all field service projects. task-3898200
Payroll slip numbering has been removed so payslips rely on existing names and accounting/payment references instead. This reduces duplicate identifiers and keeps payroll, payment, reporting, and localization workflows aligned with a simpler payslip record structure.
The employee referral screens have been reorganized to make rewards and related information easier to understand and use. Empty screen messages were also improved so users get clearer guidance when no records are available.
Original PR description
With this commit, reward's view is reorganized to be more user friendly. Some empty screen message have been fixed. task-4005202
Belgian payroll now supports enforcing the rule that employees cannot take two consecutive sick leaves without a medical certificate. A new leave type and configuration option help HR teams identify non-certified sick days and ensure there is at least one working day between them.
Original PR description
In Belgium, it is not legal to take two consecutive sick leaves without certificate. For the leaves not to be considered consecutive there should be at least one working day between them, and so public holidays and non-working days would not be considered. This commit adds an option to manage consecutive leaves and adds a leave type for sick days without certificate so that this rule could be enforced. task-4213253