Repository
OCA/wms · module folder · Try on Runboat
Module version
1.0.4
Category
Warehouse Management
Folder size
0.23 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/wms
Last tracking update
2026-08-07 08:09:26
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Laurent Mignon (ACSONE), Denis Roussel, sbejaoui, Sébastien Alix, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
stock_available_to_promise_release_dynamic_routing
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_stock_routing_form stock.routing.form stock.routing form New
view_stock_routing_search stock.routing.search stock.routing search New
view_stock_routing_tree stock.routing stock.routing tree New
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 (0)

No new fields.

Public methods (1)
  • write(self, values)

New fields (1)
  • canceled_by_routing Boolean
    default=False help='Technical field. Indicates the transfer is canceled because it was left empty after a dynamic routing.'
Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' index=True ondelete='cascade' required=True
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' help='Apply this routing only if the operation type of the move is the same.' required=True string='Operation Type'
  • routing_message Html
    compute='_compute_routing_message'
  • rule_ids One2many → stock.routing.rule
    comodel_name='stock.routing.rule' inverse_name='routing_id' string='Routing Rules'
  • sequence Integer
    default=<expr>
Public methods (0)

No public methods.

New fields (9)
  • location_dest_id Many2one → stock.location
    comodel_name='stock.location' compute='_compute_location_dest_id'
  • location_src_id Many2one → stock.location
    comodel_name='stock.location' compute='_compute_location_src_id'
  • method Selection
    help='On pull, the routing is applied when the source location of a move line matches the source location of the rule. On push, the routing is applied when the destination location of a move line matches the destination location of the rule.' selection=[('pull', 'Pull'), ('push', 'Push')]
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' help='Operation type that will be applied on the move.' required=True
  • routing_id Many2one → stock.routing
    comodel_name='stock.routing' ondelete='cascade' required=True
  • routing_location_id Many2one
    index=True related='routing_id.location_id' store=True
  • routing_picking_type_id Many2one
    help='Routing applied only on moves of this operation type.' index=True related='routing_id.picking_type_id' store=True
  • rule_domain Char
    default=[] help='Domain based on Stock Moves, to define if the routing rule is applicable or not.' string='Source Routing Domain'
  • sequence Integer
    default=<expr>
Public methods (0)

No public methods.

Loading…

Loading…

Loading…