Files
stock-logistics-warehouse/stock_inventory_discrepancy/models/stock_warehouse.py
Lois Rilo 367ad5e0f7 [9.0][ADD] stock_inventory_discrepancy (#245)
[ADD] stock_inventory_discrepancy
2017-02-17 08:25:07 -05:00

18 lines
603 B
Python

# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class StockWarehouse(models.Model):
_inherit = 'stock.warehouse'
discrepancy_threshold = fields.Float(
string='Maximum Discrepancy Rate Threshold',
digits=(3, 2),
help="Maximum Discrepancy Rate allowed for any product when doing "
"an Inventory Adjustment. Threshold defined in involved Location "
"has preference.")