Wednesday, May 29, 2024
9 changes · master
New functionality added to Odoo
Users trying the sample receipt flow in Expenses now see an animation that makes the feature feel clearer and more engaging. This improves the first-use experience by showing progress when a sample receipt is launched.
Original PR description
[ADD] hr_expense_extract: add sample receipt animation Add an animation when the user clicks on `Try Sample Receipt`. Task-id: 3946155
This adds a guided animation when users choose to try a sample receipt in Expenses. It helps users better understand the receipt scanning experience before using their own documents.
Enhancements to existing features
Users can now configure automated server actions to send WhatsApp messages, just like they already can for email and SMS. This makes it easier to automate customer communication using approved WhatsApp templates directly from business workflows.
Original PR description
PURPOSE: This commit enables the sending of WhatsApp messages from the server actions, similar to the existing functionalities for emails and SMS. SPECIFICATIONS: This commit adds support for creating server actions of the WhatsApp type. Users can now select `Send WhatsApp` as the action type and specify a WhatsApp template under `ACTION DETAILS` to send WhatsApp messages using Server Action. Task - 3510887
The attendance planning view now shows each employee's schedule directly in the Gantt view, making it easier to understand expected working times. The creation form has also been simplified by showing fewer fields, helping users create attendance entries faster with less confusion.
This update makes it easier to tailor the action buttons shown in Gantt popovers, such as adding delete or custom workflow buttons. It also simplifies related customization code in Appointment and Project, helping teams adapt Gantt interactions with less development effort.
Original PR description
We make several changes in the gantt view in order to ease the customization of the gantt popover buttons: - a tag "footer" can be used inside the template "gantt-popover" to define buttons like it…
We make several changes in the gantt view in order to ease the customization of the gantt popover buttons:
- a tag "footer" can be used inside the template "gantt-popover" to define buttons like it is done in a form view arch:
```xml
<templates>
<div t-name="gantt-popover">
<footer>
<button name="unlink" type="object" string="Delete" icon="fa-trash" />
</footer>
</div>
</templates>
```
By default the buttons defined in the footer will be rendered after the generic buttons (e.g. the "Edit" button). An attribute "replace" can be set to true on the footer to make the generic buttons to be removed.
- buttons can also be used in the popover body itself like in a form view arch:
```xml
<templates>
<div t-name="gantt-popover">
<button name="unlink" type="object" string="Delete" icon="fa-trash" />
</div>
</templates>
```
- if js code is necessary, it is also easier to add new generic buttons via the new prop buttons of the gantt popover. This has been used to simplify the code of the gantt view extensions in appointment and project_enterprise.
Task ID: `3684499`
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>Rental receipt transfers are now linked to their original delivery transfers, making it easier to manage repair orders for returned rental items. Users can select a rental return as the return transfer for a repair order, and eligible receipt transfers can start a repair order directly from the form.
Original PR description
Enable users to select a rental return transfer as a return transfer of a repair order. COM PR: odoo/odoo#162070 Task-3848611
Appointment-related products are now identified with a dedicated flag instead of a separate booking fee product type. This simplifies product setup and reduces technical complexity across appointments, sales, services, and reporting flows.
Original PR description
### [IMP] website_appointment_sale,*: remove booking_fees type Purpose of this commit to clean up product types. In this commit remove `booking_fees` and create `is_booking_fees` field to check this product is connected to appointment. ### [IMP] product: remove detailed_type field Purpose of this commit to remove `detailed_type` field references. task-3938213
The SODA mapping button is now part of the SODA module, so Belgian payroll accounting users can access it without installing CodaBox. Unmapped or missing account mappings now use the suspense account 499, reducing import issues and keeping entries easier to review.
Original PR description
Decoupled the button "Open SODA Mapping" from the module l10n_be_codabox and moved its view and functionality to the module l10n_be_soda. Moreover, the suspense account (499) is now used for accounts that are not mapped or whose mapping is not found. The button 'Open SODA Mapping" was only visible after installing CodaBox module. It should be visible if only SODA module was installed. task-3813212 Upgrade PR: https://github.com/odoo/upgrade/pull/6074
Attendance and payroll Gantt views now open on the most relevant current period instead of showing extra future periods. This makes planning screens less cluttered and better aligned with how these apps are used day to day.
Original PR description
Following the gantt view rework, you see directly 3 periods of time on your selection, 3 months, 3 days, 3 years, ... But, in attendance and payroll apps, there is no use of that. The current changes address this. In attendance, the start and stop dates are now set to today instead of having the start date as today and the stop date 2 days after. In payroll, the start date is now set to the start of the current month and the end date is now set to the end of the current month instead of having the start date as the start of the current month and the end date as the end of the month that comes after the current month by 2. task-3950880