TIP: You can type at any time to perform a new search.
Stock Inventory Adjustment
stock_inventory · OCA/stock-logistics-warehouse
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Inventory/Inventory
- Folder size
- 0.18 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-warehouse
- Last tracking update
- 2026-08-07 09:06:24
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- DavidJForgeFlow
- Committers
- Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- stock_inventory_lockdown
- Description
This module allows to group Inventory Adjustments and have a group traceability (like before Odoo 15.0).
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res_config_settings_view_form - stock_inventory | res.config.settings | form | Inherits stock.res_config_settings_view_form |
stock_inventory_search_view |
stock.inventory | search | New | |
view_inventory_group_form |
stock.inventory.form.view | stock.inventory | form | New |
view_inventory_group_tree |
stock.inventory.tree.view | stock.inventory | list | New |
view_stock_move_line_inventory_tree |
stock.move.line.tree.view.inventory | stock.move.line | list | New |
view_stock_quant_search_not_done |
stock.quant.search.not.done | stock.quant | search | Inherits stock.quant_search_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (1)
-
stock_inventory_auto_completeBooleandefault=Falsehelp='If enabled, when all the quants prepared for the adjustment are done, the adjustment is automatically set to done.'
No public methods.
New fields (1)
-
stock_inventory_auto_completeBooleanreadonly=Falserelated='company_id.stock_inventory_auto_complete'
No public methods.
New fields (19)
-
action_state_to_cancel_allowedBooleancompute='_compute_action_state_to_cancel_allowed' -
category_idMany2one → product.categoryreadonly=Truestring='Product Category' args: 'product.category' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>index=Truereadonly=Truerequired=True -
count_stock_movesIntegercompute='_compute_count_stock_moves'string='Stock Moves Lines' -
count_stock_quantsIntegercompute='_compute_count_stock_quants'string='# Adjustments' -
count_stock_quants_stringCharcompute='_compute_count_stock_quants'string='Adjustments' -
dateDatetimedefault=<expr>readonly=True -
exclude_sublocationBooleanhelp='If enabled, it will only take into account the locations selected, and not their children.' -
location_idsMany2many → stock.locationdomain="[('usage', '=', 'internal'), '|', ('company_id', '=', company_id), ('company_id', '=', False)]"readonly=Truestring='Locations' args: 'stock.location' -
lot_idsMany2many → stock.lotdomain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"readonly=Truestring='Lot/Serial Numbers' args: 'stock.lot' -
nameChardefault='Inventory'readonly=Truerequired=Truestring='Inventory Reference' -
owner_idMany2one → res.partnerhelp='This is the owner of the inventory adjustment'readonly=True args: 'res.partner', 'Owner' -
product_idsMany2many → product.productdomain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"readonly=Truestring='Products' args: 'product.product' -
product_selectionSelectiondefault='all'readonly=Truerequired=True args: [('all', 'All Products'), ('manual', 'Manual Selection'), ('category', 'Product Category'), ('one', 'One Product'), ('lot', 'Lot/Serial Number')] -
products_under_review_idsMany2many → product.productcomodel_name='product.product'compute='_compute_products_under_review_ids'relation='stock_inventory_product_review_rel'search='_search_products_under_review_ids'string='Products Under Review' -
responsible_idMany2one → res.userscomodel_name='res.users'help='Specific responsible of Inventory Adjustment.'readonly=Truestring='Assigned to' -
stateSelectiondefault='draft'tracking=True args: [('draft', 'Draft'), ('in_progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancelled')] -
stock_move_idsOne2many → stock.move.linereadonly=Truestring='Inventory Adjustments Done' args: 'stock.move.line', 'inventory_adjustment_id' -
stock_quant_idsMany2many → stock.quantdomain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"readonly=Truestring='Inventory Adjustment' args: 'stock.quant'
-
action_auto_state_to_done(self) -
action_state_to_cancel(self) -
action_state_to_done(self) -
action_state_to_draft(self) -
action_state_to_in_progress(self) -
action_view_inventory_adjustment(self) -
action_view_stock_moves(self) -
refresh_stock_quant_ids(self) -
unlink(self)
New fields (1)
-
inventory_adjustment_idMany2one → stock.inventoryindex=Trueondelete='restrict' args: 'stock.inventory'
No public methods.
New fields (3)
-
current_inventory_idMany2one → stock.inventorystore=Truestring='Current Inventory' args: 'stock.inventory' -
stock_inventory_idsMany2many → stock.inventorycopy=Falsestring='Stock Inventories' args: 'stock.inventory', 'stock_inventory_stock_quant_rel' -
to_doBooleandefault=False
-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…