mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
'floating' docstring fixes
move module docstrings to the top of the module convert some 'docstrings' to comments remove useless docs
This commit is contained in:
@@ -21,17 +21,16 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from openerp.osv import orm, fields
|
||||
from openerp.tools.translate import _
|
||||
|
||||
"""
|
||||
|
||||
The banking transaction wizard is linked to a button in the statement line
|
||||
tree view. It allows the user to undo the duplicate flag, select between
|
||||
multiple matches or select a manual match.
|
||||
|
||||
"""
|
||||
|
||||
from openerp.osv import orm, fields
|
||||
from openerp.tools.translate import _
|
||||
|
||||
|
||||
|
||||
class banking_transaction_wizard(orm.TransientModel):
|
||||
_name = 'banking.transaction.wizard'
|
||||
|
||||
@@ -72,7 +72,6 @@ class MT940(object):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(MT940, self).__init__(*args, **kwargs)
|
||||
'state variables'
|
||||
self.current_statement = None
|
||||
'type account_banking.parsers.models.mem_bank_statement'
|
||||
self.current_transaction = None
|
||||
@@ -200,7 +199,7 @@ class MT940(object):
|
||||
transaction.execution_date = str2date(data[:6])
|
||||
transaction.effective_date = str2date(data[:6])
|
||||
transaction.value_date = str2date(data[:6])
|
||||
'...and the rest already is highly bank dependent'
|
||||
# ...and the rest already is highly bank dependent
|
||||
|
||||
def handle_tag_86(self, cr, data):
|
||||
'''details for previous transaction, here most differences between
|
||||
|
||||
@@ -60,7 +60,7 @@ class transaction_message(object):
|
||||
_('Invalid transaction line: expected %d columns, found '
|
||||
'%d') % (len(self.attrnames), len(values))
|
||||
)
|
||||
''' Strip all values except the blob '''
|
||||
# Strip all values except the blob
|
||||
for (key, val) in zip(self.attrnames, values):
|
||||
self.__dict__[key] = key == 'blob' and val or val.strip()
|
||||
# for lack of a standardized locale function to parse amounts
|
||||
|
||||
Reference in New Issue
Block a user