Stock Account Inventory Discrepancy

stock_account_inventory_discrepancy
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_account_inventory_discrepancy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_inventory_discrepancy
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_inventory_line_tree2 stock.inventory.line.tree2 - stock_account_inventory_discrepancy stock.inventory.line field Inherits stock.stock_inventory_line_tree2
view_location_form Location form - stock_account_inventory_discrepancy stock.location field Inherits stock.view_location_form
view_warehouse stock.warehouse - stock_account_inventory_discrepancy stock.warehouse field Inherits stock.view_warehouse
Models touched (4)

New fields (3)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=False related='inventory_id.company_id.currency_id' string='Company Currency'
  • discrepancy_amount Monetary
    compute='_compute_discrepancy_amount' currency_field='company_currency_id' default=0 digits='Product Unit of Measure' help='The difference between the actual qty counted and the theoretical quantity on hand expressed in the cost amount.' string='Amount Discrepancy'
  • discrepancy_amount_threshold Monetary
    compute='_compute_discrepancy_amount_threshold' currency_field='company_currency_id' help='Maximum Discrepancy Amount Threshold' string='Amount Threshold'
Public methods (0)

No public methods.

New fields (2)
  • discrepancy_amount_threshold Monetary
    currency_field='discrepancy_amount_threshold_currency_id' help="Maximum Discrepancy Amount allowed for any product when doing an Inventory Adjustment. Thresholds defined in Locations have preference over Warehouse's ones." string='Maximum Discrepancy Amount Threshold'
  • discrepancy_amount_threshold_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True related='company_id.currency_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • discrepancy_amount_threshold Monetary
    currency_field='discrepancy_amount_threshold_currency_id' help='Maximum Discrepancy Amount allowed for any product when doing an Inventory Adjustment. Threshold defined in involved Location has preference.' string='Maximum Discrepancy Amount Threshold'
  • discrepancy_amount_threshold_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True related='company_id.currency_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_account_inventory_discrepancy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSLois Rilo, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_inventory_discrepancy
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_inventory_form stock.inventory.form - stock_account_inventory_discrepancy stock.inventory xpath Inherits stock.view_inventory_form
view_location_form stock.location.form - stock_account_inventory_discrepancy stock.location field Inherits stock.view_location_form
view_warehouse stock.warehouse - stock_account_inventory_discrepancy stock.warehouse field Inherits stock.view_warehouse
Models touched (3)

New fields (3)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=False related='inventory_id.company_id.currency_id' string='Company Currency'
  • discrepancy_amount Monetary
    compute='_compute_discrepancy_amount' currency_field='company_currency_id' default=0 digits=dp.get_precision('Product Unit of Measure') help='The difference between the actual qty counted and the theoretical quantity on hand expressed in the cost amount.' string='Amount Discrepancy'
  • discrepancy_amount_threshold Monetary
    compute='_compute_discrepancy_amount_threshold' currency_field='company_currency_id' help='Maximum Discrepancy Amount Threshold' string='Amount Threshold'
Public methods (0)

No public methods.

New fields (2)
  • discrepancy_amount_threshold Monetary
    currency_field='discrepancy_amount_threshold_currency_id' help="Maximum Discrepancy Amount allowed for any product when doing an Inventory Adjustment. Thresholds defined in Locations have preference over Warehouse's ones." string='Maximum Discrepancy Amount Threshold'
  • discrepancy_amount_threshold_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True related='company_id.currency_id'
Public methods (0)

No public methods.

New fields (2)
  • discrepancy_amount_threshold Monetary
    currency_field='discrepancy_amount_threshold_currency_id' help='Maximum Discrepancy Amount allowed for any product when doing an Inventory Adjustment. Threshold defined in involved Location has preference.' string='Maximum Discrepancy Amount Threshold'
  • discrepancy_amount_threshold_currency_id Many2one → res.currency
    comodel_name='res.currency' readonly=True related='company_id.currency_id'
Public methods (0)

No public methods.