Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse Management
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 07:03:05
Authors
Odoo Community Association (OCA), Numérigraphe
Maintainers
Odoo Community Association (OCA), Numérigraphe
Committers
Lionel Sausin, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
stock_inventory_hierarchical_location_form_view hierarchical.inventory.location.form stock.inventory form Inherits stock.view_inventory_form
view_stock_generate_inventory_echaustive Generate Inventory: exhaustive check box stock.generate.inventory Inherits stock_inventory_hierarchical.view_stock_generate_inventory
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • exhaustive Boolean
    default=True string='Exhaustive'
Public methods (1)
  • generate_inventory(self)
    @api.multi
    Force the value of `exhaustive`

New fields (0)

No new fields.

Public methods (4)
  • confirm_missing_locations(self)
    @api.multi
    Do something only if children state are confirm or done. We could let the normal process run and fail but it's nicer to get a warning before, especially if the computation is long.
  • get_missing_locations(self)
    @api.multi
    Do not warn about locations included in sub-inventories There has already been a warning when the sub-inventories were done
  • onchange_exhaustive(self)
    @api.onchange('parent_id')
    Get the parent's value for `exhaustive` Use case: changing the parent of a sub-inventory
  • write(self, vals)
    @api.multi
    Propagate `exhaustive` from parent to children Use case: updating a parent inventory