Sale Stock Prebook
sale_stock_prebook · OCA/sale-prebook
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
6 models
3 views
0 HTTP endpoints
Description
Add process to prebook a sale order's stock before confirming it
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_route_view_form_inherit_prebook_dropshipment |
stock.route.form | stock.route | form | Inherits stock.stock_location_route_form_view |
view_sale_order_form_reserve |
sale.order.form.reserve.simple | sale.order | form | Inherits sale_stock.view_order_form_inherit_sale_stock |
view_stock_rule_form |
stock.rule.form | stock.rule | form | Inherits stock.view_stock_rule_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (1)
-
stock_is_reservedBooleancompute='_compute_stock_is_reserved'store=True
-
action_confirm(self) -
release_reservation(self) -
reserve_stock(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
used_for_sale_reservationBooleandefault=False
No public methods.
New fields (1)
-
no_sale_stock_prebookBooleanhelp='If set no stock will be prebooked, for configured Products with this route'
No public methods.
New fields (1)
-
prebook_picking_type_idMany2one → stock.picking.typecheck_company=Truedomain="[('code', 'in', picking_type_code_domain)] if picking_type_code_domain else []"help="This operation type will be used for prebooking stock for sale orders. It's therefore only relevant for rules that are used for sale order lines."required=False args: 'stock.picking.type'
No public methods.
Loading…
Loading…
Loading…