Stock Available to Promise Release - Block from Sales

sale_stock_available_to_promise_release_block
REPOSITORY
REPOSITORYOCA/wms
GIT
GIThttps://github.com/OCA/wms.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/wms/tree/16.0/sale_stock_available_to_promise_release_block
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV, BCIM, Camptcamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV, BCIM, Camptcamp
COMMITTERS
COMMITTERSSébastien Alix, Weblate, OCA-git-bot, Michael Tietz, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/wms
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/wms:
    - sale_stock_available_to_promise_release
    - stock_available_to_promise_release
    - stock_available_to_promise_release_block
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
    - delivery
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
unblock_release_view_form unblock.release.form unblock.release form New
view_move_release_tree stock.move field Inherits stock_available_to_promise_release_block.view_move_release_tree
view_order_form sale.order div Inherits sale.view_order_form
view_order_line_tree_inherit_sale_stock sale.order.line field Inherits sale_stock.view_order_line_tree_inherit_sale_stock
view_sales_order_line_filter sale.order.line filter Inherits sale.view_sales_order_line_filter
Models touched (5)

New fields (5)
  • available_move_to_unblock_count Integer
    compute='_compute_available_move_to_unblock_ids'
  • available_move_to_unblock_ids One2many → stock.move
    comodel_name='stock.move' compute='_compute_available_move_to_unblock_ids' help='Available moves to unblock for this order.' string='Available moves to unblock'
  • block_release Boolean
    default=False help='Block the release of the generated delivery at order confirmation.' readonly=True states={'draft': [('readonly', False)]}
  • move_to_unblock_count Integer
    compute='_compute_move_to_unblock_count'
  • move_to_unblock_ids One2many → stock.move
    comodel_name='stock.move' help='Moves to unblock when the current order is confirmed.' inverse_name='unblocked_by_order_id' readonly=True string='Moves To Unblock'
Public methods (4)
  • action_confirm(self)
  • action_open_available_move_to_unblock(self)
  • action_open_move_need_release(self)
  • action_open_move_to_unblock(self)

New fields (2)
  • is_release_blocked Boolean
    compute='_compute_is_release_blocked' search='_search_blocked_delivery' string='Has Blocked Delivery'
  • release_blocked_label Char
    compute='_compute_release_blocked_label' string='Release Blocked'
Public methods (0)

No public methods.

New fields (1)
  • unblocked_by_order_id Many2one → sale.order
    comodel_name='sale.order' index=True ondelete='set null' readonly=True string='Unblocked by order'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • date_deadline Datetime
    compute='_compute_date_deadline' readonly=False required=True store=True
  • move_ids Many2many → stock.move
    comodel_name='stock.move' readonly=True string='Delivery moves'
  • option Selection
    default='automatic' help='- Manual: schedule blocked deliveries at a given date;\n- Automatic: schedule blocked deliveries as soon as possible;\n- Based on current order: schedule blocked deliveries with the contextual sale order.' required=True selection=<expr>
  • order_id Many2one → sale.order
    comodel_name='sale.order' readonly=True string='Order'
  • order_line_ids Many2many → sale.order.line
    comodel_name='sale.order.line' readonly=True string='Order Lines'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • validate(self)