mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking: Changed German localized BBAN format
Reactivated apparently unused/untested path
[IMP] account_banking: Changed default type of parser model members to str
Extended comments in template regarding numbering
schemes
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.1.60',
|
||||
'version': '0.1.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -239,7 +239,7 @@ class mem_bank_transaction(object):
|
||||
'''
|
||||
super(mem_bank_transaction, self).__init__(*args, **kwargs)
|
||||
for attr in self.__slots__:
|
||||
setattr(self, attr, None)
|
||||
setattr(self, attr, '')
|
||||
self.remote_owner_address = []
|
||||
|
||||
def copy(self):
|
||||
@@ -344,6 +344,16 @@ class parser(object):
|
||||
numbers or bank statements ids on your own - stick with those provided
|
||||
by your bank. Doing so enables the users to re-load old transaction
|
||||
files without creating multiple identical bank statements.
|
||||
|
||||
If your bank does not provide transaction ids, take a high resolution
|
||||
and a repeatable algorithm for the numbering. For example the date can
|
||||
be used as a prefix. Adding a tracer (day resolution) can create
|
||||
uniqueness. Adding unique statement ids can add to the robustness of
|
||||
your transaction numbering.
|
||||
|
||||
Just mind that users can create random (file)containers with
|
||||
transactions in it. Try not to depend on order of appearance within
|
||||
these files. If in doubt: sort.
|
||||
'''
|
||||
raise NotImplementedError(
|
||||
_('This is a stub. Please implement your own.')
|
||||
|
||||
@@ -198,7 +198,7 @@ class IBAN(str):
|
||||
'CS': BBANFormat('BBBAAAAAAAAAAAAAVV', '%B-%A-%V'),
|
||||
'CY': BBANFormat('BBBCCCCCAAAAAAAAAAAAAAAA', '%B%C%A'),
|
||||
'CZ': BBANFormat('BBBBPPPPPPAAAAAAAAAA', '%B-%P/%A'),
|
||||
'DE': BBANFormat('BBBBBBBBAAAAAAAAAAV', '%A%V BLZ %B'),
|
||||
'DE': BBANFormat('BBBBBBBBAAAAAAAAAAV', '%A BLZ %B'),
|
||||
'DK': BBANFormat('CCCCAAAAAAAAAV', '%C %A%V'),
|
||||
'EE': BBANFormat('BBCCAAAAAAAAAAAV', '%A%V'),
|
||||
'ES': BBANFormat('BBBBCCCCWVAAAAAAAAAA', '%B%C%W%V%A'),
|
||||
|
||||
@@ -544,7 +544,7 @@ class banking_import(wizard.interface):
|
||||
statement_line_obj = self.pool.get('account.bank.statement.line')
|
||||
statement_file_obj = self.pool.get('account.banking.imported.file')
|
||||
#account_obj = self.pool.get('account.account')
|
||||
#payment_order_obj = self.pool.get('payment.order')
|
||||
payment_order_obj = self.pool.get('payment.order')
|
||||
currency_obj = self.pool.get('res.currency')
|
||||
|
||||
# get the parser to parse the file
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking PATU module',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'Sami Haahtinen',
|
||||
'website': 'http://ressukka.net',
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'abnamro (NL) Bank Statements Import',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'Therp BV / EduSense BV',
|
||||
'website': 'https://launchpad.net/account-banking',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking NL ClieOp',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking - Girotel',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Triodos (NL) Bank Statements Import',
|
||||
'version': '0.60',
|
||||
'version': '0.61',
|
||||
'license': 'GPL-3',
|
||||
'author': 'Therp BV / EduSense BV',
|
||||
'website': 'https://launchpad.net/account-banking',
|
||||
|
||||
Reference in New Issue
Block a user