Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.0

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

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

Description

This module will help to clean generated moves from stock location orderpoints.

Dependencies

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

Code analysis

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

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.