| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/stock-logistics-workflow |
| GIT | |
| GIT | https://github.com/OCA/stock-logistics-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_lot_remove |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV, BCIM |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV, BCIM |
| COMMITTERS | |
| COMMITTERS | Laurent Mignon (ACSONE), OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/stock-logistics-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:12:03 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - product_expiry |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This addon allows to automatically remove stock quants with a past removal date, regardless of whether they are reserved or not. On each warehouse, you can enable the automatic removal of lots with a past removal date. Every day, for each warehouse where the automatic removal is enabled, a cron job will launch the process to remove past removal date quants. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_lot_removal_wizard_form_view |
stock.lot.removal.wizard | form | New | |
stock_picking_type_form_view |
stock.picking.type | field | Inherits stock.view_picking_type_form | |
stock_warehouse_form_view |
stock.warehouse | group | Inherits stock.view_warehouse |
description
Html
compute='_compute_description'
help='This wizard will generate removal moves for the quants of the lots to remove from the selected warehouse to the designated destination location'
removal_date
Date
default=fields.Date.context_today
help='Lots with removal date before this date will be moved.'
required=True
string='Expiration Date'
warehouse_id
Many2one → stock.warehouse
default=<expr>
required=True
string='Warehouse'
args: 'stock.warehouse'
action_run(self)
button_action_run(self)
get_transfer_picking_vals(self, quants, moves_unreserved)
disable_unassign_lots_to_remove
Boolean
help='If checked, the unassignment of lots to remove will be disabled for this picking type. This is useful for picking types that should not allow unassigning lots, such as those used for expired lot removal.'
string='Disable Unassign Lots to Remove'
No public methods.
lot_remove_enabled
Boolean
help='If checked, a move will be planned reserving the expired lot.'
string='Enable Expired Lot Removal'
lot_remove_orig_location_ids
Many2many → stock.location
comodel_name='stock.location'
compute='_compute_lot_remove_orig_location_ids'
help='Locations from which expired lots will be moved.'
readonly=False
store=True
string='Expired Lot Origin Locations'
lot_remove_picking_type_id
Many2one → stock.picking.type
comodel_name='stock.picking.type'
help='Picking type used for moving expired lots.'
string='Expired Lot Move Picking Type'
No public methods.