Stock Inventory Verification Request
stock_inventory_verification_request · OCA/stock-logistics-warehouse
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Description
Adds the capability to request a Slot Verification when an inventory is 'Pending to Approve' or create one at will when a potential issue with a specific location is found. When asked from an inventory adjustment, which have discrepancies over the threshold for the location, a Slot Verification Request will be created for each line that exceed the maximum discrepancy allowed.
A SVR must be created when warehouse operation (e.g. an inventory adjustment, a cycle count...) uncovers a count discrepancy within a slot (a small stock location), and the discrepancy is greater than the pre-defined acceptable variance threshold. It is a stock manager's task to confirm the SVR and assign it to someone to perform it.
The aim of SVR is to find and fix errors before they are transferred to another location, so they will not be found again in similar stock operations. In other words, a SVR helps to correct an already existing error in our stock records the earliest possible. Many times, a SVR will likely lead to manual actions (before being marked as solved) in order to fix the problems uncovered.
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 |
|---|---|---|---|---|
stock_slot_verification_request_form_view |
stock.slot.verification.request.form | stock.slot.verification.request | form | New |
stock_slot_verification_request_search_view |
stock.slot.verification.request.search | stock.slot.verification.request | search | New |
stock_slot_verification_request_tree_view |
stock.slot.verification.request.list | stock.slot.verification.request | list | New |
view_location_form |
stock.location | form | Inherits stock.view_location_form | |
view_move_line_tree_svr |
stock.move.line.tree.svr | stock.move.line | list | Inherits stock.view_move_line_tree |
view_stock_quant_tree |
Stock tree view - discrepancy extension | stock.quant | tree | Inherits stock.view_stock_quant_tree_inventory_editable |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
solving_slot_verification_request_idMany2one → stock.slot.verification.requestcomodel_name='stock.slot.verification.request'help='This Inventory adjustment was created from the specified SVR.'
No public methods.
-
slot_verification_idsOne2many → stock.slot.verification.requestcomodel_name='stock.slot.verification.request'inverse_name='location_id'string='Slot Verification Requests'
-
action_open_svr(self)Open the corresponding Slot Verification Request directly from the Location.
-
allow_svr_creationBooleancompute='_compute_allow_svr_creation'string='Allow SVR Creation' -
requested_verificationBooleancopy=Falsestring='Requested Verification?' -
slot_verification_idsOne2many → stock.slot.verification.requestcomodel_name='stock.slot.verification.request'inverse_name='quant_id'string='Slot Verification Request'
-
action_open_svr(self)Open the corresponding Slot Verification Request directly from the stock quant. -
action_request_verification(self)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>readonly=Truerequired=Truestring='Company' -
created_inventory_countIntegercompute='_compute_created_inventory_count' -
created_inventory_idsOne2many → stock.inventorycomodel_name='stock.inventory'help='These inventory adjustments were created from this SVR.'inverse_name='solving_slot_verification_request_id'string='Created Inventories' -
inventory_idMany2one → stock.inventorycomodel_name='stock.inventory'readonly=Truestring='Inventory Adjustment' -
involved_move_line_countIntegercompute='_compute_involved_move_line_count' -
involved_move_line_idsMany2many → stock.move.linecolumn1='slot_verification_request_id'column2='move_line_id'comodel_name='stock.move.line'compute='_compute_involved_move_lines'relation='slot_verification_move_involved_rel'store=Falsestring='Involved Stock Moves' -
involved_quant_countIntegercompute='_compute_involved_quant_count' -
involved_quant_idsMany2many → stock.quantcolumn1='slot_verification_request_id'column2='quant_id'comodel_name='stock.quant'compute='_compute_involved_quants'relation='slot_verification_inv_line_involved_rel'store=Falsestring='Involved Inventory Quants' -
location_idMany2one → stock.locationcomodel_name='stock.location'readonly=Truerequired=Truestring='Location'tracking=True -
lot_idMany2one → stock.lotcomodel_name='stock.lot'readonly=Truestring='Lot'tracking=True -
nameChardefault='/'readonly=Truerequired=True -
notesText -
processed_byMany2one → res.userscopy=Falsehelp='User who has solved or cancelled the request.'readonly=True args: 'res.users' -
product_default_codeCharrelated='product_id.default_code'store=Truetranslate=False -
product_idMany2one → product.productcomodel_name='product.product'readonly=Truestring='Product'tracking=True -
product_nameCharrelated='product_id.name'store=Truetranslate=False args: 'Product Name' -
quant_idMany2one → stock.quantcomodel_name='stock.quant'readonly=Truestring='Stock Line' -
responsible_idMany2one → res.userscomodel_name='res.users'string='Assigned to'tracking=True -
stateSelectiondefault='wait'selection=[('wait', 'Waiting Actions'), ('open', 'In Progress'), ('cancelled', 'Cancelled'), ('done', 'Solved')]string='Status'tracking=True
-
action_cancel(self) -
action_confirm(self) -
action_create_inventory_adjustment(self) -
action_solved(self) -
action_view_inventories(self) -
action_view_move_lines(self) -
action_view_quants(self) -
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…
Loading…