Daily updates from Odoo
Navigate
Branch
Wednesday, March 4, 2020
12 changes
New functionality added to Odoo
Website editors can now apply additional preset shapes and layouts to images, including stacked, pill, and leaf styles. This gives teams more visual flexibility when creating pages without needing custom design work.
Original PR description
- [Stacked](https://drive.google.com/open?id=1N-1eAMnKcPDRFmuan_gXuLiIFi7q-vrX) - [Pill](https://drive.google.com/open?id=1CTJrnouopv4ji7uqoKL60-qAsMglTrZm) - [Leaf](https://drive.google.com/open?id=10yQ7lj9YVd2-pemgYjWURCrew2AzE0Vz) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Adds Finnish localization reports for balance sheet, profit and loss, and EU VAT reporting. This helps Finnish companies use Odoo with reports aligned to local accounting and tax requirements, including updated legal report lines and demo data for easier setup.
Original PR description
[EDIT] closed for the benefit of https://github.com/odoo/enterprise/pull/8999 task: https://www.odoo.com/web#id=35180&action=327&model=project.task&view_type=form&menu_id=4720 pad: https://pad.odoo.com/p/r.365a0940902a621f5c57d8995c179d3f
Enhancements to existing features
The manufacturing app now makes it easier to upload, view, edit, download, and delete production-related documents directly from the document cards. Users can preview files, including images, from the Kanban view, reducing extra steps when managing manufacturing files.
Original PR description
Task : https://www.odoo.com/web#id=1960733&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://www.odoo.com/web#id=1960733&action=327&model=project.task&view_type=form&menu_id=4720 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 Studio shortcut in the top navigation has been repositioned between Activities and the company switcher. This makes the menu order more consistent and easier for users to scan when accessing Studio or changing companies.
Original PR description
PURPOSE Move studio systray icon in between Activities and Company Switcher SPECIFICATION Move the studio icon between the activities and the company switcher TASK 2186309
Code cleanup and technical improvements
A file type handling helper was moved out of the Documents app into a shared Odoo toolkit. This prepares the feature to be reused by other apps, including Community edition modules, without changing how users interact with Documents today.
Original PR description
This method will be used later in other module(s) than Document. Especially in Community version ones. Task : 1960733
Miscellaneous changes
Before this commit, the media-dialog was reading all attachments that matched certain criteria for each tab. On large databases, this results in the search_read call timing out, preventing the media-dialog from opening and making all images and documents un-editable. This commit fixes that by reading the attachments page by page, and only reading the next page as needed. task-2198527 Forward-Port-Of: odoo/odoo#46802 Forward-Port-Of: odoo/odoo#45494
Original PR description
Before this commit, the media-dialog was reading all attachments that matched certain criteria for each tab. On large databases, this results in the search_read call timing out, preventing the media-dialog from opening and making all images and documents un-editable. This commit fixes that by reading the attachments page by page, and only reading the next page as needed. task-2198527 Forward-Port-Of: odoo/odoo#46802 Forward-Port-Of: odoo/odoo#45494
Revert of old editor (35b6182) has reintroduce code invalid. Now the data is wrapped in message (f8fe314e7) Remove guarded that raise a warning, it is the default behavior now. 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 Forward-Port-Of: odoo/odoo#46465
Original PR description
Revert of old editor (35b6182) has reintroduce code invalid. Now the data is wrapped in message (f8fe314e7) Remove guarded that raise a warning, it is the default behavior now. 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 Forward-Port-Of: odoo/odoo#46465
### Issue - Install CRM, Discuss - Have 2 languages (e.g. french english) - User 1 > French - User 2 > English - Create an activity as user 1 for user 2 - As user 2, check discuss > history Notification received in french ### Cause mail_activity action_notify method uses the context language which is the active user language. ### Solution If user 2 has a language set, use this language for translating body template (self) and activity type (activity) **
Original PR description
### Issue - Install CRM, Discuss - Have 2 languages (e.g. french english) - User 1 > French - User 2 > English - Create an activity as user 1 for user 2 - As user 2, check discuss > history Notification received in french ### Cause mail_activity action_notify method uses the context language which is the active user language. ### Solution If user 2 has a language set, use this language for translating body template (self) and activity type (activity) **OPW-2205409** -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#46632
Forward-Port-Of: odoo/enterprise#8903
Original PR description
Forward-Port-Of: odoo/enterprise#8903
(1) Before this commit, when a user wanted to cancel the trigger of the action by swipping in the opposite direction, the item's background remains gray and the parent wasn't scrollable anymore. Indeed, The DOM was not restored if you swipped in the opposite way before the second threshold; It worked if you did it after this boundary. Return was called preventing the DOM to be fixed. Now the DOM is restored as it should be but we had to "reorganise" (/rewrite is probably a word to prosc
Original PR description
(1) Before this commit, when a user wanted to cancel the trigger of the action by swipping in the opposite direction, the item's background remains gray and the parent wasn't scrollable anymore.…
(1) Before this commit, when a user wanted to cancel the trigger of the action by swipping in the opposite direction, the item's background remains gray and the parent wasn't scrollable anymore. Indeed, The DOM was not restored if you swipped in the opposite way before the second threshold; It worked if you did it after this boundary. Return was called preventing the DOM to be fixed. Now the DOM is restored as it should be but we had to "reorganise" (/rewrite is probably a word to proscribe as this is a fix) because specs changed and it will be easier to add future fixes (if needed) in a more concise source code. (2) We also add a small improvement to progressively display the action icon when you are swipping. By doing this, you know when you must release your finger to be able to execute the action. We also fix the icon alignement. Steps to reproduce (for point 1): * On mobile, open the SysTray Messaging * Then swipe on a thread that have an unread message without releasing the touch * Swipe in the opposite before the threshold (< 15px) * Then release the touch * Now the parent element of initial touch is not scrollable anymore => BUG Task ID : 2198394 Forward-Port-Of: odoo/enterprise#8870
In a shift, if we select a template without role, we keep the role set on shift. task ID: 2202613 Forward-Port-Of: odoo/enterprise#8991 Forward-Port-Of: odoo/enterprise#8760
Original PR description
In a shift, if we select a template without role, we keep the role set on shift. task ID: 2202613 Forward-Port-Of: odoo/enterprise#8991 Forward-Port-Of: odoo/enterprise#8760
Dots. There can only be one, and it ain't that one. Remove the suffix between the main name and the prefix. opw-2202763 Forward-Port-Of: odoo/enterprise#8865
Original PR description
Dots. There can only be one, and it ain't that one. Remove the suffix between the main name and the prefix. opw-2202763 Forward-Port-Of: odoo/enterprise#8865