Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 14 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.16 MB
Module directory on disk
Code analysis 0 migration notes 4 models 3 views 0 HTTP endpoints

Description

Regroup moves at the same location when they reach an operation type.

Example of use case:

  • We use several operation types for Picking Transfers (Pick Shelves, Pick Reserve)
  • We use several operation types for Packing (Pack, Pack Post)
  • The "Checkout Synchronization" flag is activated on the 2 Packing operation types
  • The Packing can occur in several areas (Packing/PACK1, Packing/PACK2, Packing/PACK3)

Based on these assumptions, we have these pickings, all for the same order:

  • SHELF001, pick 2 goods in the shelves
  • RESER001, pick 2 goods in the reserve
  • PACK001, pack 3 of the goods (2 from SHELF001, 1 from RESER001)
  • PPOST001, pack the remaining good of the reserve

The operator uses the button "Checkout Sync" on a pick transfer, for instance SHELF001, and select Packing/PACK2 as destination. We want all the lines that reach PACK001 to be updated with:

  • The move lines (except the one that goes to PPOST001) must now reach Packing/PACK2
  • The same moves' destination must reach Packing/PACK2 as well: we constrain the user to move the goods there as we want to move all the goods at the same place for the packing.
  • As the moves' destinations are updated to the same packing location, new move lines will have the correct destination as well

Notes:

Works best when used with stock_available_to_promise_release:

  • When using the mentioned module, we assume that we release moves (which creates the whole chain of moves) only when we know that we have the quantities in stock (otherwise the module splits the delivery). Any exception (which is now rare when you release this ways) that would lead to a backorder is handled by canceling the remaining line.
  • When the module is not used, then the destination of the backorders may be changed at the same time

Compatible with stock_dynamic_routing.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
shopfloor_checkout_sync, stock_dynamic_routing_checkout_sync

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
view_picking_form stock.picking.form stock.picking form Inherits stock.view_picking_form
view_picking_type_form_inherit Operation Types Inherit stock.picking.type form Inherits stock.view_picking_type_form
view_stock_move_checkout_sync stock.move.checkout.sync.form stock.move.checkout.sync form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (1)
  • sync_checkout_destination(self, location)

New fields (8)
  • dest_picking_id Many2one → stock.picking
    comodel_name='stock.picking' help='Destination operation for these moves.' readonly=True required=True
  • done_dest_picking_ids Many2many → stock.picking
    comodel_name='stock.picking' relation='stock_move_checkout_sync_stock_picking_done_dest_rel'
  • location_id Many2one → stock.location
    comodel_name='stock.location' help='Destination location where all the moves will be sent.'
  • move_ids Many2many → stock.move
    comodel_name='stock.move' readonly=True
  • picking_ids Many2many → stock.picking
    comodel_name='stock.picking' required=True
  • picking_type_location_id Many2one
    readonly=True related='dest_picking_id.picking_type_id.default_location_src_id'
  • remaining_help Html
    readonly=True
  • show_skip_button Boolean
Public methods (2)
  • skip_to_next(self)
  • sync(self)

New fields (1)
  • can_sync_to_checkout Boolean
    compute='_compute_can_sync_to_checkout' help='Technical field. Indicates if the button to synchronize the destination towards a checkout location is visible.'
Public methods (1)
  • open_checkout_sync_wizard(self, done_picking_types=None)

New fields (1)
  • checkout_sync Boolean
    help='When checked, a button on transfers allow users to select a single location for all moves reaching this operation type. On selection, all the move lines are updated with the same destination.' string='Checkout Synchronization'
Public methods (0)

No public methods.

Loading…

Loading…