Stock obsolete
stock_obsolete · OCA/stock-logistics-workflow
Health
49/100
poor
-
Security19/252 minor findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis
7 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
ProductProduct— Class 'ProductProduct' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceStockLocation— Class 'StockLocation' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceproduct_product_obsolet_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcewizard_product_obsolescence— Class 'wizard_product_obsolescence' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcewizard_product_obsolescence— Class 'wizard_product_obsolescence' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) migration-openerp-import · 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
Add a special view and wizard on product to check the validity of each
stock product, with an amount of depreciation. Your finance can now
take in charge a factor for each product, based on the depreciation
value for each product. You can set the depreciation value based on the
out of stock amount for each product for the last 12/24 months.
Important: this module does not offer a way to change
product depreciation.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_obsolet_form_view |
product.normal.inherit.stock_obsolete.form | product.product | form | Inherits product.product_normal_form_view |
product_product_obsolet_tree_view |
product.product.tree | product.product | tree | New |
wizard_product_obsolescence_form_view |
wizard.product.obsolescence.form | wizard.product.obsolescence | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
button_open(self, cr, uid, ids, context=None) -
button_report(self, cr, uid, ids, context=None)
Loading…
Loading…
Loading…