Guewen Baconnier 2b2194afd1 Revert "Optimize SQL queries when searching a rule"
This reverts commit 768f186fd2.

Which is not more optimized, the optimization based on parent_path
doesn't make sense here as the ORM will read parent_path in the location
and get the parent ids by splitting the ids, it doesn't need more than
one query on stock_location which is done based on its id and can reuse
the cache, there is no lookup on parent path for parent_of.

>>> env["stock.reserve.rule"].search([("location_id", "parent_of", 3125)])
2020-05-27 05:36:59,938 1 DEBUG log_p odoo.sql_db: query: SELECT "stock_location"."id" as "id","stock_location"."name" as "name","stock_location"."complete_name" as "complete_name","stock_location"."active" as "active","stock_location"."usage" as "usage","stock_location"."location_id" as "location_id","stock_location"."comment" as "comment","stock_location"."parent_path" as "parent_path", <stripped>,"stock_location"."create_uid" as "create_uid","stock_location"."create_date" as "create_date","stock_location"."write_uid" as "write_uid","stock_location"."write_date" as "write_date" FROM "stock_location" WHERE "stock_location".id IN (3125)
2020-05-27 05:36:59,942 1 DEBUG log_p odoo.sql_db: query: SELECT "stock_reserve_rule".id FROM "stock_reserve_rule" WHERE (("stock_reserve_rule"."active" = true)  AND  ("stock_reserve_rule"."location_id" in (1,7,8,133,134,135,144,207,3125))) ORDER BY "stock_reserve_rule"."sequence" ,"stock_reserve_rule"."id"
2021-08-11 11:55:48 +02:00
2021-07-30 08:16:35 +00:00
2021-02-22 12:47:59 +00:00
2021-01-26 16:33:25 +00:00
2021-03-23 09:53:43 +00:00
2021-02-19 17:07:06 +00:00
2021-02-16 13:01:23 +00:00
2021-05-09 01:54:07 +00:00
2021-04-19 13:32:20 +00:00
2021-03-18 17:08:19 +00:00
2021-06-16 07:05:59 +00:00
2021-02-15 12:26:34 +00:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2021-05-14 19:33:48 +02:00
2020-10-08 21:50:29 +02:00
2021-05-14 19:33:48 +02:00
2020-11-01 22:33:05 +01:00
2020-12-11 20:21:16 +01:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2021-07-30 08:16:32 +00:00

Runbot Status Build Status codecov Translation Status

stock-logistics-warehouse

TODO: add repo description.

Available addons

addon version summary
scrap_reason_code 14.0.1.0.0 Reason code for scrapping
stock_available 14.0.1.0.2 Stock available to promise
stock_available_immediately 14.0.1.0.0 Ignore planned receptions in quantity available to promise
stock_available_mrp 14.0.1.0.2 Consider the production potential is available to promise
stock_demand_estimate 14.0.1.1.0 Allows to create demand estimates.
stock_demand_estimate_matrix 14.0.1.0.0 Allows to create demand estimates.
stock_free_quantity 14.0.1.0.0 Stock Free Quantity
stock_generate_putaway_from_inventory 14.0.1.0.0 Generate Putaway locations per Product deduced from Inventory
stock_helper 14.0.1.0.0 Add methods shared between various stock modules
stock_inventory_preparation_filter 14.0.1.0.0 More filters for inventory adjustments
stock_location_children 14.0.1.0.0 Add relation between stock location and all its children
stock_location_lockdown 14.0.1.0.0 Prevent to add stock on locked locations
stock_location_position 14.0.1.0.0 Add coordinate attributes on stock location.
stock_move_common_dest 14.0.1.0.0 Adds field for common destination moves
stock_move_location 14.0.1.0.0 This module allows to move all stock in a stock location to an other one.
stock_orderpoint_move_link 14.0.1.0.0 Link Reordering rules to stock moves
stock_packaging_calculator 14.0.1.0.1 Compute product quantity to pick by packaging
stock_picking_cancel_confirm 14.0.1.0.1 Stock Picking Cancel Confirm
stock_pull_list 14.0.1.0.0 The pull list checks the stock situation and calculates needed quantities.
stock_quant_manual_assign 14.0.1.1.0 Stock - Manual Quant Assignment
stock_request 14.0.1.0.1 Internal request for stock
stock_request_picking_type 14.0.1.0.0 Add Stock Requests to the Inventory App
stock_search_supplierinfo_code 14.0.1.0.0 Allows to search for picking from supplierinfo code
stock_warehouse_calendar 14.0.1.0.1 Adds a calendar to the Warehouse

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
Odoo Warehouse Management Addons
Readme 142 MiB
Languages
HTML 50.9%
Python 48.2%
JavaScript 0.8%
SCSS 0.1%