Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.3
Category
Inventory
Folder size
0.34 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-warehouse
Last tracking update
2026-08-07 07:24:55
Authors
Camptocamp, Odoo Community Association (OCA), Tecnativa, Apertoso N.V.
Maintainers
Camptocamp, Odoo Community Association (OCA), Tecnativa, Apertoso N.V.
Committers
GitHub, Denis Roussel, Alexandre Saunier, Jordi Ballester Alomar, Vincent Van Rossem, Weblate, OCA-git-bot, oca-travis, Artem Kostyuk
Odoo dependencies
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
ddmrp_product_replace
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
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_ids One2many → stock.product.putaway.strategy
    comodel_name='stock.product.putaway.strategy' inverse_name='product_product_id' string='Product stock locations'
Public methods (1)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Custom redefinition of fields_view_get to adapt the context to product variants.

New fields (2)
  • method Selection
    selection='_get_putaway_options'
  • product_location_ids One2many → stock.product.putaway.strategy
    comodel_name='stock.product.putaway.strategy' copy=True inverse_name='putaway_id' string='Fixed per product location'
Public methods (2)
  • get_product_putaway_strategies(self, product)
    @api.multi
    Get 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_ids One2many → stock.product.putaway.strategy
    comodel_name='stock.product.putaway.strategy' inverse_name='product_tmpl_id' string='Product stock locations'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (5)
  • fixed_location_id Many2one → stock.location
    comodel_name='stock.location' domain=[('usage', '=', 'internal')] required=True string='Location'
  • product_product_id Many2one → product.product
    comodel_name='product.product' index=True string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' index=True oldname='product_template_id' required=True string='Product Template'
  • putaway_id Many2one → product.putaway
    comodel_name='product.putaway' index=True required=True string='Put Away Strategy'
  • sequence Integer
Public methods (0)

No public methods.

Loading…

Loading…

Loading…