Impossible to compute SEPA Creditor Identifier

Asked by Florent THOMAS

Hy,

I've installed the latest branch of the Akretion akretion-team/banking-addons/70-sepa-direct-debit and try to make it work.
I've updated all my account number in IBAN mode and my bank gave me all the correct values.
IBAN/BIC seems to be OK

I created an invoice and attached it a sepa mandate. I valdiated the invoice and make a payment on it.

Then I try to create a payment.order, I added some payment line by finding the account_move_lines associated to my invoice move.

Then I validate the payment order and when I try to export the SEPA XML, I have this message :
"Impossible to compute 'SEPA Creditor Identifier'. "

Here is the log :
mpossible de calculer le 'SEPA Creditor Identifier'.
Traceback (most recent call last):
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/banking70prelev/account_banking_sepa_direct_debit/wizard/export_sdd.py", line 388, in create_sepa
    {'sepa_export': sepa_export}, context=context)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/banking70prelev/account_banking_sepa_direct_debit/wizard/export_sdd.py", line 122, in _prepare_field
    _("Cannot compute the '%s'.") % field_name)

I don't understand what could be wrong. All the IBAN BIC have been validated, could it be another subtle issue?

Thanks for your help.

regards

Question information

Language:
English Edit question
Status:
Solved
For:
Banking Addons Edit question
Assignee:
No assignee Edit question
Solved by:
Florent THOMAS
Solved:
Last query:
Last reply:
Revision history for this message
Florent THOMAS (mailinglist) said :
#1

Here is a more precise log.
The problem is when try to decode credit sepa identifier
I put print step around the line 122
CCBPFRPPPPG
Field value
sepa_export.payment_order_ids[0].company_id.sepa_creditor_identifier

Is there any problem if we have multiple account and BIC

Revision history for this message
Florent THOMAS (mailinglist) said :
#2

Damned!!!

I forgot to set the value in the company,....

Now it's OK