Guewen Baconnier cfa3c8ee1a 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"
2023-07-14 09:20:31 +02:00
2023-01-30 12:09:30 +01:00
2023-07-04 14:08:30 +00:00
2023-04-26 07:39:53 +00:00
2023-04-25 08:51:25 +00:00
2023-03-10 13:03:22 +00:00
2023-05-12 17:07:09 +00:00
2023-06-29 23:34:16 +00:00
2023-04-20 08:10:16 +00:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2023-01-30 12:09:30 +01:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2023-07-04 14:08:26 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

stock-logistics-warehouse

TODO: add repo description.

Available addons

addon version maintainers summary
account_move_line_product 16.0.1.0.0 Displays the product in the journal entries and items
account_move_line_stock_info 16.0.1.1.0 Account Move Line Stock Info
scrap_reason_code 16.0.1.1.0 bodedra Reason code for scrapping
stock_demand_estimate 16.0.1.1.0 Allows to create demand estimates.
stock_helper 16.0.1.1.0 Add methods shared between various stock modules
stock_location_lockdown 16.0.1.0.1 Prevent to add stock on locked locations
stock_location_position 16.0.1.0.0 Add coordinate attributes on stock location.
stock_location_product_restriction 16.0.1.0.0 lmignon rousseldenis Prevent to mix different products into the same stock location
stock_location_zone 16.0.1.0.1 Classify locations with zones.
stock_move_auto_assign 16.0.1.1.0 Try to reserve moves when goods enter in a location
stock_move_auto_assign_auto_release 16.0.1.1.0 Auto release moves after auto assign
stock_move_common_dest 16.0.1.0.1 Adds field for common destination moves
stock_move_location 16.0.1.2.0 This module allows to move all stock in a stock location to an other one.
stock_mts_mto_rule 16.0.1.0.0 Add a MTS+MTO route
stock_packaging_calculator 16.0.1.0.1 Compute product quantity to pick by packaging
stock_picking_commercial_partner 16.0.1.0.0 Add Commercial Partner on the Stock Picking
stock_picking_volume 16.0.1.0.0 lmignon Compute volume information on stock moves and pickings
stock_picking_volume_packaging 16.0.1.0.0 Use volume information on potential product packaging to compute the volume of a stock.move
stock_quant_cost_info 16.0.1.0.0 Shows the cost of the quants
stock_quant_manual_assign 16.0.1.0.0 Stock - Manual Quant Assignment
stock_reserve 16.0.1.1.0 Stock reservations on products
stock_route_mto 16.0.1.0.0 Allows to identify MTO routes through a checkbox and availability to filter them.
stock_search_supplierinfo_code 16.0.1.0.1 Allows to search for picking from supplierinfo code
stock_storage_category_capacity_name 16.0.1.0.0 Allows to have a better display name for Stock Storage Category Capacity model
stock_warehouse_calendar 16.0.1.0.0 JordiBForgeFlow Adds a calendar to the Warehouse

Unported addons

addon version maintainers summary
stock_package_type_button_box 16.0.1.0.0 (unported) rousseldenis DEPRECATED - This module is a technical module that allows to fill in a button box for Stock Package Type form view

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (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%