Wednesday, May 31, 2023
18 changes · master
Enhancements to existing features
Invoice sending now avoids showing a repeated prompt about missing customer email addresses. The warning about invalid customer email addresses only appears when the user has chosen to send the invoice by email, reducing confusion during invoice processing.
Original PR description
Description of the issue/feature this PR addresses: Improve warning message that gets shown when sending an invoice by removing the redundant "Please add an email..." message And only show the "The following customer doesn't have a valid address..." if the email checkbox is checked Based on [this task](https://www.odoo.com/web#id=3336623&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) Current behavior before PR: Both warning message shows up when the user doesn't have an email address Desired behavior after PR is merged: No more of the redundant "Please add an email..." message And only show the "The following customer doesn't have a valid address..." if the email checkbox is checked --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR contract structure types can now be manually ordered, making them easier to manage in lists. When choosing a default structure type, the system now prioritizes the company country match, helping businesses apply the most relevant contract setup automatically.
Original PR description
added sequence + handle for tree view and updated compute to select company's country's structure type first. task 3279050
The rating form now gives users more space to write longer feedback, making comments easier to enter and read. The thank-you page shown after submitting a rating has also been redesigned with a cleaner, more focused layout.
Original PR description
[IMP] rating,website_slides: give feedback more room on form Instead of displaying the feedback field on the rating form in one of its two columns, we make it go below them in its own group. As the comment can be very long, this makes the form / comment much more readable. [IMP] rating: redesign the thank you page on review Instead of a message at the top of the page, and a likely very visible footer, the "thank you" page after giving a rating is now reworked: - Only the top of the website footer is now visible - The message is centered on the page - Other margin and structure changes Task-3297161
Sales teams can now include event tickets and booth reservations directly in sales order templates. This makes quotations easier to prepare while ensuring users configure the required event details before confirming an order.
Original PR description
This commit allows us to add the events on sales order templates, and then configure them in the sales order quotations. Users will get an error when trying to confirm a quotation if events are not configured, and they will be able to configure said events by clicking on them. Task-2988003 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The project app now keeps the status button easier to find when project names are long or when using smaller screens. This improves navigation and reduces layout issues for users managing projects on desktop or mobile devices.
Original PR description
This commit will improve following UX - align the 'set status' button to the left when the project name is too long. Small Device: - set status button should be moved next to New button. task-3186684
HR users now see conflicting work entries by default, making payroll-related scheduling issues easier to spot. This helps teams resolve overlaps or inconsistencies sooner and reduces the chance of payroll processing delays.
Original PR description
task - 2901988
This update expands internal JavaScript quality checks to the Sign module, while leaving older legacy code untouched. It helps developers maintain cleaner, more consistent code in Sign, reducing the risk of future issues without changing the user experience.
Original PR description
This commit enables JS tooling inside the sign module, with the exception of legacy code. task-3338273 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The time off type setup now shows a clearer placeholder when no responsible person is selected. This helps administrators understand that nobody will be notified unless they choose a responsible person.
Original PR description
In this commit we have added "Nobody will be notified" placeholder in responsible of the leave type model. task-3334478
Restaurant point of sale sessions now update table order counts instantly when another register sends an order, instead of waiting for periodic refreshes. This makes floor management more responsive and reduces unnecessary background polling.
Original PR description
Before a longpolling every 5 seconds was set up to sync the number of orders per table in the pos_restaurant, which was not very userfriendly / efficient. Now, the longpolling has been replaced by a bus (websocket). As soon as an order is sent to the server by another PoS, the server dispatches the information to all other PoS using the corresponding floor plan. The bus_service was initialized in the pos_store of the point_of_sale, but is now used only in the pos_restaurant via override. This was done for obvious future use.
Resume line names and descriptions in the HR Skills app can now be translated. This helps multilingual organizations present employee resume information consistently in each user's language.
Original PR description
Before this commit, the name and description of resume lines were not translatable. task-3323624
Employee presence status is now calculated in a shared employee model instead of depending on HR attendance, time off, or presence permissions. This makes the presence indicator consistently available to all database users without requiring HR access rights.
Original PR description
Employee presence is not a sensitive data and should be available for all db users this commit moves the computations from attendance, holidays and hr_presence to the employee_base model, which is how it was originaly made in the hr module. This way the presence marker does not depend on the user's hr rights. task: 3267790
The website contact footer now aligns its columns at the top instead of the bottom. This makes footers with longer text look cleaner and more consistent with other footer styles.
Original PR description
Before this commit, the columns in the "contact" footer template were aligned at the bottom, which looked bad and served no purpose. This commit aligns the columns towards the top, like the other footer templates. Steps to reproduce the bug: - Choose the "contact" footer for the homepage of a website. - Add multiple lines in one of the columns of the footer. - The columns are aligned at the bottom, and it looks quite ugly. task-3321445 task-3241256
Payroll and attendance records can now be searched using an employee's registration number as well as their name, making it faster to find the right records. India payroll employee profiles also capture the relationship of an emergency contact, giving HR clearer context in urgent situations.
Original PR description
- hr_payroll_attendance, hr_payroll_holidays: add more search options in employee
Currently, employee contract, payslip and attendance cannot be searched based on
employee registration number.
In this commit, We have searched employee name as well as employee registration
number
Technical:
By using filter_domain we don't have to create a related field of employee registration
number in each model.It is not good to create a field just for search. so we have preferred
filter_domain.
- l10n_in_hr_payroll: add relationship india payroll
Why need relationship
When emergency contact is made by hr then know what is the employee
relation of this contact person.
task-3130593Salary configurator links can now include an expiration date, helping prevent employees or applicants from spending time completing salary package details after a link is no longer valid. This gives HR teams better control over time-limited salary simulations and reduces wasted effort for candidates and staff.
Original PR description
Purpose: The salary configurator link for employees and applicants sometimes can be limited in time. Thus, we add the expiration date to the link, so that applicant or employee does not configure full salary package in vain. task - 3249374
The preparation display interface has been updated to make navigation and actions easier for staff, especially on smaller screens or when many stages are used. Key controls are now more visible, the ticket cards are clearer, and the layout uses space more effectively.
Original PR description
Prior to this commit, there were several issues related to accessibility and UI/UX. To address these issues, this commit introduces several changes aimed at improving the website's UI and…
Prior to this commit, there were several issues related to accessibility and UI/UX. To address these issues, this commit introduces several changes aimed at improving the website's UI and functionalities, including: - Added a horizontal scrollbar to the stage navbar: useful for smaller screens, currently not possible to navigate correctly if there are lots of stages. - Relocating the "archive all" button: Moving the "archive all" button to a new action bar above the ticket area can help users access it more easily and may result in a cleaner, less cluttered navbar. - Relocating the "Clear all filters" button: Depending on whether the sidebar is opened or closed, the "Clear all filters" button was moved to either the top of the sidebar or the action bar. This change should make the button more visible and accessible, and it can also help declutter the navbar. - Reducing the size of the Odoo logo container: By reducing the size of the Odoo logo container, more space is made available for other elements on the page. - Refactor SCSS (and JS) and revamp cards (tickets): The header and footer part of the tickets/cards were mostly reorganized and revamped. Additionally, I have also rewritten some variable names to align with the module. task-3254084
Payroll users will now see conflicting work entries by default in the work entry view. This makes payroll issues easier to spot and resolve before processing, reducing the chance of missed conflicts.
Original PR description
task - 2901988
Payroll structure types can now be arranged in a custom order. This helps HR teams control how contract and payroll options appear, making setup and selection more consistent.
Original PR description
see odoo/odoo#119810
The Sign application’s JavaScript code has been cleaned up to follow current coding standards, excluding older legacy areas. This reduces maintenance risk and helps future updates be delivered more consistently without changing day-to-day functionality for users.
Original PR description
This commit lints all existing JS except legacy code. task-3338273