Stock Inventory Adjustment
stock_inventory · OCA/stock-logistics-warehouse
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 5 Odoo series since 15.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
LGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis
0 migration notes
5 models
6 views
0 HTTP endpoints
Description
This module allows to group Inventory Adjustments and have a group traceability (like before Odoo 15.0).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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 (20)
-
action_state_to_cancel_allowedBooleancompute='_compute_action_state_to_cancel_allowed' -
category_idMany2one → product.categoryreadonly=Truestring='Product Category' args: 'product.category' -
category_include_subcategoriesBooleandefault=Truehelp='If enabled, products from subcategories of the selected category will be included in the inventory adjustment.'string='Include Subcategories' -
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' -
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' -
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=True 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…
Loading…