Daily updates from Odoo
Wednesday, November 27, 2024
16 changes
Enhancements to existing features
Recruitment offers will now move to a cancelled state when the related signature request is cancelled. This keeps offer statuses accurate for HR teams and adds a note in the chatter log so users can see why the offer changed.
Original PR description
If a requested signature is cancelled, it does not change the status of the offers to "Cancelled." after this PR, a "Cancelled" state for recruitment offers is added Cancelling a requested signature will now update the offers to the "Canceled" state and display a message in the chatter log. task-4232021
Payroll localization modules now show the relevant country flag, making it easier for users to identify country-specific payroll features. This improves clarity when browsing or managing payroll-related apps across multiple countries.
Original PR description
* = l10n_{ae, au, bd, be, ch, eg, fr, hk, id, in, jo, ke, lt, lu, ma, mx, nl, pk, pl, ro, sa sk, tr, us}_hr_payroll_account, l10n_be_hr_payroll_{attendance, fleet}
With this commit, the country flag will be shown for module related to the payroll localization
task-4351924The Indian payroll contract setup has been adjusted to align with the Indian Employee Pay structure. This helps payroll-related demo and contract data better reflect the expected local payroll format for India.
Original PR description
In this PR the structure of the contract is changed to Indian Employee Pay Task-4250810
Spreadsheet insertion tabs now appear only when the user has the required access rights for the related business records. This reduces confusion and helps ensure users only see options they are allowed to use.
Original PR description
…y tab according access rights With this commit, the tabs in the insertion dialog are only displayed if the user has the necessary access rights per model. Task: 3950489
This update improves internal project scheduling logic to run more efficiently and updates documentation formatting for maintainability. Business users may see slightly smoother performance in project planning views, with no expected workflow changes.
Original PR description
[IMP] project: Perf and Docstrings improvements
Before this commit:
- Docstrings for for move back/for{ward} methods were not following the
correct rST/Sphinx format.
In this commit:
- Docstrings were adapted accordingly.
- Using any instead of not in for better perf.
- Using isdisjoint for sets instead of & for better perf.
task-4150229The IoT long-polling code now uses a built-in browser capability instead of relying on an extra software library. This reduces unnecessary loading in the IoT module and helps keep the code simpler and easier to maintain, with no expected visible change for users.
Original PR description
This commit replaces the use of `$.ajax` by a standard `fetch` and removes the load of jquery from iot.
Odoo can now create a dedicated credit card journal when users add card details manually or connect through a bank. This makes credit card synchronization easier to set up and helps companies keep card transactions organized separately from bank accounts.
Original PR description
This commit will allow the generation of a credit card journal when either entering manually the information of the card in the iframe or by connecting to a bank. task: 4197153
Restaurant table bookings now show customer questions from the website directly in the booking form, helping staff see relevant details sooner. The booking views are also cleaner by hiding no-show appointments and improving the planning view for easier reservation management.
Original PR description
In this commit: ========== We are enhancing the user experience for the table booking flow at the restaurant. Questions added to the website during the table booking process will now be displayed in the booking form. Additionally, we will no longer show appointments that have a "No Show" status. We have also improved the Gantt view for managing bookings. task-4283805
The payroll batch payslip wizard now lets users choose employees using additional criteria. This makes payroll preparation more targeted and efficient, reducing manual selection work for HR teams.
Original PR description
This PR improves the batch payslip generation wizard by adding new selection fields with multiple options. These options allow payslip generation for employees based on specific criteria, similar to the functionality in the multiple leaves wizard. task-4266447
Payroll tests now reflect that pending or partially approved leave requests no longer create conflicting work entries. This helps keep payroll validation aligned with the latest leave management behavior and reduces false conflict warnings.
Original PR description
Previously, if you created a leave request without approving it or if the leave request required 2 approvers and it was only approved the first time, then there would be a conflicting work entry.However, this was changed by the community PR https://github.com/odoo/odoo/pull/188172 and there are no conflicting work entries now in that case. This commit updates a testcase to match the new behavior. task-4342340
Payroll batch and payslip status colors have been aligned so users see the same visual meaning in both places. This reduces confusion when reviewing payroll processing status across payroll screens.
Original PR description
This PR generalizes the state color of the payslip and batch. Earlier, the state color of the payslip and batch was different, which created confusion among the users. Task-4317973
Payroll users can no longer create a new employee directly while preparing a payslip. This helps ensure payslips are only linked to properly set up employees with valid contracts, reducing payroll processing errors.
Original PR description
This PR enhances the payslip process by restricting the creation of employees directly from payslips. Creating an employee on the fly during payslip generation is not practical, as a valid employee contract is a essential for processing any payslip. Without an active contract, it is neither meaningful nor functional to create or associate an employee with a payslip. task-4312449
This update improves the speed of automated checks used for the Knowledge and VoIP apps. It helps developers validate changes more quickly, with no direct change expected for end users.
Original PR description
Enterprise counter-part. https://github.com/odoo/odoo/pull/188638
The Belgian POS payment interface now handles quick-add number buttons more intuitively, adding values like +50 to the current amount instead of replacing it. This makes cashier input behavior more predictable and simplifies the underlying flow for easier maintenance.
Original PR description
Simply number popup and change numpad behavior. Before, when clicking on a button with `+` like `+50` it was replacing the number in the buffer with the new number. Now, it adds the number to the buffer. Also, the number buffer service was removed and the buffer is now managed by the buffer service. taskId: 4349322
Room booking links now include the room identifier so the system can consistently open the intended room. This reduces the chance of users landing on the wrong room page and makes booking flows more dependable.
Original PR description
This commit reinforces the controller routes by adding the ID of a room as parameter so as to ensure that the correct room is found. task-4015880
A new reusable header component was added for WhatsApp discussions, making the interface easier to maintain consistently. This is mostly an internal improvement that supports cleaner styling and future updates without changing core business workflows.
Original PR description
added new component called `DiscussHeader` to improve re-usability in discuss to follow BEM its required to change classNames. related PR: [odoo/ #172042](https://github.com/odoo/odoo/pull/172042) task-3764236