Fix indents
This commit is contained in:
parent
bb6ca59cd1
commit
95ba4ef9d3
|
@ -1,16 +1,14 @@
|
||||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
# this repository contains the full copyright notices and license terms.
|
# this repository contains the full copyright notices and license terms.
|
||||||
#from datetime import datetime
|
|
||||||
from trytond.model import ModelView, Workflow, ModelSQL, fields
|
from trytond.model import ModelView, Workflow, ModelSQL, fields
|
||||||
from trytond.pyson import Eval
|
from trytond.pyson import Eval
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
from trytond.transaction import Transaction
|
from trytond.transaction import Transaction
|
||||||
from trytond import backend
|
from sql import Null
|
||||||
from sql import Table, Null
|
|
||||||
|
|
||||||
__all__ = ['StaffContract']
|
__all__ = ['StaffContract']
|
||||||
|
|
||||||
STATES = {'readonly': (Eval('state') != 'draft'),}
|
STATES = {'readonly': (Eval('state') != 'draft')}
|
||||||
|
|
||||||
|
|
||||||
class StaffContract(Workflow, ModelSQL, ModelView):
|
class StaffContract(Workflow, ModelSQL, ModelView):
|
||||||
|
|
Loading…
Reference in New Issue