Skip to content

Syncing from upstream OCA/wms (16.0)#657

Merged
bt-admin merged 13 commits intobrain-tec:16.0from
OCA:16.0
Apr 16, 2026
Merged

Syncing from upstream OCA/wms (16.0)#657
bt-admin merged 13 commits intobrain-tec:16.0from
OCA:16.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

rousseldenis and others added 13 commits April 13, 2026 18:16
… been populated

    In the case of no product mixing, if a destination location has already been computed and
    in the meantime, the location has been populated by another product, the computation
    still propose the same location.

    Exclude locations in that case.
…uantity

    The current implementation was triggerring queries (read_group). Rely now
    on ORM to get records as 'quant_ids' field exists on locations
… filled in

If every possible destination location (e.g.: for pickable stock) is filled in with
products, but with one outgoing move is in progress (picked but not yet validated),
the location should become available to store incoming products.

The putaway strategy should propose that location. So, add a condition to select 'empty' and
'being emptied' locations along with the 'location_will_contain_product/lot_ids' property to
avoid too much restriction
Fix computation of location will contain product/lot
The content constrain can be manage by stock_location_product_restriction or stock_location_package_restriction modules.
Removed from this module
Signed-off-by jbaudoux
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: wms-16.0/wms-16.0-stock_storage_type
Translate-URL: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-stock_storage_type/
@bt-admin bt-admin added the 16.0 label Apr 16, 2026
@bt-admin bt-admin merged commit cd9823c into brain-tec:16.0 Apr 16, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 96.15385% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.83%. Comparing base (d89032b) to head (76f0f92).
⚠️ Report is 216 commits behind head on 16.0.

Files with missing lines Patch % Lines
stock_storage_type/models/stock_location.py 95.23% 1 Missing and 1 partial ⚠️
stock_storage_type/models/stock_quant.py 33.33% 0 Missing and 2 partials ⚠️
...tock_storage_type/models/stock_storage_category.py 94.11% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #657      +/-   ##
==========================================
+ Coverage   94.78%   94.83%   +0.04%     
==========================================
  Files         605      604       -1     
  Lines       26450    26497      +47     
  Branches     1830     1834       +4     
==========================================
+ Hits        25071    25128      +57     
+ Misses        996      985      -11     
- Partials      383      384       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants