Daily updates from Odoo
Friday, November 29, 2019
12 changes
Enhancements to existing features
The sales margin app now calculates product cost as a computed value, making margin information more consistent and easier to maintain. The change also cleans up related sales code, reducing complexity and supporting more reliable margin reporting.
Original PR description
And clean the code mess. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds clear identifiers to the main sections of configuration views, making future customizations easier and less error-prone. It helps developers and implementation teams target the right settings areas without relying on fragile layout positions, reducing maintenance risk for businesses.
Original PR description
Description of the issue/feature this PR addresses: Since all containers within a configuration view have the same class 'row mt16 o_settings_container' it doesn't allow for very clean/easy xpath expressions. By setting a name on evey major container we can do cleaner and safer xpath expressions that don't need any index or sub-xpaths.
Current behavior before PR: If you'd like to xpath into the purchase configuration view and and insert after the last element you'd have to create ugly xpaths with indexes. Something like `<xpath expr="//div[hasclass('o_settings_container'][3]" position="after"></xpath>`
Desired behavior after PR is merged: After this change you can do a clean and safer xpath expression like `<xpath expr="//div[@name='purchase_setting_container']" position="after"></xpath>`
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prAutomated actions that are scheduled to run later will now be checked more frequently based on the next pending action, rather than waiting up to four hours. This reduces delays and helps time-sensitive business rules execute closer to when they are expected.
Original PR description
The current 'Base Action Rule: check and execute' CRON search every four hours for delayed actions to run. This mean, any action scheduled later can be delayed up to four hours. We now dynamically reset the CRON frequency according to the least delayed automated action to minimize the potential gap. Task: 1998809
App detail pages now show when a module contains in-app purchases. This helps users make a more informed decision before installing an app that may involve additional paid services or features.
Original PR description
Purpose ======= There are no mentions that a module may contain In-App Purchases in Apps. We should inform the users of this so they make a conscious decision when installing such app. TaskID: 2129214 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
This update simplifies internal code that manages the music player service used by Odoo hardware drivers. It removes unnecessary logic and makes the service startup easier to maintain, with no expected change for end users.
Original PR description
We clean the code for the MPDManager by removing useless lines and simplifying the way we run the MPD server. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Discuss now shows an out-of-office ribbon at the top of conversations when relevant, making user availability clearer directly in chat. This helps colleagues understand delayed responses without leaving the conversation.
Original PR description
Task:https://www.odoo.com/web#id=2066672&action=333&active_id=1251&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.10a0bff2f37a00cc5a5618afa34797e7 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Reports can now include a customer's VAT number in contact information, making documents clearer and more complete for business use. The report editor also improves address formatting by offering a dropdown of common separator styles, such as line breaks, commas, dashes, bars, and slashes.
Original PR description
task - https://www.odoo.com/web#id=1904639&action=327&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.f757a193f55405fd6ba9a521aa3ead5b For better report understanding and sufficient information to convey, 'VAT' field is added in 'Display fields' option. And labels are also updated. For better usability, 'address separator' is a dropdown with the following options: 'Linebreak', 'Comma', 'Dash', 'Vertical bar', and 'Slash'.
This update improves the wording of labels and tooltips in the rental configurator, making the setup flow easier to understand for sales users. It helps reduce confusion when preparing rental quotations without changing the underlying rental process.
Original PR description
<b> Task:</b> https://www.odoo.com/web?#id=2123560&action=333&active_id=1725&model=project.task&view_type=form&menu_id=4720 <b> Pad:</b> https://pad.odoo.com/p/r.2316d6e3f2db6892d1a05757e966f6ae
Social media connection pages now show a proper error page when something goes wrong instead of displaying unclear text. This helps users understand the issue and guides them back to the Social app to continue their work.
Original PR description
Purpose ======= Clean social controllers to properly raise errors instead of returning random strings. Information =========== If an error occurs, we render the template ``social.social_http_error_view`` This template show the error message and ask the user to return to the social application. Task #2079126
Belgian payroll salary packages now separate train transportation from other public transportation, with each reimbursement calculated using the correct percentage and limits. This improves employee salary package accuracy and ensures public transport benefits are reflected correctly in wages, net pay, and payslips.
Original PR description
We should add a check box and rename the existing one to get: - "Train Transportation" - the employee select an amount - Odoo compute 80% of this amount - impact this on the wage and net (like "obonnement social") - "Other Public transportation" - the employee select an amount - Odoo compute 71.8% of this amount with a limit of - impact this on the wage and net (like "obonnement social") For both adapt the salary package TASK-ID: 2088278
This update removes unnecessary code from the IoT SixDriver component. It helps keep the codebase cleaner and easier to maintain, with no expected impact on day-to-day users.
Original PR description
Remove useless code from SixDriver
The report editor now makes address blocks easier to configure by offering clear separator choices and a simpler list of display fields, including VAT. These changes help users create clearer, more consistent business reports with less manual setup.
Original PR description
task - https://www.odoo.com/web#id=1904639&action=327&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.f757a193f55405fd6ba9a521aa3ead5b - For better usability, there should be options for address separator, for this purpose, drop down with options like: 'Line break', 'Space', 'Comma', 'Dash', 'Vertical bar', and 'Slash' have been added and default option is 'Line break'. - For better report understanding and sufficient information to convey, 'VAT' field is added in 'Display fields' option. And labels are also updated. - For better user interface , 'Display fields' design property has been improved. - Due to changes in 'displayed fields' labels, and also adding a 'VAT' field, test case for 'contact: many2many_select' has been updated. And adding options in 'address separator', new test case has been added.