Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_order_blanket_order_stock_prebook

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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', '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'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…