Tuesday, March 9, 2021
5 changes · master
Resolved issues and error corrections
This change fixes a typo that could cause automated mass mailing jobs to crash when their recipient rules matched multiple records. It improves reliability for scheduled email campaigns without changing how users create or send mailings.
Original PR description
Sometimes it crashed when the domain used for the mailing cron returned more than one record source commit: 1738f9c8f7188ac4f6e50f771c78905bd3d9396b 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
Point of Sale now handles electronic payment cancellation more reliably when using Worldline terminals. This prevents checkout disruption when a customer has already inserted their card and the cashier needs to cancel the payment.
Original PR description
With Worldline, the cancel command fails when the card was already inserted. TaskID: 2415526 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes a website image gallery issue where thumbnail previews could disappear and be replaced by an arrow when adding the snippet. This keeps the gallery preview working as expected for website editors and improves the page-building experience.
Original PR description
When the snippet was dropped, the miniatures were disappearing and replaced by an arrow. It was due to the wrongly calculated index when the snippet was initialized, as the jquery method .index() will still return -1 when no element is found. task-2472041 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a broken website editor option that lets users control whether snippets are visible on mobile devices. Restoring this option helps website managers keep pages responsive and present the right content to mobile visitors.
Original PR description
Conflict between a fix in 14.0 (see [1]) and an improvement in master (see [2]) broke the feature (because both introducing a JS option for the feature). [1]: https://github.com/odoo/odoo/commit/9463f0f889f9dd8da6077895c125da4998a933c0 [2]: https://github.com/odoo/odoo/commit/25173a4c29b57a01cbe415de439f2da0f4760507
This fixes an issue where extra components added to a confirmed manufacturing order in tablet view could be counted twice when only part of the order was processed and a backorder was created. The correction helps keep material consumption accurate, reducing inventory discrepancies and production cost errors.
Original PR description
When adding components to a confirmed MO in tablet view, then not processing the full quantity at once and creating a backorder for the remaining quantity, the consumption of the added components in the first backorder is not correct. There was a duplication of the move line of the added components, doubling its used quantity. This duplication came from the lack of move line in the quality check created with the additional component. Not seeing this move line, a new one was created in the _next method of mrp_workorder.