From 5de7afead66d4f4a8ad34b667e84e687c0abb71a Mon Sep 17 00:00:00 2001 From: jbeficent Date: Mon, 7 Nov 2016 17:56:33 +0100 Subject: [PATCH] remove unused method --- .../models/stock_warehouse_orderpoint.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py index 853c223c2..c0eaf9a85 100644 --- a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py +++ b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py @@ -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')