Stock picking reallocation

stock_picking_reallocation
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_picking_reallocation
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInventory
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Florian Mounier
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_picking_reallocation_form stock.picking.reallocation.form stock.picking.reallocation form New
view_picking_form stock.picking field Inherits stock.view_picking_form
Models touched (3)

New fields (2)
  • current_reallocation_id Many2one → stock.picking.reallocation
    compute='_compute_current_reallocation_id' args: 'stock.picking.reallocation'
  • reallocation_ids One2many → stock.picking.reallocation
    args: 'stock.picking.reallocation', 'picking_id', 'Reallocations'
Public methods (2)
  • action_confirm(self)
  • reallocate(self)

New fields (11)
  • demand Float
    related='move_id.product_uom_qty' string='Demand'
  • edited Boolean
    default=False string='Edited'
  • move_id Many2one → stock.move
    args: 'stock.move', 'Move'
  • product_name Char
    related='move_id.product_id.name' string='Product'
  • quantity_1 Float
    args: 'Date 1'
  • quantity_2 Float
    args: 'Date 2'
  • quantity_3 Float
    args: 'Date 3'
  • quantity_4 Float
    args: 'Date 4'
  • quantity_5 Float
    args: 'Date 5'
  • reallocation_id Many2one → stock.picking.reallocation
    args: 'stock.picking.reallocation', 'Reallocation'
  • unchanged Boolean
    default=False string='Unchanged'
Public methods (5)
  • onchange_quantity_1(self)
    @api.onchange('quantity_1')
  • onchange_quantity_2(self)
    @api.onchange('quantity_2')
  • onchange_quantity_3(self)
    @api.onchange('quantity_3')
  • onchange_quantity_4(self)
    @api.onchange('quantity_4')
  • onchange_quantity_5(self)
    @api.onchange('quantity_5')

New fields (9)
  • allocation_ids One2many → stock.picking.allocation
    default=<expr> args: 'stock.picking.allocation', 'reallocation_id', 'Allocations'
  • date_1 Datetime
    default=<expr> required=True string='Date 1'
  • date_2 Datetime
    required=True string='Date 2'
  • date_3 Datetime
    string='Date 3'
  • date_4 Datetime
    string='Date 4'
  • date_5 Datetime
    string='Date 5'
  • name Char
    default=<expr> required=True string='Name'
  • picking_id Many2one → stock.picking
    args: 'stock.picking', 'Initial Picking'
  • state Selection
    copy=False default='draft' index=True readonly=True string='Status' args: [('draft', 'Draft'), ('done', 'Done'), ('cancel', 'Cancelled')]
Public methods (5)
  • cancel(self)
  • onchange_date_3(self)
    @api.onchange('date_3')
  • onchange_date_4(self)
    @api.onchange('date_4')
  • onchange_date_5(self)
    @api.onchange('date_5')
  • reallocate(self)