Daily updates from Odoo
Thursday, December 12, 2019
6 changes · master
Enhancements to existing features
This update begins moving Odoo's mail and Discuss experience to a newer interface framework while keeping messaging responsive during loading. It should improve maintainability and prepare the product for future user-facing mail enhancements, with some visible loading behavior improvements in the messaging menu.
Sales teams can now find leads and opportunities by searching for a phone or mobile number, even if the number is typed without spaces or country-formatting symbols. This helps call center staff quickly identify a caller's open opportunities while limiting very short searches to avoid performance issues.
Original PR description
Allow users to look for leads and opportunities by using the phone number fields. This, for example, allows salesmen working in call centers to quickly retrieve all open opportunities of a specific person calling (with its phone number appearing). task-2122873
Website courses now calculate and display an estimated duration based on videos, PDFs, and manually entered slide times, excluding archived content. This helps learners understand the time commitment before starting a course, with durations shown in a clearer rounded format such as minutes or hours and minutes.
Original PR description
The duration of a course is now computed. The duration is equal the sum of the duration of all videos, plus the estimated time to read any PDF, plus the duration encoded on the other slides. The other types of slide have a field to encode the duration during its creation (not mandatory). Also, the computation take only the slides that are not archive. The format of the duration of a course on its tile is modified. It's now displayed like this : "x min" or "y hours x min". The duration displayed is also rounded to quarter of hour. Task ID : 2007294 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update ensures Odoo tracks check numbers in a numeric format as well as text, so the next check number is calculated correctly. Businesses paying vendor bills by check will see the proper next number instead of the widget repeatedly showing 1.
Original PR description
Go to Accounting > Vendor Bill, pay via check, view the invoice and click on 'Print Check'. The widget will popup but as the 'next check number' will always display 1. This append because the model of account_payment has changed https://github.com/odoo/odoo/blob/13.0/addons/account_check_printing/models/account_payment.py#L28 and now check_number is a char so it will not sorted correcly by the database. To avoid doing a lot of strings manipulation it is convenient to store the check number as integer, with proper default case Followup of opw 2151242 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Selecting a reconciliation model during manual reconciliation now works without triggering an error caused by missing currency information. This prevents interruptions for accounting users and keeps the reconciliation workflow usable.
Original PR description
Before that, an empty account.bank.statement.line recordset was passed to the function, and caused the recordset containing the currency to use to also be empty, eventually leading to a rounding value of 0, which raised and error.
Code cleanup and technical improvements
This change adds dedicated eLearning Officer and Manager roles so course administration can be assigned separately from general website editing. It gives businesses more precise control over who can create, publish, manage, or delete courses and learning content, while preserving existing course responsibility workflows.
Original PR description
### Purpose Have user groups specific to eLearning to separate them from generic website editors. Indeed this is a specific work area and require more than pure design skill. ### Details Two user…
### Purpose
Have user groups specific to eLearning to separate them from generic website
editors. Indeed this is a specific work area and require more than pure design
skill.
### Details
Two user groups has been added:
* group_website_slides_officer
\+ can read any course/slide
\+ can create a course
\+ can add slide to the courses he is responsible
\+ can publish the courses/slides he is responsible
\- cannot unlink courses/slides (you should archive them)
\* implies group_website_publisher in order to see the top navbar in frontend
with the publish toggle button and the new content button.
* group_website_slides_manager
\* The Manager is an Officer with more rights.
\+ can read any course/slide
\+ can create a course
\+ can add slide to any courses
\+ can publish any courses/slides
\+ can unlink any courses/slides
When website_slides_survey is installed:
+ group_website_slides_officer implies group_survey_user
+ group_website_slides_manager implies group_survey_manager
task-2062462
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr