Daily updates from Odoo
Thursday, July 25, 2019
15 changes · master
Enhancements to existing features
This improves how Odoo reports automated test failures, making the details appear immediately and closer to the relevant test output. It reduces duplicate or unhelpful log messages, helping developers diagnose issues faster without changing business features.
Original PR description
Righ now, the unittest log system is a little bit blurry. -> Using TextTestResult for almost nothing (implementation needs reduced to minimal in OdooTestRunner -> Using a testStream to transform write on stream in logs and filtering crap added by TextTestResult The proposed solution -> Simplified implementation of runner to keep only what we need -> Use a custom OdooTestResult to log errors Side effetcs (or improvements) ->Traceback are now printed in a single log when test fails, not at the end of the suite This is particularly convenient if a test logs some info when failing, traceback will be display next to it. -> Less 'useless' error logs like 'FAILED'
The manual replenishment source document label can now appear in the user's language, such as Chinese. This improves clarity for international users creating purchase requests from product replenishment.
Original PR description
Description of the issue/feature this PR addresses: Let "Manual Replenishment" translatable. Current behavior before PR: Use the button **Replenish** on product form view. A new Requests for Quotation is created with Source Document set to "Manual Replenishment". Desired behavior after PR is merged: Use the button **Replenish** on product form view. In China, A new Requests for Quotation is created with Source Document set to "手动补给". -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The web interface now allows domain field dialogs to receive context from the surrounding screen. This helps dialogs show more relevant options and behave consistently with the user’s current workflow.
Original PR description
Description of the issue/feature this PR addresses: Extends the domain field widget. Current behavior before PR: No context can be passed to the dialog. Desired behavior after PR is merged: Context can be passed to the dialog. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fixes how file size unit labels are prepared for translation in the web interface. It prevents punctuation used as an internal separator from being translated incorrectly, helping file sizes display consistently across languages.
Original PR description
Before this commit, the string containing all size units for binary fields was comma separated. The problem with this is that comma got also translated into the language's specific comma-like, whereas in this case it is obviously a technical separator which shouldn't be translated After this commit, we separate unit size with pipes (|), hoping that this character - is easy to find on any keyboard - has no language specific equivalent OPW 2041975 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 fixes a problem that could appear when upgrading the core Base module, such as during migrations from older Odoo versions to master. The change helps make upgrades more reliable and reduces the risk of migration interruptions.
Original PR description
The bug triggers during an upgrade of base (tested while migrating from 12.0 to master). Introduced at 074074e5704601b5f74b81b9ca3eb870a4f23482
This fixes how Odoo sends actions to connected scales through the IoT hardware drivers. Scale actions can now receive structured parameters, making device commands more reliable and easier to extend.
Original PR description
Scale action took a string as argument. It now takes a dict so parameters can be passed to action methods. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small spelling mistake in the Slovenia localization module's setup information. The correction helps the system read the module version properly and avoids confusion during module management.
Original PR description
Description of the issue/feature this PR addresses: fixes typo in manifest key Current behavior before PR: Manifest key is `versiom` Desired behavior after PR is merged: Manifest key is `version` -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix moves the scale device script back to the correct point-of-sale IoT asset area. It helps ensure connected weighing scales load properly in POS setups while keeping the change limited and internal.
Original PR description
The scale.js file was declared in the wrong template. It was moved back where other iot device assets are declared until a proper assets.xml file is created.
The point-of-sale IoT scale integration now sends information in a more flexible format when triggering scale actions. This fixes an issue that limited what data could be passed, helping scale-related workflows behave correctly as they evolve.
Original PR description
Scale action took a string as argument. It now takes a dict so parameters can be passed to action methods.
The Indian payroll demo data has been updated so it installs correctly after a required setup field was introduced. This helps keep demo and testing environments usable for payroll scenarios without manual fixes.
Original PR description
Demo data were not installing because type_id is now required
This update adjusts an internal automated test for rental sales so it no longer depends on items appearing in a specific order. It helps keep quality checks stable and reduces false test failures without changing customer-facing behavior.
Original PR description
In some case, order can change making the test indeterminist This fix ensures that order doesn't matter
This fix removes duplicate sidebar templates in Odoo Studio. It helps keep the Studio interface definitions clean and reduces the risk of inconsistent behavior or maintenance issues.
Original PR description
remove the duplicate template: * web_studio.Sidebar.Warning.Groups, * web_studio.Sidebar.Toolbox Task: 1999528
Incoming VoIP calls from saved contacts now display the partner's name instead of only their phone number. This makes it easier for users to recognize callers and handle calls more efficiently.
Original PR description
Set a phone number on a partner, make that partner call Odoo, his phone number is shown instead of his name. opw-2034004
Documentation and clarification updates
This pull request adds a corporate Contributor License Agreement form for BADEP to the repository documentation. It supports legal compliance for contributions and does not affect product functionality or end users.
Original PR description
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 pull request updates the contributor license agreement record for an individual contributor by adding another email address. This helps keep legal contribution records accurate and ensures the contributor can be properly associated with their work.
Original PR description
Description of the issue/feature this PR addresses: Update my email -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr