Stock Location Orderpoint Cleanup

stock_location_orderpoint_cleanup
REPOSITORY
REPOSITORYOCA/stock-logistics-orderpoint
GIT
GIThttps://github.com/OCA/stock-logistics-orderpoint.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-orderpoint/tree/16.0/stock_location_orderpoint_cleanup
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, Weblate, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-orderpoint
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/queue:
    - queue_job
OCA/server-tools:
    - base_partition
OCA/stock-logistics-availability:
    - stock_available_base_exclude_location
OCA/stock-logistics-orderpoint:
    - stock_location_orderpoint
OCA/stock-logistics-warehouse:
    - stock_helper
odoo/odoo:
    - base
    - stock
    - product
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module will help to clean generated moves from stock location orderpoints.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_location_orderpoint_cleanup_form_view stock.location.orderpoint.cleanup.form (in stock_location_orderpoint_cleanup) stock.location.orderpoint.cleanup form New
stock_location_orderpoint_form stock.location.orderpoint.form stock.location.orderpoint button Inherits stock_location_orderpoint.stock_location_orderpoint_form
Models touched (3)

New fields (0)

No new fields.

Public methods (4)
  • cleanup(self, run_after=False)
    This method will launch the cleanup process as a queue job.
  • get_cleanup_action(self)
  • run_cleanup(self, orderpoints=False, run_after=False)
    @api.model
    This method should be called by crons
  • run_cleanup_method(self, replenish_method='fill_up', run_after=False)
    @api.model
    This method should be called by crons. e.g.: We have plenty of orderpoints but we know which replenish method should be cleaned.

New fields (2)
  • orderpoint_ids Many2many → stock.location.orderpoint
    comodel_name='stock.location.orderpoint' name='Orderpoints' ondelete='cascade'
  • run_after Boolean
    help='Check this if you want to run the orderpoint after cleanup.'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • doit(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.