Wednesday, December 9, 2020
10 changes · master
New functionality added to Odoo
Calendar events now include a link to join a Jitsi video call, making online meetings easier to access directly from the event. The update also improves calendar popovers so longer event details remain readable instead of overlapping buttons.
Original PR description
This commit adds a link to each calendar.event to join a video call hosted on Jitsi. TaskID: 2367543 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
Enhancements to existing features
Event organizers can now automatically send emails when an event moves into a specific stage, such as notifying attendees when an event is cancelled. The event email list also shows clearer delivery status, including scheduled, running, and sent, with contacted attendee counts for better follow-up visibility.
Original PR description
Purpose ======= Be able to send event mail when we move an event to another stage. e.g.: Sending "Sorry for canceling the event" when we move the event in the stage "Canceled". Show the state of the event mails (scheduled, running and sent). Specifications ============== If we specify "On stage update" on the event mail, the mail is sent scheduled when we move the event into the specified stage. If we specify a interval, the event mail will be sent "X times" after moving the event into the specified stage. Reset the `trigger_stage_id` if the interval type is not "stage_update". Task 2127615 PR #45200 See odoo/upgrade/pull/858
System administrators see a new option in list-view column menus that explains they can add custom fields with Odoo Studio. If Studio is available it opens directly; otherwise the menu promotes Studio and supports installation with confirmation.
Original PR description
This commit adds a "Add Custom Field" button on optional columns dropdown list The goal is to let the user now he can add custom fields to a listview with Odoo Studio, and to promote Odoo Studio when…
This commit adds a "Add Custom Field" button on optional columns dropdown list
The goal is to let the user now he can add custom fields to a listview with Odoo Studio,
and to promote Odoo Studio when not installed.
Task: 2392303
**Description of the issue/feature this PR addresses:**
The purpose of this task is to:
let the user know that he can add custom fields to a listview with studio
promote studio when it is not installed
**Current behavior before PR:**
None
**Desired behavior after PR is merged:**
Add a new 'add custom field' button at the bottom of the listview optional fields dropdown (i.e. o_optional_columns_dropdown)
mockup https://drive.google.com/file/d/1o7xGAmxKuE77dqkdteh10v5EAIbHquzj/view?usp=sharing
prefix the button with a fa-plus icon
- if there is no optional field in the view, display the dropdown with the 'add custom field' button only
This new button is only visible to res.users in base.group_system
When clicking on the 'add custom field' button
- if studio is installed, open studio on the current view
- if studio is not installed, the 'add custom field' item unfolds on the studio
- mockup https://drive.google.com/file/d/1c4cpMmZWlW-IrbXmcH1EaSe0aUnmdHOU/view?usp=sharing
- it 'unfolds' in the same way the 'add custom group' item of the searchview filter unfolds
- video https://drive.google.com/file/d/1VxRZWrX9aeqjVI1XvqnZAxSaULd1-Rt1/view
- the 'install odoo studio' button directly installs studio
- it does not redirect to the ir.module.module formview of the studio app
- you can should reuse the action, image, and link of the existing 'studio' banner https://drive.google.com/file/d/1HWtPiGM8C1LE-nYs9Gt2PObxVr86h9Fr/view?usp=sharing
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Time Off calendar now defaults to a yearly view that fits on one screen, making planning easier without missing information. Weekends and public holidays are shaded, pending time off is visually distinct, and calendar filtering and cancellation issues are fixed for a smoother experience.
Original PR description
A new calendar view has been added, the "year" view. Some modifications should be done on this view, more specially in "Time Off" application. Problems were the fact that it was hard to see if a time…
A new calendar view has been added, the "year" view. Some modifications should be done on this view, more specially in "Time Off" application. Problems were the fact that it was hard to see if a time off has been approved or not or week-ends & public holidays that are not grey. Another goal with Year view is to display it in a single page without scroll bar. Before this commit, a scrollbar was displayed on the right of the screen. This results in some data wasn't displayed on the screen. Now, the year view is scalled to the browser. That means that all informations are now on the screen (without scrollbar). This commit changes year calendar in Time Off module. More specially, this commit: - Changes default calendar in personal dashboard to "year" - Gray week-ends & public holiday (based on the worker's calendar) - Hatches non-approved time off - Removed a calendar view from My Time Off Requests - Fix a "cancel" button that doesn't work - Add a new view that is displayed when there is no filter to show on the filter view for calendars "is_hatched" is used to hatch date under specific conditions The goal was that it was not possible to display some information differently depending on a variable. Now, if a variable named "is_hatched" is set to true and passed to the calendar view, the specific date is hatched. This PR also fixes a bug in calendar view: If a filter has a space in his title, we were not able to collapse it. Task id #[2318645](https://www.odoo.com/web#action=333&active_id=1251&cids=1&id=2318645&menu_id=4720&model=project.task&view_type=form) Task id #[2317525](https://www.odoo.com/web#action=333&active_id=1251&cids=1&id=2317525&menu_id=4720&model=project.task&view_type=form) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing and inventory settings now include an option to enable Quality Worksheets when quality control is available. This makes it easier for businesses to activate worksheet-based quality checks without manual module installation.
Original PR description
Add a checkbox to install quality_worksheet in mrp setting, it will be shown when quality_control is installed. Task 2281266 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Belgian payroll now deducts European leave advances from the following double holiday pay, including carry-over when the prior holiday pay was not enough. The update also improves holiday pay prorating for newer employees and ensures related Belgian social security declarations use the correct codes and positive amounts.
Original PR description
When a employee begins his first job, this worker can have some european leaves after having worked 3 months in a company. This european leaves is in fact a advance on the double holiday pay in the…
When a employee begins his first job, this worker can have some european leaves after having worked 3 months in a company. This european leaves is in fact a advance on the double holiday pay in the next year. This PR adds this deduction in the double holiday pay. To do this, we check that the employee has taken some european leaves in previous year to reduce the amount of the double holiday. However, if the amount of the double holiday pay is not sufficient, the deduction is made in the following double holiday pay. Thus, we need to check if there are some european leaves 2 years ago (if there aren't a deduction in double holiday pay last year) **Content of the PR:** - Set *dmfa_code* for the european leaves to 14 for the DMFA. - Add belgian company in the european leave type to correctly test the feature. - Improve the basic salary in the double holiday pay. Because, if an employee just begins at the mid of the previous year, we need to compute the correct paid amount for the double holiday paid. That is, in this case the half of his monthly salary. - Add sum_worked_days method, to search and sum the amount of the the european leaves in hr.payslip.worked.days in 2 previous years (or last year if there is a deduction in double holiday pay in last year). - Add rule for the european leaves deduction in *hr_payroll_structure_cp200_double_holiday*. - fix a negative total for NetOwedAmount tag in DMFA - Declare the double holiday pay with european leaves deduction (if there is a deduction) in DMFA (Unfortunately, not sure for the structure, so it can be changed in another task). TaskId: 2337215
Planning managers can now filter schedules to quickly see employees who are on time off. This makes it easier to understand staffing availability and review affected planning slots without manually checking absences.
Original PR description
[ADD] planning_holidays: added new employee time off filter in planning While the planning manager can easily know how much planning employee is on time off. The 'Employees on Time Off' filter will appear only on the planning manager. Task-Id: 2328868
Marketing automation campaigns now save automatically when a user starts creating a related child activity. This removes an extra manual save step and makes it easier to build linked activity flows one activity at a time.
Original PR description
Before If you wanted to create a child activity you had to save the campaign before creating a new activity. After this commit the save will be triggered before creating a new activity Task ID : 2087993
Users can now start a new rental quotation from an opportunity even when no customer is assigned yet. Instead of showing an error, the system opens a wizard so the customer can be selected or created during the rental flow, reducing interruption for sales teams.
Original PR description
PURPOSE In sale_renting_crm when i click on new rental button it's shows error. so i added wizard Current When i click on rental button it's shows user error To be If I click on New Rental, I am shown this modal and can do the same as for a Quotation. when you click on new rental button it's open wizard for rental customer. PR **Task** 2360863 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Planning now considers how much time a person is allocated to each overlapping shift, not just whether shift times overlap. This reduces false conflict warnings when part-time or lower-percentage allocations still fit within the available working time.
Original PR description
Before this commit, the conflicts were only detected if the start_datetime and end_datetime of planning slots were overlapping.
This commit introduce a criterion based on the allocated time. If people are working at a lower percentage and if the total number of allocated hours in overlapping shifts is not larger than the available time, no conflict is displayed.
Example:
shift 1 : 8 am to 12 am, 90% 4h available and 3h36 of effective work.
Shift 2 : 11 am to 15 pm, 90% 4h available and 3h36 effective.
We are trying to work 7h12 for a 7h period, we rise a conflict.
If shift 2 allocated time is 80%, we are working 3h12 over the 11-15 period.
The total is 6h48 for a 7h total, no conflict is displayed.
taskid : 2310218