Repository
OCA/sale-prebook · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-prebook
Last tracking update
2026-08-07 08:43:07
Authors
Odoo Community Association (OCA), BCIM, MT Software
Maintainers
Odoo Community Association (OCA), BCIM, MT Software
Committers
GitHub, Weblate, OCA-git-bot, oca-ci, David Gallay
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_order_blanket_order_stock_prebook, sale_stock_prebook_stock_available_to_promise_release
Description
Add process to prebook a sale order's stock before confirming it

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
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_reserved Boolean
    compute='_compute_stock_is_reserved' store=True
Public methods (3)
  • 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_reservation Boolean
    default=False
Public methods (0)

No public methods.

New fields (1)
  • no_sale_stock_prebook Boolean
    help='If set no stock will be prebooked, for configured Products with this route'
Public methods (0)

No public methods.

New fields (1)
  • prebook_picking_type_id Many2one → stock.picking.type
    check_company=True domain="[('code', '=?', picking_type_code_domain)]" 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'
Public methods (0)

No public methods.

Loading…

Loading…