Pyflakes fixes.

This commit is contained in:
Albert Cervera i Areny 2021-03-28 00:31:09 +01:00
parent 004b165a3c
commit 5377cc27d3
3 changed files with 4 additions and 8 deletions

View File

@ -2,12 +2,12 @@
# The COPYRIGHT file at the top level of this repository contains the full # The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms. # copyright notices and license terms.
from trytond.pool import Pool from trytond.pool import Pool
from .sale import * from . import sale
from .payment_type import * from . import payment_type
def register(): def register():
Pool.register( Pool.register(
Sale, sale.Sale,
PaymentType, payment_type.PaymentType,
module='sale_payment_type_cost', type_='model') module='sale_payment_type_cost', type_='model')

View File

@ -4,8 +4,6 @@ from trytond.model import fields
from trytond.pool import PoolMeta from trytond.pool import PoolMeta
from trytond.pyson import Bool, Eval, Not, Or from trytond.pyson import Bool, Eval, Not, Or
__all__ = ['PaymentType']
class PaymentType(metaclass=PoolMeta): class PaymentType(metaclass=PoolMeta):
__name__ = 'account.payment.type' __name__ = 'account.payment.type'

View File

@ -3,8 +3,6 @@
# copyright notices and license terms. # copyright notices and license terms.
from trytond.pool import Pool, PoolMeta from trytond.pool import Pool, PoolMeta
__all__ = ['Sale']
class Sale(metaclass=PoolMeta): class Sale(metaclass=PoolMeta):
__name__ = 'sale.sale' __name__ = 'sale.sale'