Daily updates from Odoo
Thursday, July 25, 2019
13 changes
Resolved issues and error corrections
Scrapping products from completed receipts now starts from the received stock location and creates the related scrap move in draft first. This prevents duplicate inventory valuation entries when the scrap is processed, improving accuracy for warehouse and accounting operations.
Original PR description
In the receipts, you can only scrap after the reception. This implies that the source location of the scrap move is the destination location of the picking. Create the scrap move as draft, else in the receipt it used the state of the picking (done) and calling _action_done again resulted in double valuation layers task-2042399 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 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
Fixes wishlist and cart animations so they target the correct navigation bar when shoppers scroll and a floating menu appears. This prevents missing wishlist buttons and misdirected animations, creating a smoother shopping experience.
Original PR description
* = website_sale, website_sale_wishlist The wishlist animation was not handling the floating navbar and always refering to the fixed one. Now the animation will target the right navbar if we scroll down. When the navbar is duplicated, the ids of the tags were kept wich is wrong and was producoing bugs such as wishlist button not showing up on the floating navbar on the first product added to the wishlist and the first issue. Now the id is removed from the clone and never used in JS code. It's only purpose is for the xpath of the wishlist button. When a product is added to the cart from the wishlist and the floating navbar is displayed, the product is hidden before the animation is ompleted. This changes the height of the page and the animation goes to the middle of the page instead of the button. This is now fixed too. task-2002122
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
Invoices created outside the standard screen, such as through demo data or imports, now automatically receive the correct taxes and units of measure on their lines. This helps prevent incorrect invoice details and reduces manual corrections for accounting teams.
Original PR description
With this change the account invoice line taxes and uom will be properly computed when creating an invoice from demo data and import functionality. -- 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