Wednesday, May 3, 2023
13 changes · master
Enhancements to existing features
Users can now hide the “Add a Property” button in property fields, freeing up space on forms once properties are set up. The button can still be made available through an action when needed, and related usability fixes make the property editing experience smoother.
Original PR description
Purpose ======= When this option is enabled, the button to create new properties is invisible. We create a client action instead, and when the user executes client action for the first time, the button becomes visible until the user refreshes the page. This is useful because most of the time, the user will create the properties and then won't change them. So this button uses space unnecessarily in the form view (for the most of the use cases). Task-3188915
Invoice onboarding now includes a step to configure Stripe payments, helping businesses get paid online more easily during initial setup. When onboarding is completed in related apps, the system can recognize that progress across apps to reduce repeated setup work, with special handling for Sales.
Original PR description
To improve onboarding experience, configuring Stripe has been added in Invoice onboarding process. For db with other apps(ecommerce or sales) if onboarding is done in one place it is considered done in other places with exclusion of Sales, unless it was done in Sales. task-3208045 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 project Gantt view now shows an empty row for the current user when there are no visible scheduled tasks. This makes it easier for users to create or schedule their own tasks without browsing through all users, keeping the view focused and performant.
Original PR description
Ease the creation/scheduling of tasks when the Gantt view is empty. Indeed, by default, only the 'unassigned tasks' line is visible, which feels unnatural to use when tasks are already assigned to some users, and you simply want to plan them. As we can't display all users without distinction for performance (and navigation) issues, we are displaying an empty line for the current user instead. task-3254242
Kitchen printer functionality has been moved into the main Point of Sale app, so it can be used beyond restaurant setups. Epson printer support is also consolidated, simplifying setup and reducing duplicated printer-specific modules.
Original PR description
*:pos_epson_printer,pos_epson_printer_restaurant,point_of_sale,pos_restaurant,pos_hr_restaurant Before the printers only worked in the `pos_restaurant` and not in the `point_of_sale`. Indeed, the methods managing the printers were located in the `pos_restaurant`. Now all these methods have been moved. For the community part here are the affected modules: - The methods in `pos_epson_printer_restaurant` have been moved to `pos_epson_printer`. - The methods in `pos_restaurant` have been moved to `point_of_sale`. - The module `pos_epson_printer_restaurant` has been removed as it only handled printers. Some of these methods have been adapted/renamed to better suit the needs. This branch the first part of the following task: 3224508 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR users can now approve, validate, or refuse employee time off requests directly from the calendar dashboard. This reduces the number of steps needed to manage leave requests and helps HR teams act faster.
Original PR description
Purpose: HR can view employee leave records from the calendar but can not approve, validate or refuse it from there. In case they want to make action, they have to go through menu < time off < approvals < time off < find the employee < find the requested time off < open it < approve. In this commit the action buttons are added on the dashboard. task - 3175495
Calendar events can now only be edited from the calendar view by people who are attending the event. This prevents users from accidentally or intentionally changing other employees' events, such as time-off entries, improving control over shared calendar data.
Original PR description
This task change the people who can edit a calendar event. This calendar event currently allow every user to modify every event in the calendar. This cause issue where one user can modify the time-off event for other employees. This PR change the right to modify an event from the calendar view in the calendar app. With these changes, only the people attending an event will be able to modify it from the calendar view. task-id : 3185743 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Course managers can now set one or more required courses that learners should complete before starting another course. Learners are informed about these prerequisites on the website, while managers can still grant access when an exception is needed.
Original PR description
This commit allows the course manager to add a prerequisite course to a course so that the final user will be notified on the frontend he has to take a course before the one he wants. He could however request access to the course and take it without taking the prerequisite before if the access has been granted. It's not possible to delete a prerequisite course without deleting the subsequent course at the same time. Task-3213628 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Web data reads can now include details from reference-style fields, letting screens and searches retrieve related record information in one response. This improves consistency for features that depend on dynamic links between records and reduces extra data lookups.
Original PR description
add support for fields of type `reference` and `many2one_reference` to `web_read` and `unity_web_search_read`
for both you can add a field_spec requesting fields of the "co-model":
request:
```python
{
#reference
'field_reference':
{
'fields': {'write_date': {}},
}
#many2one_reference
'm2o_reference_id':
{
'fields': {'display_name': {}, 'write_date': {}},
},
'm2o_reference_model': {}
}
```
response:
```python
{
'id': ...,
#reference
'field_reference': {
'id': {'id': 3, 'model': 'comodel_name'},
'write_date': '2004-11-23 11:30'
}
#many2one_reference
'm2o_reference_id': {
'id': 3,
'display_name': "special first day",
'write_date': '2004-11-23 11:30'
},
'm2o_reference_model': 'comodel_name',
}
```
task-id: 3284222Document requests now show the requester as the file owner, making ownership clearer in activity views. Users can also handle email replies with attachments more smoothly and send manual reminder emails for overdue document requests.
Original PR description
This commit is a review of the document request process. The owner of the file will now be the requester, not the requestee. This has an impact on the activity view as the requester will be displayed next to the activity instead of the requestee. Attachment sent by reply on the request document email will be caught and act as if the file was uploaded regularly, it only works for the first file however. A reminder mail template has been added to be able to manually send a reminder on late document requests. TaskId-3107229
Spreadsheet toolbar and context menu items now include custom icons, making actions easier to recognize and navigate. This improves day-to-day usability for users working with spreadsheets and spreadsheet-based dashboards.
Original PR description
## Task Description The aim of this task is to add icons to all the menu items in the toolbar and in the context menu. While lots of icons has been inspired by GSheet, each one of them has been totaly by hand, with some icons being totaly hand-made (freeze pane, insert row/col/cell, ...) ## Related Task - Task-3145722
Kitchen printer management has been moved from the restaurant-specific app into the broader Point of Sale setup, allowing printer-related workflows to work beyond restaurant configurations. Related preparation display, IoT, and compliance modules were adjusted so responsibilities are clearer and obsolete restaurant IoT code is removed.
Original PR description
*:l10n_de_pos_res_cert,pos_blackbox_be,pos_iot,pos_preparation_display,pos_restaurant_iot,pos_restaurant_preparation_display Before the printers only worked in the `pos_restaurant` and not in the `point_of_sale`. Indeed, the methods managing the printers were located in the `pos_restaurant`. Now all these methods have been moved. For the enterprise part, here are the affected modules: - The methods in `pos_restaurant_iot` have been moved to pos_iot. - The methods managing the tables in `pos_preparation_display` have been moved to `pos_restaurant_preparation_display`. - The dependencies of the `pos_blackbox_be` module have been modified. - The `pos_restaurant_iot` module has been removed as it only handled printers. Some of these methods have been adapted/renamed to better suit the needs. This branch the first part of the following task: 3224508 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR users can now choose whether a contract signature request is sent to an employee's private or work email address. If the selected address is unavailable, the system uses another available email, and the employee signature history now shows requests sent to either address.
Original PR description
Currently, when sending a sign request to an employee, you are not able to chose the destination mail (private or work email), this commit will give the possibility to chose to the user. If the chosen email is not defined, any available one will be used. This commit also changes the retrieved sign requests in the smart button, now all signature requests sent to the employee will be fetched (private and work email) task - 3256394
Payroll teams now receive additional dashboard warnings for missing employee information such as bank account, PAN, UAN, and ESIC numbers. The update also highlights probationary employees whose contracts are close to expiring, helping teams address issues before payroll processing.
Original PR description
_* = l10n_in_hr_payroll In this commit, we have added the following warning message for the payroll -Employees Without Bank Account Number -Employees Without PAN Numbers -Employees Without UAN Number -Employees Without ESIC Number -Employees who are on probation & their contracts expire within a week task:-3220775