Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales Management
Folder size
0.07 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
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
OCA-git-bot, oca-ci, Borruso
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module provides the possibility to define split strategies to be
applied on sales order for splitting.

This is useful (but not only) when a sales order from external sources (webshop, edi) includes
products that need to be shipped by different standards (temperature/environment)
and so with different carriers.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_config_settings_view_form_sale_exception res.config.settings form Inherits sale.res_config_settings_view_form
sale_order_split_strategy_view_form sale.order.split.strategy.view.form sale.order.split.strategy form New
sale_order_split_strategy_view_tree sale.order.split.strategy.view.tree sale.order.split.strategy list New
split_from split_from ir.ui.view qweb New
split_to split_to ir.ui.view qweb New
view_order_form sale.order.form sale.order form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • sale_order_split_strategy_errors Selection
    default='raise_errors' required=True args: [('raise_errors', 'Raise errors'), ('post_message', 'Post message'), ('do_nothing', 'Do nothing')]
Public methods (0)

No public methods.

New fields (1)
  • sale_order_split_strategy_errors Selection
    readonly=False related='company_id.sale_order_split_strategy_errors'
Public methods (0)

No public methods.

New fields (1)
  • split_strategy_id Many2one → sale.order.split.strategy
    comodel_name='sale.order.split.strategy' help='The strategy that will be used to split the sales order'
Public methods (1)
  • action_split(self, silent_errors=False)

New fields (6)
  • copy_notes Boolean
  • copy_sections Boolean
  • line_filter_id Many2one → ir.filters
    domain="[('model_id', '=', 'sale.order.line')]" required=True args: 'ir.filters'
  • name Char
    required=True
  • remove_empty_sections_after_split Boolean
  • sequence Integer
    default=10
Public methods (0)

No public methods.

Loading…

Loading…