Monday, April 27, 2020
12 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 event kanban view is easier to use, especially on mobile, with better spacing between key action links. The Confirmed button now opens the kanban view directly, helping users reach the expected event overview faster.
Original PR description
There were 2 imp. to help clarify kanban view: 1. In kanban view on Mobile, add some space between the two clickable links (expected & confirmed). 2. The "Confirmed" button land on kanban view instead of pivot view. Task ID 2228562 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo has been migrated from Font Awesome 4 to Font Awesome 5, modernizing the icon library used throughout the product. This improves visual consistency and keeps the interface aligned with a newer, supported icon standard across many screens and modules.
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.…
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
Partner commission records now provide clearer guidance through a tooltip and keep track of the referrer on customer invoices. This helps teams better understand and audit commission-related partner information.
Original PR description
See https://github.com/odoo/enterprise/pull/10202 + track Referrer on account.move
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-2226586Odoo Studio now limits file choices to image files when uploading an app icon or changing a background. This makes the upload process clearer and helps users avoid selecting unsupported files such as PDFs or documents.
Original PR description
purpose of this commit is when we try to upload an icon on studio it display all files like image,pdf etc but after this commit we are able to display only image file. task: 2184803
This 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
This update adds safeguards to ensure key mobile app connection routes keep working when server changes are made. It also cleans up the mobile web code organization, making future maintenance safer without changing app behavior.
Original PR description
The main purpose of this PR is to add unit tests for the routes used by our mobile applications (Android/iOS) to prevent a change made on the server to break involuntarily those apps. In addition, this PR clean up some parts of the `web_mobile` module. Task ID: 2149384
Unused layout settings related to mass mailing editing were removed from the web enterprise styling. This simplifies maintenance without changing visible functionality for users.
Original PR description
This PR removes few of the scss variables which were specifically added for making mass mailing edition occupy available space within notebook tab, but are not useful anymore. TaskID - 2207637 Closes https://github.com/odoo/enterprise/pull/9446
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: 2050241Font-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