Repository
OCA/stock-logistics-orderpoint · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-orderpoint
Last tracking update
2026-08-07 08:09:17
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Laurent Mignon (ACSONE), Denis Roussel, Weblate, oca-ci
Odoo dependencies
OCA/queue:
OCA/server-tools:
OCA/stock-logistics-availability:
OCA/stock-logistics-orderpoint:
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
- uom
Python dependencies
requests
System dependencies
None
Required by
None
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 form Inherits stock_location_orderpoint.stock_location_orderpoint_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.