mirror of
https://bitbucket.org/presik/trytonpsk-hotel.git
synced 2023-12-14 07:52:52 +01:00
Minor fix
This commit is contained in:
parent
0e2fd7933c
commit
f089227759
|
@ -17,13 +17,6 @@ from trytond.report import Report
|
|||
class StatementLine(metaclass=PoolMeta):
|
||||
__name__ = 'account.statement.line'
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(StatementLine, cls).__setup__()
|
||||
cls.amount.states = {
|
||||
'readonly': True
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def _get_source(cls):
|
||||
return super(StatementLine, cls)._get_source() + [
|
||||
|
|
Loading…
Reference in a new issue