Daily updates from Odoo
Monday, December 2, 2019
5 changes · master
Enhancements to existing features
Mail template previews are easier to understand and now show more of what customers will receive before messages are sent. When a template cannot be generated, users get a clearer explanation of the first problem instead of a generic error.
Original PR description
- [REF] mail: refactor mail template preview: The preview of a mail template was badly named, error message was incomplete/confusing and a bug was present dependent on the nature of the code. Then, we choose to do a complete refactor to avoid future bugs, to give better user feedback in some cases and improve in general the user experience for the preview feature. - [IMP] mail: improve error mail generation: The template render of mail raise inadequate error. Improve it to indicate why the template fails to build (only the first error encounter). task-2085912 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 eLearning course search now makes active filters visible, allows multiple tag selections, and lets users remove individual filters easily. This helps learners find relevant courses faster and also fixes an error that occurred when searching documentation.
Original PR description
Premises: - Tags have a unique ID - Tags also have a category. - Categories are represented by dropdown boxes in the search bar. - The search bar has a text field that allows to enter custom search…
Premises: - Tags have a unique ID - Tags also have a category. - Categories are represented by dropdown boxes in the search bar. - The search bar has a text field that allows to enter custom search terms. - Courses have a preview card where tags are also displayed. - It's possible to view all "My courses". - When a tag is selected, or a search term is entered, or the user wants to see his courses, a button titled "Clear Filters" appears in the search bar. Before this commit: - There is no visual indication to what are the selected filters. - The user can only select one tag in each dropdown box. - When the user selects a tag on one course card, this tag replaces all other filters. - When the user enters custom search terms, it replaces all other filters. - When searching a documentation, a stacktrace appears. After this commit: - Selected tags appear as little tag boxes under the search bar. - The custom search terms appear as one tag box. - It's possible to remove a search tag by clicking on the cross present in each little box. - It's possible to select multiple tags in each dropdown box. - Tags in course cards work the same as tags in dropdown boxes, and add themselves to the list of filters. - To generate the list of courses to display, a logical OR is operated between tags of the same group, and a logical AND is operated between groups of tags. - A logical AND is operated between the custom search terms and other filters. - A logical AND is operated between the "My courses" options and other filters. - Bug when searching a documentation is fixed. Task ID: 2080617 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 account form view has been adjusted to make it easier for users to work with accounting records. These usability improvements should help finance teams navigate and manage account information more efficiently.
This update lets companies mark asset accounts so vendor bill lines create one asset per item quantity instead of one combined asset. It improves asset tracking when multiple identical items are purchased on the same bill, making depreciation and inventory-style follow-up clearer.
Original PR description
Add a setting allowing to manage items. Newly created assets for this kind of account (with the checkbox checked) will generate 1 asset per quantity set on the bill. e.g. If the bill line quantity is 5 then Odoo will generate 5 assets (instead of 1 global asset) task : https://www.odoo.com/web?#id=2081662&action=327&model=project.task&view_type=form&menu_id=4720
Email links to Odoo records can now open directly in the Odoo mobile app when it is installed. If the app is not available, users are sent to the normal browser link, giving a smoother experience from emails on mobile devices.
Original PR description
Before this commit, when an email containing a link was sent
there was no possibility to redirect to the linked content in
the mobile app.
After this commit, all links related to a model will be prefixed with
a custom link (FireBase Dynamic Links).
Using this allows us to open the mobile app if installed or redirect
to the normal link within a browser if the user don't have it.
Note that:
* we force to provide an absolute URL to avoid dynamic-links
with relative links.
* The domain used ("https://redirect-url.email") is our own property but
directly point to Firebase server.
Ref:
* https://firebase.google.com/docs/dynamic-links/#how_does_it_work
Task ID: 1895451