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 IDNameModelTypeStatus
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_complete Boolean
    default=False help='If enabled, when all the quants prepared for the adjustment are done, the adjustment is automatically set to done.'
Public methods (0)

No public methods.

New fields (1)
  • stock_inventory_auto_complete Boolean
    readonly=False related='company_id.stock_inventory_auto_complete'
Public methods (0)

No public methods.

New fields (19)
  • action_state_to_cancel_allowed Boolean
    compute='_compute_action_state_to_cancel_allowed'
  • category_id Many2one → product.category
    readonly=True string='Product Category' args: 'product.category'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> index=True readonly=True required=True
  • count_stock_moves Integer
    compute='_compute_count_stock_moves' string='Stock Moves Lines'
  • count_stock_quants Integer
    compute='_compute_count_stock_quants' string='# Adjustments'
  • count_stock_quants_string Char
    compute='_compute_count_stock_quants' string='Adjustments'
  • date Datetime
    default=<expr> readonly=True
  • exclude_sublocation Boolean
    help='If enabled, it will only take into account the locations selected, and not their children.'
  • location_ids Many2many → stock.location
    domain="[('usage', '=', 'internal'), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" readonly=True string='Locations' args: 'stock.location'
  • lot_ids Many2many → stock.lot
    domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]" readonly=True string='Lot/Serial Numbers' args: 'stock.lot'
  • name Char
    default='Inventory' readonly=True required=True string='Inventory Reference'
  • owner_id Many2one → res.partner
    help='This is the owner of the inventory adjustment' readonly=True args: 'res.partner', 'Owner'
  • product_ids Many2many → product.product
    domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]" readonly=True string='Products' args: 'product.product'
  • product_selection Selection
    default='all' readonly=True required=True args: [('all', 'All Products'), ('manual', 'Manual Selection'), ('category', 'Product Category'), ('one', 'One Product'), ('lot', 'Lot/Serial Number')]
  • products_under_review_ids Many2many → product.product
    comodel_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_id Many2one → res.users
    comodel_name='res.users' help='Specific responsible of Inventory Adjustment.' readonly=True string='Assigned to'
  • state Selection
    default='draft' tracking=True args: [('draft', 'Draft'), ('in_progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancelled')]
  • stock_move_ids One2many → stock.move.line
    readonly=True string='Inventory Adjustments Done' args: 'stock.move.line', 'inventory_adjustment_id'
  • stock_quant_ids Many2many → stock.quant
    domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]" readonly=True string='Inventory Adjustment' args: 'stock.quant'
Public methods (9)
  • 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_id Many2one → stock.inventory
    index=True ondelete='restrict' args: 'stock.inventory'
Public methods (0)

No public methods.

New fields (3)
  • current_inventory_id Many2one → stock.inventory
    store=True string='Current Inventory' args: 'stock.inventory'
  • stock_inventory_ids Many2many → stock.inventory
    copy=False string='Stock Inventories' args: 'stock.inventory', 'stock_inventory_stock_quant_rel'
  • to_do Boolean
    default=False
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

Loading…

Loading…

Loading…

Loading…