Tuesday, December 1, 2020
9 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 2363287Closing the website editor no longer leaves behind a browser warning when users try to leave the page. This removes an unnecessary interruption and makes the editing experience smoother.
Original PR description
Avoid having a warning pop-up after the wysiwyg editor is closed. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website 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
Inventory reservations can now be configured by operation type, letting businesses choose whether stock is reserved immediately, manually, or only near the scheduled date. This helps prevent future orders from taking stock needed for urgent work, while the old just-in-time procurement module is folded into sales inventory logic.
Original PR description
Currently stock moves are auto-assigned (i.e. reserve free stock) both when the scheduler is run and when a corresponding stock move that can assign a move is completed. This strictness was causing…
Currently stock moves are auto-assigned (i.e. reserve free stock) both when the scheduler is run and when a corresponding stock move that can assign a move is completed. This strictness was causing issues for prioritization of moves to assign, for example a picking with a scheduled_date far in the future could automatically reserve all stock if it was created before another picking that an immediate scheduled_date. To ease this, an extra setting has been added to stock.picking.type to let users choose how reservations should occur for moves assigned to that picking_type (or picking with that picking_type) when the move is already confirmed: 1. 'at_confirm' = automatically when new stock becomes available or when the scheduler is triggered. 2. 'manual' = user must always manually click "Check Availability" button (scheduler will no longer reserve). 3. 'by_date' = automatically when new stock becomes available or when the scheduler is run within the move's reservation_date. 'by_date' has an extra option of # days before the move's scheduled date that affects the move.reservation_date. Additionally, because this new feature overlaps with the `procurement_jit` module's functionality, we remove the module and ensure its logic is reproduced directly in `sale_stock`. Task: 2359317 Upgrade PR: odoo/upgrade#1868 ENT PR: odoo/enterprise#15050 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Product ribbons in the website shop now show a readable label based on their HTML content instead of a generic technical record number. This makes back-office lists easier to understand and helps staff identify ribbons more quickly.
Original PR description
Model `product.ribbon` doesn't have 'name' field or '_rec_name' which displays record like `product.ribbon,1` in list. Now, we are using `html` field for display. Fixes #60204 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