Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
Category
Sales Management
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-13 11:13:55
Authors
Camptocamp, Akretion, Odoo Community Association (OCA), Sodexis
Maintainers
Camptocamp, Akretion, Odoo Community Association (OCA), Sodexis
Committers
hparfr, OCA-git-bot, oca-ci, chaule97
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_automatic_workflow_stock_job
Description
Create stock related workflows with more or less automatization and
apply it on sales orders.

Workflows are extended with:

- Apply default values:
  - Packing Policy (partial, complete)
- Apply automatic actions:
  - Confirm the picking

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
sale_workflow_process_view_form_inherit sale.workflow.process.form.stock sale.workflow.process form Inherits sale_automatic_workflow.sale_workflow_process_view_form
sale_workflow_process_view_tree_inherit sale.workflow.process.tree.stock sale.workflow.process tree Inherits sale_automatic_workflow.sale_workflow_process_view_tree
view_order_form_inherit_sale_stock sale.order.form.sale.stock sale.order form Inherits sale_stock.view_order_form_inherit_sale_stock
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • picking_policy Selection
    compute='_compute_picking_policy' readonly=False store=True
Public methods (0)

No public methods.

New fields (4)
  • picking_filter_domain Text
    related='picking_filter_id.domain' string='Picking Filter Domain'
  • picking_filter_id Many2one → ir.filters
    default=<expr> string='Picking Filter' args: 'ir.filters'
  • picking_policy Selection
    default='direct' selection=[('direct', 'Deliver each product when available'), ('one', 'Deliver all products at once')] string='Shipping Policy'
  • validate_picking Boolean
    string='Confirm and Transfer Picking'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • workflow_process_id Many2one → sale.workflow.process
    comodel_name='sale.workflow.process' string='Sale Workflow Process'
Public methods (1)
  • validate_picking(self)
    Set quantities automatically and validate the pickings.

Loading…