Fix guidelines
This commit is contained in:
+2
-1
@@ -2,12 +2,13 @@
|
||||
|
||||
from trytond.osv import fields, OSV
|
||||
|
||||
|
||||
class Journal(OSV):
|
||||
'Statement Journal'
|
||||
_name = 'statement.journal'
|
||||
_description = __doc__
|
||||
|
||||
name = fields.Char('Name', size=None, required=True)
|
||||
name = fields.Char('Name', required=True)
|
||||
journal = fields.Many2One(
|
||||
'account.journal', 'Bank Journal', required=True,
|
||||
domain="[('type', '=', 'bank')]")
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
from trytond.osv import fields, OSV, ExceptORM
|
||||
from trytond.netsvc import LocalService
|
||||
from decimal import Decimal
|
||||
|
||||
_STATES = {'readonly': 'state != "draft"'}
|
||||
|
||||
|
||||
class Statement(OSV):
|
||||
'Bank Statement'
|
||||
_name = 'statement.statement'
|
||||
@@ -172,6 +174,7 @@ class Statement(OSV):
|
||||
|
||||
Statement()
|
||||
|
||||
|
||||
class Line(OSV):
|
||||
'Bank Statement Line'
|
||||
_name = 'statement.statement.line'
|
||||
|
||||
Reference in New Issue
Block a user