Putaway strategy per product
stock_putaway_product · OCA/stock-logistics-warehouse
Merged into stock in 12.0
Health
71/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 29 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.34 MB
Module directory on disk
Code analysis
4 migration notes
5 models
3 views
0 HTTP endpoints
Migration considerations
ProductProduct— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceProductPutaway— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockFixedPutawayStrategy— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceview_putaway— 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
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_putaway_strategy_view_form |
product_putaway_strategy_view_form | stock.product.putaway.strategy | form | New |
view_putaway |
product.putaway.form.byproduct | product.putaway | form | Inherits stock_putaway_method.view_putaway |
view_template_property_form |
product.template.product.form | product.template | form | Inherits stock.view_template_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
product_putaway_idsOne2many → stock.product.putaway.strategycomodel_name='stock.product.putaway.strategy'inverse_name='product_product_id'string='Product stock locations'
-
fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)@api.modelCustom redefinition of fields_view_get to adapt the context to product variants.
New fields (2)
-
methodSelectionselection='_get_putaway_options' -
product_location_idsOne2many → stock.product.putaway.strategycomodel_name='stock.product.putaway.strategy'copy=Trueinverse_name='putaway_id'string='Fixed per product location'
-
get_product_putaway_strategies(self, product)@api.multiGet linked product putaway strategy that contains fixed location. product.product_putaway_ids is the fasted way to get strategy especially when we have thousand of products. -
putaway_apply(self, product):return a stock.location record or the model.
New fields (1)
-
product_putaway_idsOne2many → stock.product.putaway.strategycomodel_name='stock.product.putaway.strategy'inverse_name='product_tmpl_id'string='Product stock locations'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
default_get(self, fields)@api.model
New fields (5)
-
fixed_location_idMany2one → stock.locationcomodel_name='stock.location'domain=[('usage', '=', 'internal')]required=Truestring='Location' -
product_product_idMany2one → product.productcomodel_name='product.product'index=Truestring='Product Variant' -
product_tmpl_idMany2one → product.templatecomodel_name='product.template'index=Trueoldname='product_template_id'required=Truestring='Product Template' -
putaway_idMany2one → product.putawaycomodel_name='product.putaway'index=Truerequired=Truestring='Put Away Strategy' -
sequenceInteger
No public methods.
Loading…
Loading…
Loading…