Sale Stock Prebook

sale_stock_prebook
REPOSITORY
REPOSITORYOCA/sale-prebook
GIT
GIThttps://github.com/OCA/sale-prebook.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-prebook/tree/18.0/sale_stock_prebook
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, MT Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, MT Software
COMMITTERS
COMMITTERSGitHub, Weblate, OCA-git-bot, oca-ci, David Gallay
WEBSITE
WEBSITEhttps://github.com/OCA/sale-prebook
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits stock.stock_location_route_form_view
view_sale_order_form_reserve sale.order.form.reserve.simple sale.order button Inherits sale_stock.view_order_form_inherit_sale_stock
view_stock_rule_form stock.rule.form stock.rule field Inherits stock.view_stock_rule_form
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.

REPOSITORY
REPOSITORYOCA/sale-prebook
GIT
GIThttps://github.com/OCA/sale-prebook.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-prebook/tree/16.0/sale_stock_prebook
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, MT Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, MT Software
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), Weblate, OCA-git-bot, Michael Tietz, oca-ci, Nicolas Delbovier
WEBSITE
WEBSITEhttps://github.com/OCA/sale-prebook
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_route_view_form_inherit_prebook_dropshipment stock.route.form stock.route xpath Inherits stock.stock_location_route_form_view
view_sale_order_form_reserve sale.order.form.reserve.simple sale.order button Inherits sale_stock.view_order_form_inherit_sale_stock
view_stock_rule_form stock.rule.form stock.rule field Inherits stock.view_stock_rule_form
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

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 (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', 'Operation Type for Prebooking'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-prebook
GIT
GIThttps://github.com/OCA/sale-prebook.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-prebook/tree/14.0/sale_stock_prebook
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, MT Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, MT Software
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Weblate, OCA-git-bot, Michael Tietz, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-prebook
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_location_route_view_form_inherit_prebook_dropshipment stock.location.route.form stock.location.route xpath Inherits stock.stock_location_route_form_view
view_sale_order_form_reserve sale.order.form.reserve.simple sale.order button Inherits sale_stock.view_order_form_inherit_sale_stock
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

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 (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)
  • used_for_sale_reservation Boolean
    default=False
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.