Stock Location Orderpoint Cleanup
stock_location_orderpoint_cleanup · OCA/stock-logistics-orderpoint
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
stock_location_orderpoint_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module will help to clean generated moves from stock location orderpoints.
Dependencies
- Odoo dependencies
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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.modelThis method should be called by crons -
run_cleanup_method(self, replenish_method='fill_up', run_after=False)@api.modelThis 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_idsMany2many → stock.location.orderpointcomodel_name='stock.location.orderpoint'name='Orderpoints'ondelete='cascade' -
run_afterBooleanhelp='Check this if you want to run the orderpoint after cleanup.'
-
default_get(self, fields_list)@api.model -
doit(self)
New fields (0)
No new fields.
Public methods (0)No public methods.