Saturday, May 24, 2025
6 changes
Resolved issues and error corrections
This fixes an issue that could prevent WinBooks accounting imports from creating records correctly after a platform change. The update keeps the import workflow compatible so businesses can continue importing accounting data without interruption.
Original PR description
Due to this commit: https://github.com/odoo/odoo/commit/420c64c9e9d4b3b0f3e51f1a41774587a04fbf2e (PR: https://github.com/odoo/odoo/pull/197868), create now only accepts list or tuples and this one raise because it was using dict_values. opw-4803277
When a calendar event is linked to an existing sales opportunity, the system now checks whether a meeting reminder already exists before creating a new one. This prevents duplicate activities, reducing clutter and helping sales teams keep opportunity follow-ups accurate.
Original PR description
Prevent scheduling a meeting activity if one already exists when linking a calendar event to an existing opportunity. Also ensures that activities are only created when necessary by checking for existing activities on the opportunity, avoiding redundant calls to `activity_schedule`. Task-4747036
Fixes crashes that happened when restaurant staff cleared product or category filters, or selected a time filter, in the preparation display. This makes the preparation screen more reliable during daily point-of-sale operations.
Original PR description
Steps to reproduce: - Select a category/product filter in the preparation display - Click on "clear all filters" => traceback - Select a time filter => traceback Fix: The first traceback is caused by a refactoring mistake where preparationDisplay was changed by prepDisplay. The second traceback is due to calling a method that doesn't exist, the method is now added in this commit.
This change ensures barcode inventory tests always enable lot and serial number tracking before running. It prevents occasional test failures caused by missing setup, improving confidence in the barcode workflow checks without changing user-facing behavior.
Original PR description
This test assumes the lot/serial setting was enable before the test but it was not guarantied. Meaning the tour steps was sometimes failing on the `lot_id` field being invisible. runbot: 182040
The AI feature now handles property tag and selection fields that have no configured options without causing an error. This prevents interruptions when users click the AI button on incomplete or empty property settings.
Original PR description
Bug === When clicking on the AI button of a property tags, without tags (or on a selection without option / m2x without model), a traceback is raised. Task-4712395
The Barcode app no longer performs an unnecessary readiness count when opening manufacturing operations. This reduces avoidable background work and helps the manufacturing barcode screen load more efficiently without changing user workflows.
Original PR description
Issue ===== In `StockBarcodeKanbanRenderer` `onWillStart`, the python method `get_model_records_count` is called to fetch the number of ready picking or batch picking. The issue is this method is useless for manufacturing order but is called anywway. With this commit, this method is called only when needed. How to reproduce ================ - Install Inventory, Manufacturing and Barcode; - Inventory > Configuration > Settings > check "Batch, Wave & Cluster Transfers"; - Go in Barcode > Operations > Manufacturing: If you inspect calls, you'll see `get_model_records_count` is called.