Pyflakes fixes.
This commit is contained in:
parent
004b165a3c
commit
5377cc27d3
|
@ -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')
|
||||||
|
|
|
@ -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'
|
||||||
|
|
2
sale.py
2
sale.py
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue