Stock Reservation
stock_reserve · OCA/stock-logistics-reservation
OCA/stock-logistics-warehouse 7.0–17.0 → OCA/stock-logistics-reservation 18.0
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Description
Allows to create stock reservations on products.
Each reservation can have a validity date, once passed, the reservation is automatically lifted.
The reserved products are substracted from the virtual stock. It means that if you reserved a quantity of products which bring the virtual stock below the minimum, the orderpoint will be triggered and new purchase orders will be generated. It also implies that the max may be exceeded if the reservations are canceled.
If ownership of stock is active in the stock settings, you can specify the owner on the reservation.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_form_view_reservation_button |
product.product.reservation.button | product.product | form | Inherits product.product_normal_form_view |
product_template_form_view_reservation_button |
product.template.reservation.button | product.template | form | Inherits product.product_template_only_form_view |
view_stock_reservation_form |
stock.reservation.form | stock.reservation | form | New |
view_stock_reservation_search |
stock.reservation.search | stock.reservation | search | New |
view_stock_reservation_tree |
stock.reservation.tree | stock.reservation | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
reservation_countFloatcompute='_compute_reservation_count'string='# Sales'
-
action_view_reservations(self)
-
reservation_countFloatcompute='_compute_reservation_count'string='# Sales'
-
action_view_reservations(self)
-
date_validityDateargs: 'Validity Date' -
move_idMany2one → stock.moveindex=Trueondelete='cascade'readonly=Truerequired=True args: 'stock.move', 'Reservation Move' -
noteTextstring='Notes'
-
assign_waiting_confirmed_reserve_moves(self)@api.model -
default_get(self, fields_list)@api.modelFix default values - Ensure default value of computed field `product_qty` is not set as it would raise an error - Compute default `location_id` based on default `picking_type_id`. Note: `default_picking_type_id` may be present in context, so code that looks for default `location_id` is implemented here, because it relies on already calculated default `picking_type_id`. -
get_location_from_ref(self, ref)@api.modelGet a location from a xmlid if allowed :param ref: tuple (module, xmlid) -
open_move(self) -
release_reserve(self)Release moves from reservation -
release_validity_exceeded(self, ids=None)@api.modelRelease all the reservation having an exceeded validity date -
reserve(self)Confirm reservations The reservation is done using the default UOM of the product. A date until which the product is reserved can be specified. -
unlink(self)Release the reservation before the unlink -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…