Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Stock Inventory Discrepancy

Entity: stock.quant

Compute Method: _compute_has_over_discrepancy

View 18.0
Inputs Method Outputs
  • discrepancy_percent
  • discrepancy_threshold
- for rec in self:
-             rec.has_over_discrepancy = (
-                 rec.discrepancy_percent > rec.discrepancy_threshold
-             )
  • has_over_discrepancy

Back to entity