Community mailing list archives

community@mail.odoo.com

Re: l10n_ch_sepa XML failed

by
Agile Business Group sagl, stefano sforzi
- 04/02/2015 10:55:12
Hello Thomas,

attached the xml guideline related to your problem

<img src="cid:part1.02000009.08030006@agilebg.com" alt="">


Regards



Il 02.04.2015 16:36, Thomas Winteler ha scritto:
<blockquote cite="mid:551D536D.8020904@win-soft.ch" type="cite">
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.chhttp://nilooma.comhttp://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
--------------------------------------------------------------

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 

Sforzi Stefano
Tel (CH): +41 91 210 23 40
Tel (IT): +39 011 198 25481
http://www.agilebg.com