Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
2.0.0
Category
Sales
Folder size
0.44 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 09:06:23
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Ricardoalso, Vincent Van Rossem, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of sales to allow you to block the
creation of deliveries from a sales order and give a reason.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
sale_stock_picking_blocking_reason_form_view sale.delivery.block.reason.form sale.delivery.block.reason form New
sale_stock_picking_blocking_reason_tree_view sale.delivery.block.reason.tree sale.delivery.block.reason list New
view_order_form sale.order form Inherits sale.view_order_form
view_partner_form res.partner form Inherits base.view_partner_form
view_payment_term_form account.payment.term form Inherits account.view_payment_term_form
view_sales_order_filter sale.order Inherits sale.view_sales_order_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • default_delivery_block_reason_id Many2one → sale.delivery.block.reason
    comodel_name='sale.delivery.block.reason' help='Set a reason to block by default the deliveries in this payment term sales orders.' string='Default Delivery Block Reason'
Public methods (0)

No public methods.

New fields (1)
  • default_delivery_block Many2one → sale.delivery.block.reason
    comodel_name='sale.delivery.block.reason' help='Set a reason to block by default the deliveries in this customer sales orders.' string='Default Delivery Block Reason'
Public methods (0)

No public methods.

New fields (3)
  • description Text
  • name Char
    required=True
  • sale_order_ids One2many → sale.order
    comodel_name='sale.order' inverse_name='delivery_block_id' readonly=True string='Sale Orders'
Public methods (0)

No public methods.

New fields (1)
  • delivery_block_id Many2one → sale.delivery.block.reason
    comodel_name='sale.delivery.block.reason' compute='_compute_delivery_block_id' store=True string='Delivery Block Reason' tracking=True
Public methods (1)
  • action_remove_delivery_block(self)
    Remove the delivery block and create procurements as usual.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…