Daily updates from Odoo
Wednesday, September 7, 2022
13 changes · master
Enhancements to existing features
The appointment search dropdown now displays each appointment’s duration directly next to its name. This makes it easier for visitors to compare options quickly and choose the right appointment without extra scanning.
Original PR description
Purpose ======= Improve the search bar dropdown view. Specifications ============== This commit moves the appointment duration display directly next to the appointment name. Task-2888646
Project Gantt views now show the total row whenever Project Enterprise is installed, instead of requiring the Field Service app. This gives managers consistent totals for planning and workload review across more project setups.
Original PR description
Previous to this commit, the `total_row` was added ìn the gantt only when `industry_fsm` was installed. This commit ensures that the `total_row` is added as soon as `project_enterprise` is installed.
The appraisal search view now clearly shows the department context when users open appraisals from an employee department. This helps managers understand which department’s appraisals they are reviewing without relying only on hidden filters.
Original PR description
When coming from Employees > Department and clicking on the appraisals, it opens a view with a domain on the department and the state of the appraisal. This commit shows the department the view is open from. task-2939207
Payslip PDF filenames now include the employee name plus the relevant month and year. This makes it easier to identify and organize multiple payslips for the same employee after download.
Original PR description
When downloading multiple payslips (of the same employee) it is impossible to distinguish between them because the name of the pdf only includes the name of the employee. From now on, the month and year are also included in the pdf name to be able to see at a glance which payslip the file contains. task-2954981
Resolved issues and error corrections
The consolidation module’s automated checks were updated to handle report totals that are now included earlier in the reporting process. This prevents false test failures and helps keep financial reporting quality checks stable without changing user-facing behavior.
Original PR description
With the changes introduced in reportalypse, total lines under sections are directly returned by the initial call to _get_lines(). Because of this, some tests from the consolidation module were failing, as they did not exclude total lines from the checks they ran.
This fixes an intermittent failure in an automated accounting reports test related to applying date comparison filters. It improves the reliability of quality checks without changing the user-facing accounting report experience.
Original PR description
The tour was failing in a non-deterministic way when trying to click on the date comparison filter's Apply button.
The account reports setup wizard now displays input fields and dropdowns at the intended size and alignment. This fixes a visual issue introduced by earlier field changes, making the setup screen clearer and easier to use.
Original PR description
This commit fixes the alignment of fields in the setup wizard template. Since the conversion of those fields, some parts of the DOM have been altered, and the oe_inline class makes the inputs and selects elements larger than it should. After this commit, and its community counterpart, the UI is correctly aligned. Before this PR: <img width="480" alt="image" src="https://user-images.githubusercontent.com/35101914/188806264-1bec6e45-e111-4fc8-aa5a-d45fe6da4ba3.png"> After this PR: <img width="478" alt="image" src="https://user-images.githubusercontent.com/35101914/188806012-9a221966-7944-4b82-8bea-ddf20cd500ff.png">
This fixes display and behavior issues in the mobile control panel, making it easier for users to search and navigate on smaller screens. The change helps provide a smoother experience for employees using Odoo Enterprise from mobile devices.
Original PR description
Community: https://github.com/odoo/odoo/pull/79423
This change fixes automated tests for anytime appointment scheduling by moving shared test support to the main appointment area. It helps ensure appointment features remain stable and reduces the risk of test failures blocking future updates.
Original PR description
Purpose ======= Fix anytime appointment tests suite. Specifications ============== Moving mock server handling anytime appointment route tests from appointment_hr to appointment Task-2974547
Code cleanup and technical improvements
The grid views in Timesheets and Web Grid now use the newer form dialog technology instead of an older internal component. This supports ongoing platform modernization and helps keep these views compatible with future Odoo versions, with little expected change for end users.
Original PR description
*web_grid,timesheet_grid
Miscellaneous changes
Create a new customer batch payment as follows: - Batch type: Inbound - Payment method: manual - Batch content: create 2 payments (A, B) Save the batch Go to payment A, confirm, mark as sent, reconcile Go to payment B, confirm. Return to the batch payment Edit, remove the unsent payment (B), Save The record will not update correctly, reloading the record all the payments will be there opw-2685631 Forward-Port-Of: odoo/enterprise#30935 Forward-Port-Of: odoo/enterprise#29223
Original PR description
Create a new customer batch payment as follows: - Batch type: Inbound - Payment method: manual - Batch content: create 2 payments (A, B) Save the batch Go to payment A, confirm, mark as sent, reconcile Go to payment B, confirm. Return to the batch payment Edit, remove the unsent payment (B), Save The record will not update correctly, reloading the record all the payments will be there opw-2685631 Forward-Port-Of: odoo/enterprise#30935 Forward-Port-Of: odoo/enterprise#29223
The text editor in the payroll dashboard currently increases its width according to the content of the editor. This causes the editor to go to the next line as its width is bigger than the parent row. This commit fixes this issue by forcing a max-width of the content to 100% of the parent's width. task-2967030 Forward-Port-Of: odoo/enterprise#30852
Original PR description
The text editor in the payroll dashboard currently increases its width according to the content of the editor. This causes the editor to go to the next line as its width is bigger than the parent row. This commit fixes this issue by forcing a max-width of the content to 100% of the parent's width. task-2967030 Forward-Port-Of: odoo/enterprise#30852
Computing initial values of `can_be_paid` field may work slowly or get timeout error on large database. Fix it by using `exception` as initial value for existing invoices. opw-2894901 Forward-Port-Of: odoo/enterprise#31063
Original PR description
Computing initial values of `can_be_paid` field may work slowly or get timeout error on large database. Fix it by using `exception` as initial value for existing invoices. opw-2894901 Forward-Port-Of: odoo/enterprise#31063