Community mailing list archives

community@mail.odoo.com

l10n_ch_sepa XML failed

by
Thomas Winteler
- 04/02/2015 10:34:21
Hey

As there is a PR for l10n_ch_sepa 
(https://github.com/OCA/l10n-switzerland/pull/113) i wanted to test it 
on odoo 7...

repo used: https://github.com/OCA/l10n-switzerland
branch: 7.0

installed new, empty demo db in odoo 7 with default l10_ch chart of 
accounts (Sterchi)...

Configured company with a valid IBAN account and also supplier with a 
valid IBAN account...

Created payment order, added supplier invoice and confirm payment order.
Creating SEPA file generates error:
XML is not Valid !

The document validation has raised following errors:
Element '{urn:iso:std:iso:20022:tech:xsd:pain.001.001.03}Ctry': [facet 
'pattern'] The value 'None' is not accepted by the pattern 
'[A-Z]{2,2}'., line 12

Details: http://paste.ubuntu.com/10724311/

Any hint or do i need more configuration on it?
Maybe some python library more needed?

Module description is realy pure!


Thanks for repsone
Thomas


--------------------------------------------------------------
♦ Win-Soft - Web Solution, Thomas Winteler
♦ Website, CMS, Shop, Odoo, OpenSource
--------------------------------------------------------------
♦ http://win-soft.ch ♦ http://nilooma.com ♦ http://odoo-online.ch
--------------------------------------------------------------
→ info@win-soft.ch, Tel: +41 71 923 0120
→ Bahnhofstrasse 23, CH-9602 Bazenheid SG
--------------------------------------------------------------
→ Google+ - http://gplus.nilooma.com
→ Facebook - https://www.facebook.com/winsoftch
--------------------------------------------------------------
sent with © mozilla thunderbird - www.getthunderbird.com
--------------------------------------------------------------