mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
remove unused method
This commit is contained in:
committed by
Jordi Ballester Alomar
parent
9937f763f1
commit
5de7afead6
@@ -23,12 +23,6 @@ class StockWarehouseOrderpoint(models.Model):
|
||||
rec.outgoing_location_qty = product_available['outgoing_qty']
|
||||
rec.virtual_location_qty = product_available['virtual_available']
|
||||
|
||||
@api.multi
|
||||
@api.depends('product_location_qty', 'product_min_qty')
|
||||
def _compute_product_available(self):
|
||||
for rec in self:
|
||||
rec.available = rec.product_location_qty > rec.product_min_qty
|
||||
|
||||
product_location_qty = fields.Float(
|
||||
string='Quantity On Location',
|
||||
compute='_compute_product_available_qty')
|
||||
|
||||
Reference in New Issue
Block a user