Pyflakes fixes.
This commit is contained in:
parent
db22a24cad
commit
fe21adfb6d
|
@ -1,10 +1,8 @@
|
|||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.model import ModelView, ModelSQL, fields
|
||||
from trytond.model import fields
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['Incoterm']
|
||||
|
||||
|
||||
class Incoterm(metaclass=PoolMeta):
|
||||
__name__ = 'incoterm'
|
||||
|
|
4
party.py
4
party.py
|
@ -2,14 +2,12 @@
|
|||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond import backend
|
||||
from trytond.pool import PoolMeta, Pool
|
||||
from trytond.model import fields, ModelSQL
|
||||
from trytond.model import fields
|
||||
from trytond.pyson import Eval, Bool
|
||||
from trytond.tools.multivalue import migrate_property
|
||||
from trytond.modules.company.model import (
|
||||
CompanyMultiValueMixin, CompanyValueMixin)
|
||||
|
||||
__all__ = ['Party', 'PartyIncoterm']
|
||||
|
||||
purchase_incoterm = fields.Many2One('incoterm', 'Purchase Incoterm')
|
||||
purchase_incoterm_place = fields.Char('Purchase Incoterm Name Place',
|
||||
states={
|
||||
|
|
|
@ -4,8 +4,6 @@ from trytond.model import fields
|
|||
from trytond.pool import PoolMeta
|
||||
from trytond.pyson import Bool, Eval
|
||||
|
||||
__all__ = ['Purchase']
|
||||
|
||||
|
||||
class Purchase(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.purchase'
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
from trytond.model import fields
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['PurchaseRequest', 'CreatePurchase']
|
||||
|
||||
|
||||
class PurchaseRequest(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.request'
|
||||
|
|
Loading…
Reference in New Issue