Monday, April 27, 2020
6 changes · master
Enhancements to existing features
The mass mailing editor now uses more of the available screen space, making it easier for users to design and edit email campaigns. This improves usability by reducing cramped editing areas and providing a larger workspace for campaign creation.
Original PR description
Currently, editing mass mailings is difficult as the window to design the email is too small. This PR utilizes the the full width and height available to ease edition of mass mailing. TaskID - 2207637 Closes - https://github.com/odoo/odoo/pull/47984 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Campaigns can now be created directly from the Kanban view using a quick-create card. This reduces the steps needed to add a campaign because users only need to enter the essential details: a name and a responsible person.
Original PR description
This commit ease the creation of campaigns as they only require a name and a responsible. When the user clicks on create, it will display the "Quick Create" card instead of redirecting him to a full form view. Task ID 2237999 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The CRM Kanban view now highlights expected revenue and the linked contact more clearly on each opportunity card. This makes it easier for sales teams to quickly assess opportunity value and customer context while managing their pipeline.
Original PR description
This commit will put more emphasis on both the revenue and the contact attached to the opportunity. Task ID 2240258 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the loading speed of blog listing and blog post pages by reducing unnecessary database work and caching repeated website display settings. Visitors should experience faster page loads, while added performance tests help protect these gains over time.
Original PR description
Part of task-2211013 which optimizes performances, this PR focuses on `/blog`, `/blog/post` performances. For a database with 20 blog posts & 20 tags, based on 50 tests, this is the optimistic stats: ``` | /blog | Query | Time | Remaining Time | | --------------------- | ----- | ------ | -------------- | | Before | 136 | 0.055 | 0.200 | | Now | 26 | 0.015 | 0.090 | ``` /blog/post from 60+ query to less than 30 task-2211013
The Studio model configurator now presents clearer setup options and more business-friendly labels when creating custom apps. Users get default stages, clearer status names, and improved form placeholders, making new custom workflows easier to understand and use.
Original PR description
PURPOSE
Improve the UX and features of the model configurator
In this commit :
- moved technical features out of the debug mode
- created three stages ('New', 'In Progress', 'Done') in the custom stages model
- added the kanban state field at the top right of the form view
in the custom stages model
- updated the kanban state from 'Green/Grey/Red' to 'Ready/In Progress/Blocked'
- relabeled field x_name of the stage model to 'Stage Name'
- relabeled field x_studio_partner_id to 'Contact'
- relabeled field x_studio_partner_phone to 'Phone'
- added placeholder 'Name...' on field x_name (in the view)
task-2226586This update modernizes icons throughout many Odoo Enterprise apps by moving from the older Font Awesome version 4 to version 5. Users should see more consistent, up-to-date icon rendering across accounting, assets, budgeting, consolidation, and related screens, with no intended change to business workflows.
Original PR description
Font-awesome v4 have been supplanted by a v5 in September 2017, it is about time we migrate our source code to support that new version. The two version major difference is about icon identification.…
Font-awesome v4 have been supplanted by a v5 in September 2017, it is about time we migrate our source code to support that new version.
The two version major difference is about icon identification. In FA v4 the icon name only is enough, every icon name had its own character like 'fa-clock' is the only solid clock font, 'fa-clock-o' is the only edge clock font. In FA v5, every icons can come with up to 5 (in the pro version) different styles for a same icon name. In FA v5, an icon identifier is the pair icon style and icon name. The solid clock icon is `fas fa-clock` and the edge clock icon is `far fa-clock`.
The entire codebase has been migrated thanks to an automatic script you can download at https://gist.github.com/Julien00859/7992bb19dd5b801d91f1e2baa1f4cc98 . While the script is fast, detect most fonts and correctly translate most of them, there are a few patterns it does not detect or cannot automatically translate.
Among others, here are a few patterns that need to be manually translated :
* CSS rules, e.g. `.fa-star-o { color: gold; }`.
* Javascript tests, e.g. `testUtils.dom.click('.fa-start-o');`.
* Code-controlled icons, e.g. `$('i.fa').toggleClass('fa-star').toggleClass('fa-start-o');`.
* Dynamic icon injection, e.g. `<i t-att-class="'fa ' + (stared ? 'fa-star' : 'fa-star-o')">`.
Task: 2050241