Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing from upstream OCA/stock-logistics-workflow (18.0) #1388

Merged
merged 21 commits into from
Jan 29, 2025

Conversation

bt-admin
Copy link

bt_gitbot

sergio-teruel and others added 21 commits January 28, 2025 09:04
When installing `stock_barcode` before installing this module, this one cannot be installed later.

@moduon MT-3005
Currently translated at 100.0% (10 of 10 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_owner_restriction
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_owner_restriction/es/
- Switch to setUpClass for avoiding repeat the same setup for each test.
- Include context keys for avoiding mail operations overhead.
- Include context keys for avoiding mail operations overhead.
…eated with owner instead of reducing the original quant when a return is made by assigning owner.

Needed to avoid this restriction when packages are used:
https://github.com/odoo/odoo/blob/11d81b2145e95c50481101a63d3ad1d244279af4/addons/stock/models/stock_move.py#L1739
TT46054
Signed-off-by pedrobaeza
@bt-admin bt-admin added the 18.0 label Jan 29, 2025
@bt-admin bt-admin merged commit 426e7b4 into brain-tec:18.0 Jan 29, 2025
4 checks passed
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 97.00599% with 5 lines in your changes missing coverage. Please review.

Project coverage is 89.43%. Comparing base (add06eb) to head (36ca80c).
Report is 32 commits behind head on 18.0.

Files with missing lines Patch % Lines
stock_owner_restriction/__init__.py 71.42% 2 Missing ⚠️
stock_owner_restriction/models/product.py 90.00% 0 Missing and 2 partials ⚠️
stock_owner_restriction/models/stock_move.py 96.77% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             18.0    #1388      +/-   ##
==========================================
+ Coverage   88.20%   89.43%   +1.23%     
==========================================
  Files          54       63       +9     
  Lines        1026     1193     +167     
  Branches      110      123      +13     
==========================================
+ Hits          905     1067     +162     
- Misses         84       86       +2     
- Partials       37       40       +3     

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

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.