Daily updates from Odoo
Wednesday, November 6, 2019
10 changes
Enhancements to existing features
Sales teams can now edit the phone number on a CRM lead even when a customer is linked. This avoids unintentionally changing the customer's main phone number while still allowing lead-specific contact details to be updated.
Original PR description
Before this commit, the user could not edit the lead phone field when a customer was assigned. The phone field was related to the phone of that customer. Now, the field related to the phone of the customer is removed. We can edit the phone field of the lead without modifying the customer one. task-2083470 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users who gain enough karma after completing a course quiz now see a clearer level-up animation and updated progress information. The change also corrects course completion display on user profiles and makes rank handling more consistent, improving reliability around gamification rewards.
Original PR description
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
Recruiters can now record a reason when refusing an applicant through a dedicated wizard. This improves recruitment reporting and helps teams track why candidates are declined, supporting better hiring insights and dashboard metrics.
Original PR description
Description of the issue/feature this PR addresses: When we refuse an applicant, open a wizard to add a refuse reason. id=2003841 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The leave calendar now visually highlights unusual working days, making schedule exceptions easier to spot when planning time off. This helps employees and managers better understand calendar context before approving or requesting leave.
Original PR description
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 test suite was updated so it can run reliably without relying on preloaded demo data. This improves confidence in future changes, makes testing faster, and also includes fixes so internal users can access their own invoices and sales orders.
Original PR description
Purpose ======= This is the first huge step to improve the test suite in several ways: - Make them demo data independent, allowing to modify the demo data without having to adapt the tests depending on it. It also allows to have a beautiful + convenient demo dataset to make a demonstration, and to configure complex data in the tests to manage the corner cases. - Improve the test performances by converting them into SavepointCase. Each test will be rollbacked to it's initial state, after the setUpClass call. That way the different data are not re-created at each test for nothing. - Introduce several test classes in base/tests/common.py to launch a TransactionCase, HttpCase or SavepointCase test with an available demo user, portal user or a large set of partners. - This is the first step to tend to a rolling release process, allowing to execute the tests (or a subset of the tests) on a migrated base, for example. TaskID: 2075739
Learners now see a more obvious celebration when passing a quiz moves them to a new level. The quiz success window animates the progress bar, updates the level message, and refreshes motivational text so the achievement feels clearer and more rewarding.
Original PR description
PURPOSE If a user levels up after passing a quiz, we want to clearly show him in the success modal that he actually passed a level instead of just showing his new rank and xp gauge. This commit introduces an animation with the progress bar when the user is levelling up. After reaching the upper bound of the next level: - The progress bar goes back to 0 ; - The lower/upper bounds change to reflect the new reached level bounds ; - The message "Amazing!" becomes "Level Up!" ; - The motivational phrase changes with a fade out/fade in animation. LINKS PR : #39421 Task ID : 2032649
Timesheet-related records are now created in batches instead of one at a time. This improves performance when creating many timesheet entries, especially in workflows involving projects, holidays, sales timesheets, or accounting links.
Original PR description
**Creation of records will be done in batches.** - Used model_create_multi - Reworked on related functions(for eg: _timesheet_postprocess) so as to make it work in batches. This optimization is done in order to speed up the creation. Task Link- https://www.odoo.com/web?debug#id=1971460&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link- https://pad.odoo.com/p/r.3817b8906a9ee8d5ebbf45b55b89a845 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Planning calendar now shows days when employees are unavailable in the My Planning view. This helps users understand availability at a glance and plan work more accurately without switching contexts.
Original PR description
id=2088873
Timesheet grid entries are now created in batches instead of one by one. This should make creating multiple timesheet records faster and improve responsiveness for users working with larger timesheet updates.
Original PR description
**Creation of records will be done in batches.** - Used model_create_multi and changed the code accordingly for creation in batches This optimization is done in order to speed up the creation. Task Link- https://www.odoo.com/web?debug#id=1971460&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link- https://pad.odoo.com/p/r.3817b8906a9ee8d5ebbf45b55b89a845
Helpdesk SLA policies can now include a deadline for assigning tickets within a specific timeframe. This helps teams monitor how quickly new tickets are picked up, improving accountability and response management.
Original PR description
SLA Policies: get tickets assigned id=1974097