Daily updates from Odoo
Thursday, February 7, 2019
9 changes · master
New functionality added to Odoo
Brussels is now included in Belgium's list of provinces or states in Odoo. This helps users find and select Brussels more easily, reducing confusion during address or localization setup.
Original PR description
Even if Brussels is not a province in Belgium, poeple are confused to not see it in the states of Belgium
Enhancements to existing features
Calendar reminders now show the reminder type as part of their name, making them easier to identify when selecting reminders for events or appointment types. This improves day-to-day usability, especially when multiple reminders have similar timing or incomplete names.
Original PR description
**Description of the issue/feature this PR addresses**: - Task: https://www.odoo.com/web#id=1923205&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.0165b10b77f8f0c63d1ea5d67e506dd4 **Current behavior before PR:** -name field was not having alarm_type as prefix. **Desired behavior after PR is merged:** -name field will have alarm_type as it's prefix. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
User language settings are now easier to understand. The previously blank default language option is labeled as "System (English)", and English is clarified as "English (US)", reducing confusion when users update their preferences.
Original PR description
Task: https://www.odoo.com/web?#id=1921583&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.e51fff205012519edae42a3b4ebdbad9
Calendar reminder demo records now include the reminder type in their displayed names. This makes it easier for users to identify and select the right reminders when configuring appointments or calendar events.
Original PR description
**Description of the issue/feature this PR addresses**: - Task: https://www.odoo.com/web#id=1923205&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.0165b10b77f8f0c63d1ea5d67e506dd4 **Current behavior before PR:** -demo data is not having alarm_type as prefix. **Desired behavior after PR is merged:** -demo data will have alarm_type as prefix. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Intrastat code form view has been visually improved to use a clearer sheet-style layout. This makes the form more consistent with other Odoo screens and easier for users to read and edit.
Original PR description
Before improvement:  After improvement: 
Resolved issues and error corrections
Belgian VAT numbers are now normalized to include the required leading zero when needed. This helps ensure VAT details appear correctly on official Belgian reports and compliance documents.
Original PR description
Odoo Accept the following mask for vat encoding : BE0477472701 BE.0.477.472.701 BE.477.472.701 BE477.472.701 BE477472701 But, in certain cases we have to add the zero to be compliance (i.e. belgian official reports...). -> http://www.tvaintracommunautaire.eu/belgique.html This commit make use of the compact method defined in stdnum.be.vat (which is used by vatnumber in order to validate the vat). The compact method return a 10 digits vat number starting with a 0 which is compliant with the official reports. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change removes outdated email-escaping behavior from HTML sanitization so valid HTML content is no longer altered unexpectedly. It helps prevent issues such as embedded images or links containing @ symbols being incorrectly escaped.
Original PR description
Related to #30326 Before #30326, when calling html_sanitize, some content may be escaped when it shouldn't. A simple example was images with cid links containing @. (a first fix for another use case was made in 8aff53733b6ca1dd6f8074834ada1baaab3910d5) We suspect that this escaping (added in 71a92f46e4e223a3bad0e27ececa2ece3c09f5d1) was made to avoid loosing email with format '<email@domaine>' in html_sanitize to escape them if html_sanitize is called on plain text. Anyway, only html should be passed to html_sanitize, and therefore email of format <email@domain> should already be escaped. PR #30326 fixes the unwanted behaviour in 12.0 and this commit removes this logic in master.
This update removes unused layout elements from a website configuration view. The change makes the view simpler to maintain and easier for future customizations, without changing how users interact with the website.
Original PR description
Description of the issue/feature this PR addresses: Remove elements that have no use in the view Current behavior before PR: The view has `div` elements and `groups` within `group`, while both are not needed. Desired behavior after PR is merged: The redundant elements are removed, which makes the view much cleaner to inherit. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update removes duplicated internal code from the eLearning/Slides area that likely came from a previous merge conflict. It does not change visible features, but it makes the code easier to maintain and reduces the risk of future inconsistencies.