Tuesday, December 1, 2020
8 changes · master
Enhancements to existing features
The IoT build process is updated to use Raspberry Pi OS 32-bit instead of the older Raspbian base. This helps keep Odoo's point of sale IoT image aligned with the current operating system platform for Raspberry Pi devices.
Original PR description
… IoT Change version of OS to build IoT From raspbian to raspberry pi os 32-bit 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 adds tools to generate realistic sample data for inventory, purchasing, manufacturing, products, suppliers, partners, and users. It helps teams test and demonstrate logistics workflows with richer, more representative data.
Original PR description
Populate for stock, purchase, mrp and supplier info
Accounting entries now keep the same tax tags users configured, even when tax amounts need their sign reversed for reporting. This reduces confusion in manual entries, cash-basis tax entries, and reconciliation write-offs while making tax report calculations more consistent.
Original PR description
The sign of tax tags sometimes could get inverted explicitly. It typically happened for misc operations, so :
- manual entries
- CABA entries
- writeoffs created from the reconciliation widget
We had to do things this way in stable to fix those use cases, but it's not ideal, as the tags shown to the user were inverted, so it was a bit confusing, as one would have expected to see the exact same tags as on tax configuration.
We fix that by using a boolean field on account.move.line telling whether or not the sign must be inverted. This allows keeping the same tags as in the tax config, and simplifies the computation of the tax report's multiplicator, making the overall model more intuitive for both user and developper.
Task 2363287Website visitor screens have been reorganized to make visitor data easier to read and analyze. Marketing users now see more relevant fields, clearer filters, multi-website context where applicable, and less technical clutter unless debug mode is enabled.
Original PR description
PURPOSE Make various changes to the website.visitor views to improve readability and ease marketing analysis. SPECS The changes include notably: - Add/rename/move fields/filters elements - Remove some unnecessary information or put it in optional="hide" in tree view - Add website_id information (with the multi-website group) - Slightly rework layouts (new widgets / spacing / images / buttons / ...) - Move some technical information into the "debug mode" LINKS Task 2092302 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
Accounting entries now keep the same tax tags users see in tax settings, avoiding confusing reversed labels in cases like manual entries, cash basis entries, and reconciliation write-offs. This makes tax reports easier to understand and improves consistency between configuration and reporting.
Original PR description
The sign of tax tags sometimes could get inverted explicitly. It typically happened for misc operations, so :
- manual entries
- CABA entries
- writeoffs created from the reconciliation widget
We had to do things this way in stable to fix those use cases, but it's not ideal, as the tags shown to the user were inverted, so it was a bit confusing, as one would have expected to see the exact same tags as on tax configuration.
We fix that by using a boolean field on account.move.line telling whether or not the sign must be inverted. This allows keeping the same tags as in the tax config, and simplifies the computation of the tax report's multiplicator, making the overall model more intuitive for both user and developper.
Task 2363287Website visitor screens were updated to make visitor information easier to read and support marketing analysis. Push notification filters were also moved and renamed to better match the updated website layout.
Original PR description
PURPOSE Make various changes to the website.visitor views to improve readability and ease marketing analysis. SPECS Move and rename the push notification filters to follow new community layouts. LINKS Task 2092302
Resolved issues and error corrections
Manufacturing work orders now calculate required non-tracked components correctly when producing more than originally planned, even if some components were already reserved. This helps avoid incorrect component consumption while keeping lot-tracked reservations tied to their specific lots.
Original PR description
The test from previously added feature allow a higher qty_producing than product_qty (i.e. originally planned) in a WO didn't properly consider non-zero reserved components. This change makes it so non-tracked components are correctly scaled to higher qty_producting amount, and also makes it so test does not expect lot tracked components to auto-scale when specific lot already reserved. Task: 2359317 COM PR: odoo/odoo#60300 Related Upgrade PR: odoo/upgrade#1868
The barcode app now handles unexpected packages and lot or serial numbers during batch picking without crashing or showing outdated information. This helps warehouse staff continue processing batches accurately when scanned items differ from what was originally expected.
Original PR description
These bugs are fixed in `stock_barcode` even if they happen when `stock_barcode_picking_batch` is installed, because the behavior of batch picking is very close to the picking one, but more restrictive. And so, it could create situations where the `stock_barcode_client_action` isn't prepared for.