From a8eb3acdd65df2fd71cb654f4cd3aff9733c3560 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Sun, 28 Mar 2021 00:23:19 +0100 Subject: [PATCH] Pyflakes fixes. --- purchase.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/purchase.py b/purchase.py index 5aa94bb..98fe66c 100644 --- a/purchase.py +++ b/purchase.py @@ -1,6 +1,6 @@ # The COPYRIGHT file at the top level of this repository contains # the full copyright notices and license terms. -from trytond.pool import Pool, PoolMeta +from trytond.pool import PoolMeta from trytond.exceptions import UserError from trytond.i18n import gettext @@ -10,9 +10,6 @@ class Purchase(metaclass=PoolMeta): @classmethod def quote(cls, purchases): - pool = Pool() - PProductSupplier = pool.get('purchase.product_supplier') - super(Purchase, cls).quote(purchases) for purchase in purchases: for line in purchase.lines: