Merge lp:~vauxoo/openerp-mexico-localization/6.1_accents_facturae_dev_luis into lp:openerp-mexico-localization/6.1

Proposed by Luis Torres - http://www.vauxoo.com
Status: Merged
Merged at revision: 212
Proposed branch: lp:~vauxoo/openerp-mexico-localization/6.1_accents_facturae_dev_luis
Merge into: lp:openerp-mexico-localization/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
l10n_mx_facturae/invoice.py (+1/-1)
To merge this branch: bzr merge lp:~vauxoo/openerp-mexico-localization/6.1_accents_facturae_dev_luis
Reviewer Review Type Date Requested Status
Isaac López Zúñiga Pending
Moisés López - http://www.vauxoo.com Pending
Review via email: mp+141988@code.launchpad.net

Description of the change

Se cambio en el código la función que cambia los caracteres acentuados en el xml, ya que en lugar de cambiar la Ó por O, colocaba la U

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_mx_facturae/invoice.py'
2--- l10n_mx_facturae/invoice.py 2012-08-01 18:55:55 +0000
3+++ l10n_mx_facturae/invoice.py 2013-01-04 22:52:22 +0000
4@@ -73,7 +73,7 @@
5 def conv_ascii(text):
6 """Convierte vocales accentuadas, ñ y ç a sus caracteres equivalentes ASCII"""
7 old_chars = ['á', 'é', 'í', 'ó', 'ú', 'à', 'è', 'ì', 'ò', 'ù', 'ä', 'ë', 'ï', 'ö', 'ü', 'â', 'ê', 'î', \
8- 'ô', 'û', 'Á', 'É', 'Í', 'Ú', 'Ó', 'À', 'È', 'Ì', 'Ò', 'Ù', 'Ä', 'Ë', 'Ï', 'Ö', 'Ü', 'Â', 'Ê', 'Î', \
9+ 'ô', 'û', 'Á', 'É', 'Í', 'Ó', 'Ú', 'À', 'È', 'Ì', 'Ò', 'Ù', 'Ä', 'Ë', 'Ï', 'Ö', 'Ü', 'Â', 'Ê', 'Î', \
10 'Ô', 'Û', 'ñ', 'Ñ', 'ç', 'Ç', 'ª', 'º', '°', ' ', 'Ã'
11 ]
12 new_chars = ['a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', 'o', 'u', 'a', 'e', 'i', \