From 28c560d8e2b952baa1e7620bd4e51abc4023f285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 21 Jan 2016 10:43:30 +0100 Subject: [PATCH] Remove unused Uom --- sale.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sale.py b/sale.py index 88aa810850..77ca6b05b2 100644 --- a/sale.py +++ b/sale.py @@ -1295,7 +1295,6 @@ class SaleLine(ModelSQL, ModelView): Return a list of invoice lines for sale line according to invoice_type ''' pool = Pool() - Uom = pool.get('product.uom') Property = pool.get('ir.property') InvoiceLine = pool.get('account.invoice.line') @@ -1414,7 +1413,6 @@ class SaleLine(ModelSQL, ModelView): Return moves for the sale line according to shipment_type ''' pool = Pool() - Uom = pool.get('product.uom') Move = pool.get('stock.move') if self.type != 'line':