← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 814009] [NEW] Allow for ClieOp export with empty reference

 

Public bug reported:

The current version of ABF does not seem to allow for ClieOp exports
with empty reference. This is important, because several banks (Triodos,
and according to their own specifications ING  as well) do not accept
ClieOp files with variant code C.

When we clear the reference field in the clieop wizard, an error occurs

  File "convert.py", line 56, in to_swift
    astr = unicode(astr, scheme)
TypeError: coercing to Unicode: need string or buffer, bool found

This can be avoided by initializing the SWIFTFields sender_id and
batch_id with the empty string in case of a False value.

Also, the batch_id is taken from the original payment order reference
instead of the wizard form values.

Cheers,
Stefan.

** Affects: account-banking
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/814009

Title:
  Allow for ClieOp export with empty reference

Status in Account Banking Framework:
  New

Bug description:
  The current version of ABF does not seem to allow for ClieOp exports
  with empty reference. This is important, because several banks
  (Triodos, and according to their own specifications ING  as well) do
  not accept ClieOp files with variant code C.

  When we clear the reference field in the clieop wizard, an error
  occurs

    File "convert.py", line 56, in to_swift
      astr = unicode(astr, scheme)
  TypeError: coercing to Unicode: need string or buffer, bool found

  This can be avoided by initializing the SWIFTFields sender_id and
  batch_id with the empty string in case of a False value.

  Also, the batch_id is taken from the original payment order reference
  instead of the wizard form values.

  Cheers,
  Stefan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/account-banking/+bug/814009/+subscriptions


Follow ups

References