From 03cbf04cfc854023c67f6aa98ae828f444fdf9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 2 Nov 2011 16:14:59 +0100 Subject: [PATCH] fix pyflake errors review164004 --- purchase.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/purchase.py b/purchase.py index ddc320220f..4e7ec7ef71 100644 --- a/purchase.py +++ b/purchase.py @@ -19,7 +19,6 @@ class Purchase(ModelSQL, ModelView): def check_for_quotation(self, purchase_id): account_selection_obj = Pool().get( 'analytic_account.account.selection') - purchase_line_obj = Pool().get('purchase.line') res = super(Purchase, self).check_for_quotation(purchase_id) @@ -73,8 +72,6 @@ class PurchaseLine(ModelSQL, ModelView): with_rec_name=with_rec_name) def read(self, ids, fields_names=None): - selection_obj = Pool().get('analytic_account.account.selection') - int_id = False if isinstance(ids, (int, long)): int_id = True