PEP8 fixes.
This commit is contained in:
parent
f73fb6b38a
commit
7d7be44d18
|
@ -1,20 +1,20 @@
|
||||||
#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.model import ModelSQL, ModelView, fields
|
from trytond.model import fields
|
||||||
from trytond.pool import PoolMeta
|
from trytond.pool import PoolMeta
|
||||||
from trytond.pyson import Eval
|
from trytond.pyson import Eval
|
||||||
from trytond.transaction import Transaction
|
|
||||||
|
|
||||||
__all__ = ['Template', 'Production']
|
__all__ = ['Template', 'Production']
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
|
|
||||||
|
|
||||||
class Template:
|
class Template:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'product.template'
|
__name__ = 'product.template'
|
||||||
quality_template = fields.Many2One('quality.template', 'Quality Template')
|
quality_template = fields.Many2One('quality.template', 'Quality Template')
|
||||||
|
|
||||||
|
|
||||||
class Production:
|
class Production:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'production'
|
__name__ = 'production'
|
||||||
|
|
||||||
quality_template = fields.Many2One('quality.template', 'Quality Template')
|
quality_template = fields.Many2One('quality.template', 'Quality Template')
|
||||||
|
|
Loading…
Reference in New Issue