mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MERGE] account_banking: fix regression and bug fix from Stefan Rijnhart
(Therp)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.1.57',
|
||||
'version': '0.1.58',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -148,7 +148,7 @@ class banking_import(wizard.interface):
|
||||
partial_ids = []
|
||||
move_line.reconcile_id = reconcile_obj.create(
|
||||
cursor, uid, {
|
||||
'line_ids': [
|
||||
'line_id': [
|
||||
(4, x, False) for x in [move_line.id] + partial_ids
|
||||
],
|
||||
'line_partial_ids': [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking PATU module',
|
||||
'version': '0.57',
|
||||
'version': '0.58',
|
||||
'license': 'GPL-3',
|
||||
'author': 'Sami Haahtinen',
|
||||
'website': 'http://ressukka.net',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking NL ClieOp',
|
||||
'version': '0.57',
|
||||
'version': '0.58',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking - Girotel',
|
||||
'version': '0.57',
|
||||
'version': '0.58',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Account Banking',
|
||||
'version': '0.57',
|
||||
'version': '0.58',
|
||||
'license': 'GPL-3',
|
||||
'author': 'EduSense BV',
|
||||
'website': 'http://www.edusense.nl',
|
||||
|
||||
@@ -136,7 +136,7 @@ class transaction(models.mem_bank_transaction):
|
||||
|
||||
2. Invoices from the bank itself are communicated through statements.
|
||||
These too have no remote_account and no remote_owner. They have a
|
||||
transfer_type set to 'KST' or 'KNT'.
|
||||
transfer_type set to 'KST', 'KNT' or 'DIV'.
|
||||
|
||||
3. Transfers sent through the 'International Transfers' system get
|
||||
their feedback rerouted through a statement, which is not designed to
|
||||
@@ -155,7 +155,7 @@ class transaction(models.mem_bank_transaction):
|
||||
self.effective_date) and (
|
||||
self.remote_account or
|
||||
self.transfer_type in [
|
||||
'KST', 'PRV', 'BTL', 'BEA', 'OPN', 'KNT',
|
||||
'KST', 'PRV', 'BTL', 'BEA', 'OPN', 'KNT', 'DIV',
|
||||
]
|
||||
and not self.error_message
|
||||
)
|
||||
@@ -306,6 +306,7 @@ to Bank Statements.
|
||||
# Probe first record to find out which format we are parsing.
|
||||
if lines and lines[0].count(',') > lines[0].count(';'):
|
||||
dialect.delimiter = ','
|
||||
if lines and lines[0].count("'") > lines[0].count('"'):
|
||||
dialect.quotechar = "'"
|
||||
# Transaction lines are not numbered, so keep a tracer
|
||||
subno = 0
|
||||
|
||||
Reference in New Issue
Block a user