TIP: You can type at any time to perform a new search.
Stock Reservation
stock_reserve · OCA/stock-logistics-reservation
- Repository
- OCA/stock-logistics-reservation · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Warehouse
- Folder size
- 1.61 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-reservation
- Last tracking update
- 2026-08-07 08:43:06
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, rjaraspearhead
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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)
New fields (1)
-
reservation_countFloatcompute='_compute_reservation_count'string='# Sales'
-
action_view_reservations(self)
New fields (1)
-
reservation_countFloatcompute='_compute_reservation_count'string='# Sales'
-
action_view_reservations(self)
New fields (3)
-
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…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 48 days ago
- Last activity
- 48 days ago
- Repository
- OCA/stock-logistics-reservation
- Pull request
- [19.0][MIG] stock_reserve: Migration to 19.0 (#59)