Thursday, January 28, 2021
9 changes · master
Enhancements to existing features
Users now receive a logged confirmation or error message when testing mass emails or SMS campaigns, making it clear whether the test worked and why it may have failed. Email and phone test inputs are also easier to validate by separating entries line by line.
Original PR description
…gs/sms This commit adds user feedback in the form of a message logged on the related document (mailing.mailing) when testing a mailing/sms. Before this change, when sending an email to your own mailbox for testing purpose, or when sending an SMS to your phone, you did not get any interface feedback on whether it worked or not. Now, a logged message will show if it's successful and if not, explain why it failed with a short error message (no IAP credits / misconfigured outgoing mail server / ...). Task 2375526 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
Employees can now set their preferred language directly from their employee profile or personal profile instead of relying on the private address record. This makes profile management easier and helps ensure employee-facing content appears in the right language.
Original PR description
The field is defined on the private address (address_home_id) of the employee. It would be more convenient to allow the configuration directly on the employee view and to allow the employee to change it by himself. TaskID: 2410407 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
Mobile users can now add calendar events with a simple tap, while the existing long-tap option remains available. Tapping an empty area in month or year views now opens the selected day view, making calendar scheduling faster and more intuitive on mobile devices.
Original PR description
Before this commit, the only way to add an event was using a long tap. After this commit, a short tap will be added. So to summarize on Mobile there is two methods to add an event using the calendar: short tap and long tap. For month/year views when a user tap on a "Free Zone" (no event) the view is changed in the "day view" for this clicked day. Task ID: 1891957
This update separates workers into Employee, Student, and Contractor categories so contract expectations can be managed more accurately. Employee records and contract history now reflect whether a person is expected to have an employment contract, helping HR teams distinguish regular employees from non-contract worker types.
Original PR description
Prior to this commit: * All employees were treated the same way regarding the contractual point of vue. From this commit on: * Three employee types will be created: - Employee, which is supposed to be under contract - Student & Contractor which are both not supposed to have an employee contract (but are still use the employee as working for the company) * Employee view and Contract History will take this consideration into account. 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
Employees in Belgium can now select the language used for their payroll-related salary package documents. This improves clarity for employees and helps companies provide localized HR communication more easily.
Original PR description
…oll lang
The Timesheets grid now places the Add a line action directly inside the grid, avoiding conflicts with the timer header and making entry more consistent with grouped lists. Empty timesheet periods can also keep showing the grid and date headers, so users stay oriented even when no records exist.
Original PR description
### Purpose: - The current 'Add a line' button in Timesheets is conflicting with the timer header. The idea is to replace the main 'add a line' button with a button in the grid view itself, so we would have something similar to the grouped list view. This would be possible through the use of a new attribute on the grid. - The help arch from the help field of the 'ir.actions.act_window' was displayed when not record were available (default odoo behavior). Because of that, the user was loosing track of the period he was in. The idea is to add an attribute on the grid that allow to keep the grid visible even when it does not contain any data. task-2271628 Related PR: odoo/odoo#65081
Mobile calendar users can now add events with a simple tap, instead of relying only on a long press. This makes event creation faster and more intuitive, while month and year views still open the selected day when tapping an empty area.
Original PR description
Before this commit, the only way to add an event was using a long tap.
After this commit, a short tap will be added.
So to summarize on Mobile there is two methods to add an event using the
calendar:
* long tap: this open usually the QuickCreate modal with the start and
the end predefined
* short tap: this will redirect to the full Create Event form with only
the start predefined
For month/year views when a user tap on a "Free Zone" (no event)
the view is changed in the "day view" for this clicked day.
Task ID: 1891957Resolved issues and error corrections
Fixed an issue in Planning where saving an employee shift as a template could still create and show the shift even after the user clicked discard. Users can now mark a shift for template creation directly in the form, so discarded changes no longer leave unwanted shifts in the schedule.
Original PR description
**Before this commit:** In planning module, when user save employee's shift as template by clicking "Save as template" button at that time the shift is created. Then click on discard didn't prevent that shift and display it on gantt view. **After this commit:** Shift will not be displayed after clicking on 'discard'. Instead of using button (Save as template) adding Boolean field 'template_creation' below 'repeat' field for saving shift as template. **LINKS** Task-2322036
Manual timesheet entry now works better for users whose keyboard requires Shift to type a colon in HH:MM time formats. Grid cells also keep the newly typed value visible while updates are being processed, reducing confusing flicker or temporary value changes.
Original PR description
What are the steps to reproduce your issue ? 1. Install 'timesheet_grid' 2. Try to enter a timesheet with keyboard in the format HH:MM What is currently happening ? With some keyboard layouts shift…
What are the steps to reproduce your issue ?
1. Install 'timesheet_grid'
2. Try to enter a timesheet with keyboard in the format HH:MM
What is currently happening ?
With some keyboard layouts shift button must be used to print ":",
but in timesheet there is already a shortcut with Shift which prevents
to set timesheet properly
What are you expecting to happen ?
When typing, press shift without selecting the whole cell
How to fix the bug ?
Don't trigger the Shift event if renderer is in edit mode.
See : opw-2411236
task-2389731
[IMP] web_grid: renderer in editmode while updating grid
This commit aims to keep the input value while the grid renderer is updating grid data's between grid adjustment and grid read_group.
Previous behaviour :
The previous value of the update cell is shown the time between the two rpc calls (adjust_grid, read_group) because the rendering is done just
after adjust_grid with editMode not set and the cell value not updated in the model rendered.
- User triggers _onUpdateValue by writing a new value (let's say : (new : 42, old : 0))
- The rendering is updated during the call to rpc in the grid_controller.js _adjust method.
-> As the state.editMode to render the web_grid.CellValue, the rendering is a div with the cell.value user, which is the previous state value : 0.
- The rendering is updated once again after the result of read_group => Cell value = new_value : 42.
Expected Behaviour :
Between the two rpc calls, the editMode is still true, which allows the web_grid.CellValue template to render an input cell with the currentInput value : 42.
The user get not troubled by the value changes and the behaviour is more smooth regarding UX.
Task-2389731