Daily updates from Odoo
Thursday, July 25, 2019
10 changes
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