[7.0] l10n_ch_sepa - payment to partner with & in name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Swiss Localization |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to generate a payment order with & in the name of a partner will crash :
../l10n_
line 63, in _is_xsd_valid
parser=parser)
File "lxml.etree.pyx", line 2957, in lxml.etree.parse
(src/lxml/
File "parser.pxi", line 1550, in lxml.etree.
(src/lxml/
File "parser.pxi", line 1578, in lxml.etree.
(src/lxml/
File "parser.pxi", line 1457, in lxml.etree.
(src/lxml/
File "parser.pxi", line 965, in lxml.etree.
(src/lxml/
File "parser.pxi", line 569, in
lxml.etree.
(src/lxml/
File "parser.pxi", line 650, in lxml.etree.
(src/lxml/
File "parser.pxi", line 590, in lxml.etree.
(src/lxml/
XMLSyntaxError: xmlParseEntityRef: no name, line 134, column 25
Mako entities need to be filtered.
Patch will be attached in a MP
Related branches
- Camptocamp: Pending requested
-
Diff: 12 lines (+2/-1)1 file modifiedl10n_ch_sepa/base_sepa/pain_001.py (+2/-1)