-
-
Notifications
You must be signed in to change notification settings - Fork 33
[18.0][MIG] stock_location_orderpoint: Migration to 18.0 #38
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
[18.0][MIG] stock_location_orderpoint: Migration to 18.0 #38
Conversation
|
/ocabot migration stock_location_orderpoint |
607a55d to
c2ff5a5
Compare
a0c6abc to
ec028a6
Compare
bdfd4f7 to
4b429f0
Compare
mt-software-de
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx. This is fine also your FIX.
Just the test-requirements.txt commit needs to be removed.
test-requirements.txt
Outdated
| odoo-addon-stock_available_base_exclude_location @ git+https://github.com/OCA/stock-logistics-availability.git@refs/pull/51/head#subdirectory=stock_available_base_exclude_location | ||
| odoo_test_helper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those changes can be dropped. Since the PR is merged.
@mt-software It failed locally twice and then never again but I changed nothing... |
Declare orderpoint on a location allowing to replenish any product with the same criteria
If the database contains billion of stock moves, deletion of an orderpoint can take a great amount of time. Add an index to avoid that.
- Improve sql unique constraint - Add priority field to tree view
Currently translated at 100.0% (49 of 49 strings) Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/it/
As in some configuration, Reception could be under the refilled location (e.g. : Stock) and if an incoming move is confirmed to the refilled location, no replenishment will be triggered as the virtual_available quantity will be > 0.
…dict with recordset
…ntities_dict with recordset" This reverts commit 0e0e0d0.
Uses the last cron run date as date criteria into the domain used to detect new incming moves that could trigger a replenishment when the replenishments scheduler is triggered by cron. Uses the move date in place of the write_date to filter moves. write_date is not indexed and we are only interested when moves are created or are done. Split the query to get moves that could trigger a replenishment: One for the incoming and an other one for the consuming. This is required to avoid a query with a OR between 2 complex domain. We prefer to make 2 queries instead of 1 with a big OR statement because the query planner is not able to use the indexes properly
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/
Currently translated at 100.0% (55 of 55 strings) Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/it/
Currently translated at 70.9% (39 of 55 strings) Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/fr/
Currently translated at 100.0% (55 of 55 strings) Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/tr/
Currently translated at 100.0% (55 of 55 strings) Translation: stock-logistics-orderpoint-16.0/stock-logistics-orderpoint-16.0-stock_location_orderpoint Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint/tr/
Compute orderpoint for products when the need is on a child location of the orderpoint location
a39e326 to
d904273
Compare
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at f45a0b1. Thanks a lot for contributing to OCA. ❤️ |


cc @mt-software-de @rousseldenis
Depends on:
Includes: