-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
[17.0][MIG] stock_lock_lot: Migration to 17.0 #1686
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the web client, if you type a new lot name and select "create" from the pop-up menu, the client calls the `create()` method with only the name attribute. All the other fields must be passed in the context. As a consequence, stock_lock_lot silently failed to block the lots because it didn't find the product. Fix it by looking for a product id in both the create values and the context.
* Log the reason when a lot is automatically locked This is useful whe custom submodules can lock lots for other reasons. Additional changes : fix the default value for the blocked checkbox (no big deal, it was overwritten anyway) ; migrate create to api v8 ; use AccessError when permissions are wrong. * Unreserve quants when blocking lots Users block lots when there is a problem with it (eg. quality issue), and it's important that no delivery is made when such a problem is found. So blocking is more important than reservations. So, ask for user confirmation when blocking, and then break the reservations. Includes translation into French
… on blocked Serial Numbers/lots." is set as True every time the DB is updated
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-13.0/stock-logistics-workflow-13.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-13-0/stock-logistics-workflow-13-0-stock_lock_lot/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-13.0/stock-logistics-workflow-13.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-13-0/stock-logistics-workflow-13-0-stock_lock_lot/
Currently translated at 50.0% (8 of 16 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
Currently translated at 100.0% (16 of 16 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/
Currently translated at 47.5% (19 of 40 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/
Currently translated at 48.7% (19 of 39 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
Currently translated at 51.2% (20 of 39 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
Currently translated at 28.2% (11 of 39 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/ca/
Currently translated at 100.0% (39 of 39 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_lock_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_lock_lot/it/
arantxa-s73
force-pushed
the
17.0-mig-stock_lock_lot
branch
from
August 30, 2024 07:42
baf19bb
to
cac7c72
Compare
/ocabot migration stock_lock_lot |
dreispt
approved these changes
Jan 7, 2025
rousseldenis
requested changes
Jan 7, 2025
arantxa-s73
force-pushed
the
17.0-mig-stock_lock_lot
branch
from
January 7, 2025 16:17
cac7c72
to
aa76179
Compare
rousseldenis
reviewed
Jan 7, 2025
arantxa-s73
force-pushed
the
17.0-mig-stock_lock_lot
branch
from
January 8, 2025 07:06
aa76179
to
b1304f6
Compare
arantxa-s73
force-pushed
the
17.0-mig-stock_lock_lot
branch
from
January 8, 2025 07:07
b1304f6
to
6ffb98e
Compare
rousseldenis
approved these changes
Jan 8, 2025
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 32396f1. Thanks a lot for contributing to OCA. ❤️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.