Merge lp:~vauxoo/openerp-mexico-localization/7.0-l10n_mx_facturae_without_error_dev_carlos into lp:openerp-mexico-localization/7.0
- 7.0-l10n_mx_facturae_without_error_dev_carlos
- Merge into 7.0
Proposed by
Juan Carlos Hernandez
Status: | Merged |
---|---|
Merged at revision: | 274 |
Proposed branch: | lp:~vauxoo/openerp-mexico-localization/7.0-l10n_mx_facturae_without_error_dev_carlos |
Merge into: | lp:openerp-mexico-localization/7.0 |
Diff against target: |
862 lines (+159/-122) 39 files modified
l10n_mx_facturae/SAT/TuristaPasajeroExtranjero.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_2_0.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_2_0_l.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_2_2.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_2_2_l.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/TuristaPasajeroExtranjero.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/cadenaoriginal_3_2_l.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/detallista.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/divisas.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/donat11.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecb.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecc.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/iedu.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/implocal.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/leyendasFisc.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/pfic.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/psgecfd.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/spei.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/terceros11.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/utilerias.xslt (+1/-1) l10n_mx_facturae/SAT/cadenaoriginal_3_2/ventavehiculos.xslt (+1/-1) l10n_mx_facturae/SAT/detallista.xslt (+1/-1) l10n_mx_facturae/SAT/divisas.xslt (+1/-1) l10n_mx_facturae/SAT/donat.xslt (+1/-1) l10n_mx_facturae/SAT/donat11.xslt (+1/-1) l10n_mx_facturae/SAT/ecb.xslt (+1/-1) l10n_mx_facturae/SAT/ecc.xslt (+1/-1) l10n_mx_facturae/SAT/iedu.xslt (+1/-1) l10n_mx_facturae/SAT/implocal.xslt (+1/-1) l10n_mx_facturae/SAT/leyendasFisc.xslt (+1/-1) l10n_mx_facturae/SAT/pfic.xslt (+1/-1) l10n_mx_facturae/SAT/psgcfdsp.xslt (+1/-1) l10n_mx_facturae/SAT/psgecfd.xslt (+1/-1) l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt (+2/-2) l10n_mx_facturae/SAT/terceros.xslt (+1/-1) l10n_mx_facturae/SAT/terceros11.xslt (+1/-1) l10n_mx_facturae/SAT/utilerias.xslt (+1/-1) l10n_mx_facturae/SAT/ventavehiculos.xslt (+1/-1) l10n_mx_ir_attachment_facturae/ir_attachment_facturae.py (+120/-83) |
To merge this branch: | bzr merge lp:~vauxoo/openerp-mexico-localization/7.0-l10n_mx_facturae_without_error_dev_carlos |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rodolfo Lopez | Pending | ||
Isaac López Zúñiga | Pending | ||
Moisés López - http://www.vauxoo.com | Pending | ||
Review via email: mp+183062@code.launchpad.net |
Commit message
Description of the change
se quitaron errores de compilación de los archivos xslt.
To post a comment you must log in.
- 274. By Juan Carlos Hernandez
-
[IMP][l10n_
mx_ir_attachmen t_mx]add autopep8
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'l10n_mx_facturae/SAT/TuristaPasajeroExtranjero.xslt' |
2 | --- l10n_mx_facturae/SAT/TuristaPasajeroExtranjero.xslt 2012-06-17 01:38:51 +0000 |
3 | +++ l10n_mx_facturae/SAT/TuristaPasajeroExtranjero.xslt 2013-08-31 00:55:37 +0000 |
4 | @@ -1,5 +1,5 @@ |
5 | <?xml version="1.0" encoding="UTF-8"?> |
6 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero"> |
7 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero"> |
8 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
9 | <!-- Manejador de nodos tipo tpe:TuristaPasajeroExtranjero --> |
10 | <xsl:template match="tpe:TuristaPasajeroExtranjero"> |
11 | |
12 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_2_0.xslt' |
13 | --- l10n_mx_facturae/SAT/cadenaoriginal_2_0.xslt 2011-05-17 04:06:22 +0000 |
14 | +++ l10n_mx_facturae/SAT/cadenaoriginal_2_0.xslt 2013-08-31 00:55:37 +0000 |
15 | @@ -1,5 +1,5 @@ |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
18 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
19 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
20 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
21 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
22 | |
23 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_2_0_l.xslt' |
24 | --- l10n_mx_facturae/SAT/cadenaoriginal_2_0_l.xslt 2011-05-17 04:06:22 +0000 |
25 | +++ l10n_mx_facturae/SAT/cadenaoriginal_2_0_l.xslt 2013-08-31 00:55:37 +0000 |
26 | @@ -1,5 +1,5 @@ |
27 | <?xml version="1.0" encoding="UTF-8"?> |
28 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
29 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
30 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
31 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
32 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
33 | |
34 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_2_2.xslt' |
35 | --- l10n_mx_facturae/SAT/cadenaoriginal_2_2.xslt 2012-05-29 01:23:29 +0000 |
36 | +++ l10n_mx_facturae/SAT/cadenaoriginal_2_2.xslt 2013-08-31 00:55:37 +0000 |
37 | @@ -1,5 +1,5 @@ |
38 | <?xml version="1.0" encoding="UTF-8"?> |
39 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
40 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
41 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
42 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
43 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
44 | |
45 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_2_2_l.xslt' |
46 | --- l10n_mx_facturae/SAT/cadenaoriginal_2_2_l.xslt 2012-06-17 01:38:51 +0000 |
47 | +++ l10n_mx_facturae/SAT/cadenaoriginal_2_2_l.xslt 2013-08-31 00:55:37 +0000 |
48 | @@ -1,5 +1,5 @@ |
49 | <?xml version="1.0" encoding="UTF-8"?> |
50 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
51 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
52 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
53 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
54 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
55 | |
56 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/TuristaPasajeroExtranjero.xslt' |
57 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/TuristaPasajeroExtranjero.xslt 2013-07-12 21:32:02 +0000 |
58 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/TuristaPasajeroExtranjero.xslt 2013-08-31 00:55:37 +0000 |
59 | @@ -1,5 +1,5 @@ |
60 | <?xml version="1.0" encoding="UTF-8"?> |
61 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero"> |
62 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero"> |
63 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
64 | <!-- Manejador de nodos tipo tpe:TuristaPasajeroExtranjero --> |
65 | <xsl:template match="tpe:TuristaPasajeroExtranjero"> |
66 | |
67 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/cadenaoriginal_3_2_l.xslt' |
68 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/cadenaoriginal_3_2_l.xslt 2013-07-12 21:32:02 +0000 |
69 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/cadenaoriginal_3_2_l.xslt 2013-08-31 00:55:37 +0000 |
70 | @@ -1,5 +1,5 @@ |
71 | <?xml version="1.0" encoding="UTF-8"?> |
72 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:spei="http://www.sat.gob.mx/spei"> |
73 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfdi="http://www.sat.gob.mx/cfd/3" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:donat="http://www.sat.gob.mx/donat" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros" xmlns:iedu="http://www.sat.gob.mx/iedu" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos" xmlns:pfic="http://www.sat.gob.mx/pfic" xmlns:tpe="http://www.sat.gob.mx/TuristaPasajeroExtranjero" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales" xmlns:spei="http://www.sat.gob.mx/spei"> |
74 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
75 | <!-- Integración de complemento SPEI 14-08-2012> --> |
76 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
77 | |
78 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/detallista.xslt' |
79 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/detallista.xslt 2013-07-12 21:32:02 +0000 |
80 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/detallista.xslt 2013-08-31 00:55:37 +0000 |
81 | @@ -1,5 +1,5 @@ |
82 | <?xml version="1.0" encoding="UTF-8"?> |
83 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:detallista="http://www.sat.gob.mx/detallista"> |
84 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:detallista="http://www.sat.gob.mx/detallista"> |
85 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
86 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
87 | <!-- Manejador de nodos tipo detallista --> |
88 | |
89 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/divisas.xslt' |
90 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/divisas.xslt 2013-07-12 21:32:02 +0000 |
91 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/divisas.xslt 2013-08-31 00:55:37 +0000 |
92 | @@ -1,5 +1,5 @@ |
93 | <?xml version="1.0" encoding="UTF-8"?> |
94 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:divisas="http://www.sat.gob.mx/divisas"> |
95 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:divisas="http://www.sat.gob.mx/divisas"> |
96 | <!-- Manejador de nodos tipo divisas:Divisas --> |
97 | <xsl:template match="divisas:Divisas"> |
98 | <!-- Iniciamos el tratamiento de los atributos de divisas:Divisas --> |
99 | |
100 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/donat11.xslt' |
101 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/donat11.xslt 2013-07-12 21:32:02 +0000 |
102 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/donat11.xslt 2013-08-31 00:55:37 +0000 |
103 | @@ -1,5 +1,5 @@ |
104 | <?xml version="1.0" encoding="UTF-8"?> |
105 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
106 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
107 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
108 | <!-- Manejador de nodos tipo donat:Donatarias --> |
109 | <xsl:template match="donat:Donatarias"> |
110 | |
111 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecb.xslt' |
112 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecb.xslt 2013-07-12 21:32:02 +0000 |
113 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecb.xslt 2013-08-31 00:55:37 +0000 |
114 | @@ -1,5 +1,5 @@ |
115 | <?xml version="1.0" encoding="UTF-8"?> |
116 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecb="http://www.sat.gob.mx/ecb"> |
117 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecb="http://www.sat.gob.mx/ecb"> |
118 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
119 | <!-- Manejador de nodos tipo ECB --> |
120 | <xsl:template match="ecb:EstadoDeCuentaBancario"> |
121 | |
122 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecc.xslt' |
123 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecc.xslt 2013-07-12 21:32:02 +0000 |
124 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/ecc.xslt 2013-08-31 00:55:37 +0000 |
125 | @@ -1,5 +1,5 @@ |
126 | <?xml version="1.0" encoding="UTF-8"?> |
127 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecc="http://www.sat.gob.mx/ecc"> |
128 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecc="http://www.sat.gob.mx/ecc"> |
129 | |
130 | <!-- Manejador de nodos tipo ecc:EstadoDeCuentaCombustible --> |
131 | <xsl:template match="ecc:EstadoDeCuentaCombustible"> |
132 | |
133 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/iedu.xslt' |
134 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/iedu.xslt 2013-07-12 21:32:02 +0000 |
135 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/iedu.xslt 2013-08-31 00:55:37 +0000 |
136 | @@ -1,5 +1,5 @@ |
137 | <?xml version="1.0" encoding="UTF-8"?> |
138 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iedu="http://www.sat.gob.mx/iedu"> |
139 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iedu="http://www.sat.gob.mx/iedu"> |
140 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
141 | <!-- Manejador de nodos tipo iedu --> |
142 | <xsl:template match="iedu:instEducativas"> |
143 | |
144 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/implocal.xslt' |
145 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/implocal.xslt 2013-07-12 21:32:02 +0000 |
146 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/implocal.xslt 2013-08-31 00:55:37 +0000 |
147 | @@ -1,5 +1,5 @@ |
148 | <?xml version="1.0" encoding="UTF-8"?> |
149 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:implocal="http://www.sat.gob.mx/implocal"> |
150 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:implocal="http://www.sat.gob.mx/implocal"> |
151 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
152 | <!-- Manejador de nodos tipo implocal --> |
153 | <xsl:template match="implocal:ImpuestosLocales"> |
154 | |
155 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/leyendasFisc.xslt' |
156 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/leyendasFisc.xslt 2013-07-12 21:32:02 +0000 |
157 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/leyendasFisc.xslt 2013-08-31 00:55:37 +0000 |
158 | @@ -1,5 +1,5 @@ |
159 | <?xml version="1.0" encoding="UTF-8"?> |
160 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales"> |
161 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales"> |
162 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
163 | <!-- Manejador de nodos tipo leyendasFiscales --> |
164 | <xsl:template match="leyendasFisc:LeyendasFiscales"> |
165 | |
166 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/pfic.xslt' |
167 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/pfic.xslt 2013-07-12 21:32:02 +0000 |
168 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/pfic.xslt 2013-08-31 00:55:37 +0000 |
169 | @@ -1,5 +1,5 @@ |
170 | <?xml version="1.0" encoding="UTF-8"?> |
171 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:pfic="http://www.sat.gob.mx/pfic"> |
172 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:pfic="http://www.sat.gob.mx/pfic"> |
173 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
174 | <!-- Manejador de nodos tipo pfic:PFintegranteCoordinado --> |
175 | <xsl:template match="pfic:PFintegranteCoordinado"> |
176 | |
177 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/psgecfd.xslt' |
178 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/psgecfd.xslt 2013-07-12 21:32:02 +0000 |
179 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/psgecfd.xslt 2013-08-31 00:55:37 +0000 |
180 | @@ -1,5 +1,5 @@ |
181 | <?xml version="1.0" encoding="UTF-8"?> |
182 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd"> |
183 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd"> |
184 | <!-- Manejador de nodos tipo psgecfd:PrestadoresDeServiciosDeCFD --> |
185 | <xsl:template match="psgecfd:PrestadoresDeServiciosDeCFD"> |
186 | <!-- Iniciamos el tratamiento de los atributos de psgecfd:PrestadoresDeServiciosDeCFD --> |
187 | |
188 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/spei.xslt' |
189 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/spei.xslt 2013-07-12 21:32:02 +0000 |
190 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/spei.xslt 2013-08-31 00:55:37 +0000 |
191 | @@ -1,5 +1,5 @@ |
192 | <?xml version="1.0" encoding="UTF-8"?> |
193 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:spei="http://www.sat.gob.mx/spei"> |
194 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:spei="http://www.sat.gob.mx/spei"> |
195 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
196 | |
197 | <!-- Manejador de nodos tipo Complemento_SPEI--> |
198 | |
199 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/terceros11.xslt' |
200 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/terceros11.xslt 2013-07-12 21:32:02 +0000 |
201 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/terceros11.xslt 2013-08-31 00:55:37 +0000 |
202 | @@ -1,5 +1,5 @@ |
203 | <?xml version="1.0" encoding="UTF-8"?> |
204 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
205 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
206 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
207 | <!-- Manejador de nodos tipo PorCuentadeTerceros --> |
208 | <xsl:template match="terceros:PorCuentadeTerceros"> |
209 | |
210 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/utilerias.xslt' |
211 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/utilerias.xslt 2013-07-12 21:32:02 +0000 |
212 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/utilerias.xslt 2013-08-31 00:55:37 +0000 |
213 | @@ -1,5 +1,5 @@ |
214 | <?xml version="1.0" encoding="UTF-8"?> |
215 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> |
216 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> |
217 | |
218 | <!-- Manejador de datos requeridos --> |
219 | <xsl:template name="Requerido"> |
220 | |
221 | === modified file 'l10n_mx_facturae/SAT/cadenaoriginal_3_2/ventavehiculos.xslt' |
222 | --- l10n_mx_facturae/SAT/cadenaoriginal_3_2/ventavehiculos.xslt 2013-07-12 21:32:02 +0000 |
223 | +++ l10n_mx_facturae/SAT/cadenaoriginal_3_2/ventavehiculos.xslt 2013-08-31 00:55:37 +0000 |
224 | @@ -1,5 +1,5 @@ |
225 | <?xml version="1.0" encoding="UTF-8"?> |
226 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos"> |
227 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos"> |
228 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
229 | <!-- Manejador de nodos tipo VentaVehiculos--> |
230 | <xsl:template match="ventavehiculos:VentaVehiculos"> |
231 | |
232 | === modified file 'l10n_mx_facturae/SAT/detallista.xslt' |
233 | --- l10n_mx_facturae/SAT/detallista.xslt 2011-05-17 04:06:22 +0000 |
234 | +++ l10n_mx_facturae/SAT/detallista.xslt 2013-08-31 00:55:37 +0000 |
235 | @@ -1,5 +1,5 @@ |
236 | <?xml version="1.0" encoding="UTF-8"?> |
237 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:detallista="http://www.sat.gob.mx/detallista"> |
238 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:detallista="http://www.sat.gob.mx/detallista"> |
239 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
240 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
241 | <!-- Manejador de nodos tipo detallista --> |
242 | |
243 | === modified file 'l10n_mx_facturae/SAT/divisas.xslt' |
244 | --- l10n_mx_facturae/SAT/divisas.xslt 2011-05-17 04:06:22 +0000 |
245 | +++ l10n_mx_facturae/SAT/divisas.xslt 2013-08-31 00:55:37 +0000 |
246 | @@ -1,5 +1,5 @@ |
247 | <?xml version="1.0" encoding="UTF-8"?> |
248 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:divisas="http://www.sat.gob.mx/divisas"> |
249 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:divisas="http://www.sat.gob.mx/divisas"> |
250 | <!-- Manejador de nodos tipo divisas:Divisas --> |
251 | <xsl:template match="divisas:Divisas"> |
252 | <!-- Iniciamos el tratamiento de los atributos de divisas:Divisas --> |
253 | |
254 | === modified file 'l10n_mx_facturae/SAT/donat.xslt' |
255 | --- l10n_mx_facturae/SAT/donat.xslt 2011-05-17 04:06:22 +0000 |
256 | +++ l10n_mx_facturae/SAT/donat.xslt 2013-08-31 00:55:37 +0000 |
257 | @@ -1,5 +1,5 @@ |
258 | <?xml version="1.0" encoding="UTF-8"?> |
259 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
260 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
261 | |
262 | <!-- Manejador de nodos tipo donat:Donatarias --> |
263 | <xsl:template match="donat:Donatarias"> |
264 | |
265 | === modified file 'l10n_mx_facturae/SAT/donat11.xslt' |
266 | --- l10n_mx_facturae/SAT/donat11.xslt 2012-06-17 01:38:51 +0000 |
267 | +++ l10n_mx_facturae/SAT/donat11.xslt 2013-08-31 00:55:37 +0000 |
268 | @@ -1,5 +1,5 @@ |
269 | <?xml version="1.0" encoding="UTF-8"?> |
270 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
271 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:donat="http://www.sat.gob.mx/donat"> |
272 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
273 | <!-- Manejador de nodos tipo donat:Donatarias --> |
274 | <xsl:template match="donat:Donatarias"> |
275 | |
276 | === modified file 'l10n_mx_facturae/SAT/ecb.xslt' |
277 | --- l10n_mx_facturae/SAT/ecb.xslt 2011-05-17 04:06:22 +0000 |
278 | +++ l10n_mx_facturae/SAT/ecb.xslt 2013-08-31 00:55:37 +0000 |
279 | @@ -1,5 +1,5 @@ |
280 | <?xml version="1.0" encoding="UTF-8"?> |
281 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecb="http://www.sat.gob.mx/ecb"> |
282 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecb="http://www.sat.gob.mx/ecb"> |
283 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
284 | <!-- Manejador de nodos tipo ECB --> |
285 | <xsl:template match="ecb:EstadoDeCuentaBancario"> |
286 | |
287 | === modified file 'l10n_mx_facturae/SAT/ecc.xslt' |
288 | --- l10n_mx_facturae/SAT/ecc.xslt 2011-05-17 04:06:22 +0000 |
289 | +++ l10n_mx_facturae/SAT/ecc.xslt 2013-08-31 00:55:37 +0000 |
290 | @@ -1,5 +1,5 @@ |
291 | <?xml version="1.0" encoding="UTF-8"?> |
292 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecc="http://www.sat.gob.mx/ecc"> |
293 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ecc="http://www.sat.gob.mx/ecc"> |
294 | |
295 | <!-- Manejador de nodos tipo ecc:EstadoDeCuentaCombustible --> |
296 | <xsl:template match="ecc:EstadoDeCuentaCombustible"> |
297 | |
298 | === modified file 'l10n_mx_facturae/SAT/iedu.xslt' |
299 | --- l10n_mx_facturae/SAT/iedu.xslt 2012-06-17 01:38:51 +0000 |
300 | +++ l10n_mx_facturae/SAT/iedu.xslt 2013-08-31 00:55:37 +0000 |
301 | @@ -1,5 +1,5 @@ |
302 | <?xml version="1.0" encoding="UTF-8"?> |
303 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iedu="http://www.sat.gob.mx/iedu"> |
304 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iedu="http://www.sat.gob.mx/iedu"> |
305 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
306 | <!-- Manejador de nodos tipo iedu --> |
307 | <xsl:template match="iedu:instEducativas"> |
308 | |
309 | === modified file 'l10n_mx_facturae/SAT/implocal.xslt' |
310 | --- l10n_mx_facturae/SAT/implocal.xslt 2011-05-17 04:06:22 +0000 |
311 | +++ l10n_mx_facturae/SAT/implocal.xslt 2013-08-31 00:55:37 +0000 |
312 | @@ -1,5 +1,5 @@ |
313 | <?xml version="1.0" encoding="UTF-8"?> |
314 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:implocal="http://www.sat.gob.mx/implocal"> |
315 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:implocal="http://www.sat.gob.mx/implocal"> |
316 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
317 | <!-- Manejador de nodos tipo implocal --> |
318 | <xsl:template match="implocal:ImpuestosLocales"> |
319 | |
320 | === modified file 'l10n_mx_facturae/SAT/leyendasFisc.xslt' |
321 | --- l10n_mx_facturae/SAT/leyendasFisc.xslt 2012-06-17 01:38:51 +0000 |
322 | +++ l10n_mx_facturae/SAT/leyendasFisc.xslt 2013-08-31 00:55:37 +0000 |
323 | @@ -1,5 +1,5 @@ |
324 | <?xml version="1.0" encoding="UTF-8"?> |
325 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales"> |
326 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:leyendasFisc="http://www.sat.gob.mx/leyendasFiscales"> |
327 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
328 | <!-- Manejador de nodos tipo leyendasFiscales --> |
329 | <xsl:template match="leyendasFisc:LeyendasFiscales"> |
330 | |
331 | === modified file 'l10n_mx_facturae/SAT/pfic.xslt' |
332 | --- l10n_mx_facturae/SAT/pfic.xslt 2012-06-17 01:38:51 +0000 |
333 | +++ l10n_mx_facturae/SAT/pfic.xslt 2013-08-31 00:55:37 +0000 |
334 | @@ -1,5 +1,5 @@ |
335 | <?xml version="1.0" encoding="UTF-8"?> |
336 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:pfic="http://www.sat.gob.mx/pfic"> |
337 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:pfic="http://www.sat.gob.mx/pfic"> |
338 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
339 | <!-- Manejador de nodos tipo pfic:PFintegranteCoordinado --> |
340 | <xsl:template match="pfic:PFintegranteCoordinado"> |
341 | |
342 | === modified file 'l10n_mx_facturae/SAT/psgcfdsp.xslt' |
343 | --- l10n_mx_facturae/SAT/psgcfdsp.xslt 2012-06-17 01:38:51 +0000 |
344 | +++ l10n_mx_facturae/SAT/psgcfdsp.xslt 2013-08-31 00:55:37 +0000 |
345 | @@ -1,5 +1,5 @@ |
346 | <?xml version="1.0" encoding="UTF-8"?> |
347 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
348 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgcfdsp="http://www.sat.gob.mx/psgcfdsp"> |
349 | <!-- Manejador de nodos tipo psgcfdsp:PrestadoresDeServiciosDeCFDSP --> |
350 | <xsl:template match="psgcfdsp:PrestadoresDeServiciosDeCFDSP"> |
351 | <!-- Iniciamos el tratamiento de los atributos de psgcfdsp:PrestadoresDeServiciosDeCFDSP --> |
352 | |
353 | === modified file 'l10n_mx_facturae/SAT/psgecfd.xslt' |
354 | --- l10n_mx_facturae/SAT/psgecfd.xslt 2011-05-17 04:06:22 +0000 |
355 | +++ l10n_mx_facturae/SAT/psgecfd.xslt 2013-08-31 00:55:37 +0000 |
356 | @@ -1,5 +1,5 @@ |
357 | <?xml version="1.0" encoding="UTF-8"?> |
358 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd"> |
359 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd"> |
360 | <!-- Manejador de nodos tipo psgecfd:PrestadoresDeServiciosDeCFD --> |
361 | <xsl:template match="psgecfd:PrestadoresDeServiciosDeCFD"> |
362 | <!-- Iniciamos el tratamiento de los atributos de psgecfd:PrestadoresDeServiciosDeCFD --> |
363 | |
364 | === modified file 'l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt' |
365 | --- l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt 2011-11-02 06:07:20 +0000 |
366 | +++ l10n_mx_facturae/SAT/reporte_mensual_2_0.xslt 2013-08-31 00:55:37 +0000 |
367 | @@ -1,5 +1,5 @@ |
368 | <?xml version="1.0" encoding="utf-8"?> |
369 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
370 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:cfd="http://www.sat.gob.mx/cfd/2" xmlns:ecc="http://www.sat.gob.mx/ecc" xmlns:psgecfd="http://www.sat.gob.mx/psgecfd" xmlns:divisas="http://www.sat.gob.mx/divisas" xmlns:detallista="http://www.sat.gob.mx/detallista" xmlns:ecb="http://www.sat.gob.mx/ecb" xmlns:implocal="http://www.sat.gob.mx/implocal" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
371 | <!-- Con el siguiente método se establece que la salida deberá ser en texto --> |
372 | <!-- <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> --> |
373 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no" /> |
374 | @@ -93,4 +93,4 @@ |
375 | </xsl:template> |
376 | <!--Manejador del tipo de Comprobante--> |
377 | <xsl:template name="edoComprobante">|1</xsl:template> |
378 | -</xsl:stylesheet> |
379 | \ No newline at end of file |
380 | +</xsl:stylesheet> |
381 | |
382 | === modified file 'l10n_mx_facturae/SAT/terceros.xslt' |
383 | --- l10n_mx_facturae/SAT/terceros.xslt 2011-05-17 04:06:22 +0000 |
384 | +++ l10n_mx_facturae/SAT/terceros.xslt 2013-08-31 00:55:37 +0000 |
385 | @@ -1,5 +1,5 @@ |
386 | <?xml version="1.0" encoding="UTF-8"?> |
387 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
388 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
389 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
390 | <!-- Manejador de nodos tipo PorCuentadeTerceros --> |
391 | <xsl:template match="terceros:PorCuentadeTerceros"> |
392 | |
393 | === modified file 'l10n_mx_facturae/SAT/terceros11.xslt' |
394 | --- l10n_mx_facturae/SAT/terceros11.xslt 2012-06-17 01:38:51 +0000 |
395 | +++ l10n_mx_facturae/SAT/terceros11.xslt 2013-08-31 00:55:37 +0000 |
396 | @@ -1,5 +1,5 @@ |
397 | <?xml version="1.0" encoding="UTF-8"?> |
398 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
399 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:terceros="http://www.sat.gob.mx/terceros"> |
400 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
401 | <!-- Manejador de nodos tipo PorCuentadeTerceros --> |
402 | <xsl:template match="terceros:PorCuentadeTerceros"> |
403 | |
404 | === modified file 'l10n_mx_facturae/SAT/utilerias.xslt' |
405 | --- l10n_mx_facturae/SAT/utilerias.xslt 2011-05-17 04:06:22 +0000 |
406 | +++ l10n_mx_facturae/SAT/utilerias.xslt 2013-08-31 00:55:37 +0000 |
407 | @@ -1,5 +1,5 @@ |
408 | <?xml version="1.0" encoding="UTF-8"?> |
409 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> |
410 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions"> |
411 | |
412 | <!-- Manejador de datos requeridos --> |
413 | <xsl:template name="Requerido"> |
414 | |
415 | === modified file 'l10n_mx_facturae/SAT/ventavehiculos.xslt' |
416 | --- l10n_mx_facturae/SAT/ventavehiculos.xslt 2012-06-17 01:38:51 +0000 |
417 | +++ l10n_mx_facturae/SAT/ventavehiculos.xslt 2013-08-31 00:55:37 +0000 |
418 | @@ -1,5 +1,5 @@ |
419 | <?xml version="1.0" encoding="UTF-8"?> |
420 | -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos"> |
421 | +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ventavehiculos="http://www.sat.gob.mx/ventavehiculos"> |
422 | <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/> |
423 | <!-- Manejador de nodos tipo VentaVehiculos--> |
424 | <xsl:template match="ventavehiculos:VentaVehiculos"> |
425 | |
426 | === modified file 'l10n_mx_ir_attachment_facturae/ir_attachment_facturae.py' |
427 | --- l10n_mx_ir_attachment_facturae/ir_attachment_facturae.py 2013-08-25 09:24:08 +0000 |
428 | +++ l10n_mx_ir_attachment_facturae/ir_attachment_facturae.py 2013-08-31 00:55:37 +0000 |
429 | @@ -1,12 +1,12 @@ |
430 | #!/usr/bin/python |
431 | # -*- encoding: utf-8 -*- |
432 | -########################################################################### |
433 | +# |
434 | # Module Writen to OpenERP, Open Source Management Solution |
435 | # Copyright (C) 2013 Vauxoo (<http://vauxoo.com>). |
436 | # All Rights Reserved |
437 | # Credits###################################################### |
438 | # Coded by: Juan Carlos Funes(juan@vauxoo.com) |
439 | -############################################################################# |
440 | +# |
441 | # This program is free software: you can redistribute it and/or modify |
442 | # it under the terms of the GNU Affero General Public License as published by |
443 | # the Free Software Foundation, either version 3 of the License, or |
444 | @@ -19,7 +19,7 @@ |
445 | # |
446 | # You should have received a copy of the GNU Affero General Public License |
447 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
448 | -########################################################################## |
449 | +# |
450 | from openerp.osv import fields, osv |
451 | from openerp.tools.translate import _ |
452 | from openerp import pooler, tools |
453 | @@ -31,6 +31,7 @@ |
454 | import os |
455 | from openerp import SUPERUSER_ID |
456 | |
457 | + |
458 | class ir_attachment_facturae_mx(osv.Model): |
459 | _name = 'ir.attachment.facturae.mx' |
460 | _inherit = ['mail.thread', 'ir.needaction_mixin'] |
461 | @@ -38,11 +39,11 @@ |
462 | def _get_type(self, cr, uid, ids=None, context=None): |
463 | types = [] |
464 | return types |
465 | - |
466 | + |
467 | def get_driver_fc_sign(self): |
468 | """function to inherit from module driver of pac and add particular function""" |
469 | return {} |
470 | - |
471 | + |
472 | def get_driver_fc_cancel(self): |
473 | """function to inherit from module driver of pac and add particular function""" |
474 | return {} |
475 | @@ -50,8 +51,8 @@ |
476 | _columns = { |
477 | 'name': fields.char('Name', size=128, required=True, readonly=True, |
478 | help='Name of attachment generated'), |
479 | - 'invoice_id': fields.many2one('account.invoice', 'Invoice', |
480 | - readonly=True, help='Invoice to which it belongs this attachment'), |
481 | + 'invoice_id': fields.many2one('account.invoice', 'Invoice', readonly=True, |
482 | + help='Invoice to which it belongs this attachment'), |
483 | 'company_id': fields.many2one('res.company', 'Company', readonly=True, |
484 | help='Company to which it belongs this attachment'), |
485 | 'file_input': fields.many2one('ir.attachment', 'File input', |
486 | @@ -110,7 +111,7 @@ |
487 | if not self.signal_done(cr, uid, ids, context=context): |
488 | return False |
489 | return True |
490 | - |
491 | + |
492 | def signal_confirm(self, cr, uid, ids, context=None): |
493 | try: |
494 | if context is None: |
495 | @@ -138,7 +139,7 @@ |
496 | 'datas_fname': fname_invoice, |
497 | 'res_model': 'account.invoice', |
498 | 'res_id': invoice.id, |
499 | - }, context=None)#Context, because use a variable type of our code but we dont need it. |
500 | + }, context=None) |
501 | msj = _("Attached Successfully XML CFDI 3.2\n") |
502 | save_attach = True |
503 | elif 'cfd' in type: |
504 | @@ -152,30 +153,33 @@ |
505 | 'datas_fname': fname_invoice, |
506 | 'res_model': 'account.invoice', |
507 | 'res_id': invoice.id, |
508 | - }, context=None)#Context, because use a variable type of our code but we dont need it. |
509 | + }, context=None) |
510 | if attach: |
511 | - index_xml = self.pool.get('ir.attachment').browse(cr, uid, attach).index_content |
512 | + index_xml = self.pool.get('ir.attachment').browse( |
513 | + cr, uid, attach).index_content |
514 | msj = _("Attached Successfully XML CFD 2.2") |
515 | save_attach = True |
516 | else: |
517 | raise osv.except_osv(_("Type Electronic Invoice Unknow!"), _( |
518 | - "The Type Electronic Invoice:"+(type or '')) ) |
519 | + "The Type Electronic Invoice:" + (type or ''))) |
520 | if save_attach: |
521 | self.write(cr, uid, ids, |
522 | - {'file_input': attach or False, |
523 | + {'file_input': attach or False, |
524 | 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
525 | 'msj': msj, |
526 | - 'file_xml_sign_index': index_xml }, context=context) |
527 | - wf_service.trg_validate(uid, self._name, ids[0], 'action_confirm', cr) |
528 | + 'file_xml_sign_index': index_xml}, context=context) |
529 | + wf_service.trg_validate( |
530 | + uid, self._name, ids[0], 'action_confirm', cr) |
531 | return True |
532 | except Exception, e: |
533 | self.write(cr, uid, ids, {'msj': tools.ustr(e)}, context=context) |
534 | - import traceback, sys |
535 | + import traceback |
536 | + import sys |
537 | traceback.print_stack() |
538 | #traceback_str = repr(traceback.extract_stack()) |
539 | - #print traceback_str |
540 | + # print traceback_str |
541 | return False |
542 | - |
543 | + |
544 | def action_confirm(self, cr, uid, ids, context=None): |
545 | return self.write(cr, uid, ids, {'state': 'confirmed'}, context=context) |
546 | |
547 | @@ -195,10 +199,11 @@ |
548 | msj = _("Signed") |
549 | if 'cfd' in type and not 'cfdi' in type: |
550 | attach = self.browse(cr, uid, ids)[0].file_input.id or False |
551 | - index_xml = self.browse(cr, uid, ids)[0].file_xml_sign_index or False |
552 | + index_xml = self.browse(cr, uid, ids)[ |
553 | + 0].file_xml_sign_index or False |
554 | msj = _("Attached Successfully XML CFD 2.2\n") |
555 | if 'cfdi' in type: |
556 | - #upload file in custom module for pac |
557 | + # upload file in custom module for pac |
558 | type__fc = self.get_driver_fc_sign() |
559 | if type in type__fc.keys(): |
560 | fname_invoice = invoice.fname_invoice and invoice.fname_invoice + \ |
561 | @@ -218,11 +223,14 @@ |
562 | 'res_model': 'account.invoice', |
563 | #'res_id': invoice.id, |
564 | } |
565 | - attach = attachment_obj.create(cr, uid, data_attach, context=None)#Context, because use a variable type of our code but we dont need it. |
566 | + # Context, because use a variable type of our code but we |
567 | + # dont need it. |
568 | + attach = attachment_obj.create( |
569 | + cr, uid, data_attach, context=None) |
570 | else: |
571 | - msj += _("Unknow driver for %s"%(type)) |
572 | + msj += _("Unknow driver for %s" % (type)) |
573 | self.write(cr, uid, ids, |
574 | - {'file_xml_sign': attach or False, |
575 | + {'file_xml_sign': attach or False, |
576 | 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
577 | 'msj': msj, |
578 | 'file_xml_sign_index': index_xml}, context=context) |
579 | @@ -230,10 +238,11 @@ |
580 | return True |
581 | except Exception, e: |
582 | self.write(cr, uid, ids, {'msj': tools.ustr(e)}, context=context) |
583 | - import traceback, sys |
584 | + import traceback |
585 | + import sys |
586 | traceback.print_stack() |
587 | return False |
588 | - |
589 | + |
590 | def action_sign(self, cr, uid, ids, context=None): |
591 | return self.write(cr, uid, ids, {'state': 'signed'}, context=context) |
592 | |
593 | @@ -250,30 +259,34 @@ |
594 | type = self.browse(cr, uid, ids)[0].type |
595 | wf_service = netsvc.LocalService("workflow") |
596 | report = invoice_obj.create_report(cr, SUPERUSER_ID, [invoice.id], |
597 | - "account.invoice.facturae.webkit", invoice.fname_invoice) |
598 | - attachment_ids = attachment_obj.search(cr, uid,[ |
599 | - ('res_model', '=', 'account.invoice'), |
600 | - ('res_id', '=', invoice), |
601 | - ('datas_fname', '=', invoice.fname_invoice + '.pdf')]) |
602 | + "account.invoice.facturae.webkit", |
603 | + invoice.fname_invoice) |
604 | + attachment_ids = attachment_obj.search(cr, uid, [ |
605 | + ('res_model', '=', 'account.invoice'), |
606 | + ('res_id', '=', invoice.id), |
607 | + ('datas_fname', '=', invoice.fname_invoice + '.pdf')]) |
608 | for attachment in self.browse(cr, uid, attachment_ids, context=context): |
609 | - aids = attachment.id #TODO: aids.append( attachment.id ) but without error in last write |
610 | + # TODO: aids.append( attachment.id ) but without error in last |
611 | + # write |
612 | + aids = attachment.id |
613 | attachment_obj.write(cr, uid, [attachment.id], { |
614 | 'name': invoice.fname_invoice + '.pdf', }, context=context) |
615 | if aids: |
616 | msj = _("Attached Successfully PDF\n") |
617 | else: |
618 | - msj = _("Not Attached PDF\n") |
619 | + raise osv.except_osv(_('Warning'), _('Not Attached PDF\n')) |
620 | self.write(cr, uid, ids, { |
621 | - 'file_pdf': aids or False, |
622 | - 'msj': msj, |
623 | - 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
624 | - 'file_pdf_index': index_pdf }, context=context) |
625 | - wf_service.trg_validate(uid, self._name, ids[0], 'action_printable', cr) |
626 | + 'file_pdf': aids or False, |
627 | + 'msj': msj, |
628 | + 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
629 | + 'file_pdf_index': index_pdf}, context=context) |
630 | + wf_service.trg_validate( |
631 | + uid, self._name, ids[0], 'action_printable', cr) |
632 | return True |
633 | except Exception, e: |
634 | self.write(cr, uid, ids, {'msj': tools.ustr(e)}, context=context) |
635 | return False |
636 | - |
637 | + |
638 | def action_printable(self, cr, uid, ids, context=None): |
639 | return self.write(cr, uid, ids, {'state': 'printable'}, context=context) |
640 | |
641 | @@ -287,7 +300,8 @@ |
642 | state = '' |
643 | partner_mail = '' |
644 | user_mail = '' |
645 | - company_id = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id |
646 | + company_id = self.pool.get('res.users').browse( |
647 | + cr, uid, uid, context=context).company_id.id |
648 | invoice = self.browse(cr, uid, ids)[0].invoice_id |
649 | address_id = self.pool.get('res.partner').address_get( |
650 | cr, uid, [invoice.partner_id.id], ['invoice'])['invoice'] |
651 | @@ -298,7 +312,7 @@ |
652 | fname_invoice = invoice.fname_invoice and invoice.fname_invoice or '' |
653 | adjuntos = self.pool.get('ir.attachment').search(cr, uid, [( |
654 | 'res_model', '=', 'account.invoice'), ('res_id', '=', invoice)]) |
655 | - subject = 'Invoice '+invoice.number or False |
656 | + subject = 'Invoice ' + invoice.number or False |
657 | for attach in self.pool.get('ir.attachment').browse(cr, uid, adjuntos): |
658 | attachments.append(attach.id) |
659 | attach_name += attach.name + ', ' |
660 | @@ -308,7 +322,7 @@ |
661 | obj_users = self.pool.get('res.users') |
662 | obj_partner = self.pool.get('res.partner') |
663 | mail_server_id = obj_ir_mail_server.search(cr, uid, |
664 | - ['|', ('company_id', '=', company_id), ('company_id', '=', False)], limit = 1, order = 'sequence', context=None) |
665 | + ['|', ('company_id', '=', company_id), ('company_id', '=', False)], limit=1, order='sequence', context=None) |
666 | if mail_server_id: |
667 | for smtp_server in obj_ir_mail_server.browse(cr, uid, |
668 | mail_server_id, context=context): |
669 | @@ -327,25 +341,33 @@ |
670 | mail_compose_message_pool = self.pool.get( |
671 | 'mail.compose.message') |
672 | email_pool = self.pool.get('email.template') |
673 | - tmp_id = email_pool.search(cr, uid, [('model_id.model', '=', 'account.invoice'), |
674 | - ('company_id', '=', company_id), |
675 | - ('mail_server_id', '=', smtp_server.id), |
676 | - ('report_template.report_name', '=', 'account.invoice.facturae.webkit') |
677 | - ], limit = 1, context=context) |
678 | + tmp_id = email_pool.search( |
679 | + cr, uid, [('model_id.model', '=', 'account.invoice'), |
680 | + ('company_id', '=', company_id), |
681 | + ('mail_server_id', '=', smtp_server.id), |
682 | + ('report_template.report_name', '=', |
683 | + 'account.invoice.facturae.webkit') |
684 | + ], limit=1, context=context) |
685 | if tmp_id: |
686 | message = mail_compose_message_pool.onchange_template_id( |
687 | - cr, uid, [], template_id=tmp_id[0], composition_mode=None, |
688 | + cr, uid, [], template_id=tmp_id[ |
689 | + 0], composition_mode=None, |
690 | model='account.invoice', res_id=invoice.id, context=context) |
691 | mssg = message.get('value', False) |
692 | - user_mail = obj_users.browse(cr, uid, uid, context=None).email |
693 | + user_mail = obj_users.browse( |
694 | + cr, uid, uid, context=None).email |
695 | partner_id = mssg.get('partner_ids', False) |
696 | - partner_mail = obj_partner.browse(cr, uid, partner_id)[0].email |
697 | - partner_name = obj_partner.browse(cr, uid, partner_id)[0].name |
698 | + partner_mail = obj_partner.browse( |
699 | + cr, uid, partner_id)[0].email |
700 | + partner_name = obj_partner.browse( |
701 | + cr, uid, partner_id)[0].name |
702 | if partner_mail: |
703 | if user_mail: |
704 | if mssg.get('partner_ids', False) and tmp_id: |
705 | - mssg['partner_ids'] = [(6, 0, mssg['partner_ids'])] |
706 | - mssg['attachment_ids'] = [(6, 0, attachments)] |
707 | + mssg['partner_ids'] = [ |
708 | + (6, 0, mssg['partner_ids'])] |
709 | + mssg['attachment_ids'] = [ |
710 | + (6, 0, attachments)] |
711 | mssg_id = self.pool.get( |
712 | 'mail.compose.message').create(cr, uid, mssg, context=None) |
713 | state = self.pool.get('mail.compose.message').send_mail( |
714 | @@ -359,25 +381,29 @@ |
715 | msj = _( |
716 | '\nNot correct email of the user or customer. Check in Menu Configuración\Tecnico\Email\Emails\n') |
717 | else: |
718 | - msj = _('Email Send Successfully.Attached is sent to %s for Outgoing Mail Server %s') % (partner_mail,server_name) |
719 | + msj = _('Email Send Successfully.Attached is sent to %s for Outgoing Mail Server %s') % ( |
720 | + partner_mail, server_name) |
721 | else: |
722 | - raise osv.except_osv(_('Warning'), _('This user\ |
723 | - does not have mail')) |
724 | + raise osv.except_osv( |
725 | + _('Warning'), _('This user does not have mail')) |
726 | else: |
727 | - raise osv.except_osv(_('Warning'), _('The customer %s\ |
728 | - does not have mail') % (partner_name)) |
729 | + raise osv.except_osv( |
730 | + _('Warning'), _('The customer %s does not have mail') % (partner_name)) |
731 | else: |
732 | - raise osv.except_osv(_('Warning'), _('Check that your template is assigned outgoing mail server named %s.\nAlso the field has report_template = Factura Electronica Report.\nTemplate is associated with the same company') % (server_name)) |
733 | + raise osv.except_osv( |
734 | + _('Warning'), _('Check that your template is assigned outgoing mail server named %s.\nAlso the field has report_template = Factura Electronica Report.\nTemplate is associated with the same company') % (server_name)) |
735 | else: |
736 | raise osv.except_osv(_('Warning'), _('Not Found\ |
737 | outgoing mail server.Configure the outgoing mail server named "FacturaE"')) |
738 | - self.write(cr, uid, ids, {'msj': msj, 'last_date': time.strftime('%Y-%m-%d %H:%M:%S')}) |
739 | - wf_service.trg_validate(uid, self._name, ids[0], 'action_send_customer', cr) |
740 | + self.write( |
741 | + cr, uid, ids, {'msj': msj, 'last_date': time.strftime('%Y-%m-%d %H:%M:%S')}) |
742 | + wf_service.trg_validate( |
743 | + uid, self._name, ids[0], 'action_send_customer', cr) |
744 | return True |
745 | except Exception, e: |
746 | self.write(cr, uid, ids, {'msj': tools.ustr(e)}, context=context) |
747 | return False |
748 | - |
749 | + |
750 | def action_send_customer(self, cr, uid, ids, context=None): |
751 | return self.write(cr, uid, ids, {'state': 'sent_customer'}, context=context) |
752 | |
753 | @@ -389,16 +415,18 @@ |
754 | wf_service = netsvc.LocalService("workflow") |
755 | msj = _('Send Backup\n') |
756 | self.write(cr, uid, ids, {'msj': msj, |
757 | - 'last_date': time.strftime('%Y-%m-%d %H:%M:%S')}, context=context) |
758 | - wf_service.trg_validate(uid, self._name, ids[0], 'action_send_backup', cr) |
759 | + 'last_date': time.strftime('%Y-%m-%d %H:%M:%S') |
760 | + }, context=context) |
761 | + wf_service.trg_validate( |
762 | + uid, self._name, ids[0], 'action_send_backup', cr) |
763 | return True |
764 | except Exception, e: |
765 | self.write(cr, uid, ids, {'msj': tools.ustr(e)}, context=context) |
766 | return False |
767 | - |
768 | + |
769 | def action_send_backup(self, cr, uid, ids, context=None): |
770 | return self.write(cr, uid, ids, {'state': 'sent_backup'}, context=context) |
771 | - |
772 | + |
773 | def signal_done(self, cr, uid, ids, context=None): |
774 | try: |
775 | if context is None: |
776 | @@ -407,7 +435,8 @@ |
777 | wf_service = netsvc.LocalService("workflow") |
778 | msj = _('Done\n') |
779 | self.write(cr, uid, ids, {'msj': msj, |
780 | - 'last_date': time.strftime('%Y-%m-%d %H:%M:%S')}, context=context) |
781 | + 'last_date': time.strftime('%Y-%m-%d %H:%M:%S') |
782 | + }, context=context) |
783 | wf_service.trg_validate(uid, self._name, ids[0], 'action_done', cr) |
784 | return True |
785 | except Exception, e: |
786 | @@ -415,8 +444,8 @@ |
787 | return False |
788 | |
789 | def action_done(self, cr, uid, ids, context=None): |
790 | - return self.write(cr, uid, ids, {'state': 'done'}, context=context) |
791 | - |
792 | + return self.write(cr, uid, ids, {'state': 'done'}, context=context) |
793 | + |
794 | def signal_cancel(self, cr, uid, ids, context=None): |
795 | invoice_obj = self.pool.get('account.invoice') |
796 | attach_obj = self.pool.get('ir.attachment') |
797 | @@ -430,36 +459,43 @@ |
798 | type__fc = self.get_driver_fc_cancel() |
799 | if ir_attach_facturae_mx_id.type in type__fc.keys(): |
800 | cfdi_cancel = res = type__fc[ir_attach_facturae_mx_id.type]( |
801 | - cr, uid, [ir_attach_facturae_mx_id.id], context=context |
802 | + cr, uid, [ |
803 | + ir_attach_facturae_mx_id.id], context=context |
804 | ) |
805 | msj += tools.ustr(cfdi_cancel.get('message', False)) |
806 | - if cfdi_cancel.get('status', True):#TODO, validate cfdi_cancel True or False |
807 | - wf_service.trg_validate(uid, self._name, ir_attach_facturae_mx_id.id, 'action_cancel', cr) |
808 | - if invoice.state <> 'cancel': |
809 | - inv_cancel_status = invoice_obj.action_cancel(cr, uid, [invoice.id], context=context) |
810 | + # TODO, validate cfdi_cancel True or False |
811 | + if cfdi_cancel.get('status', True): |
812 | + wf_service.trg_validate( |
813 | + uid, self._name, ir_attach_facturae_mx_id.id, 'action_cancel', cr) |
814 | + if invoice.state != 'cancel': |
815 | + inv_cancel_status = invoice_obj.action_cancel( |
816 | + cr, uid, [invoice.id], context=context) |
817 | else: |
818 | inv_cancel_status = True |
819 | else: |
820 | - msj += _("Unknow cfdi driver for %s"%(ir_attach_facturae_mx_id.type)) |
821 | + msj += _("Unknow cfdi driver for %s" % |
822 | + (ir_attach_facturae_mx_id.type)) |
823 | else: |
824 | - wf_service.trg_validate(uid, self._name, ir_attach_facturae_mx_id.id, 'action_cancel', cr) |
825 | - if invoice.state <> 'cancel': |
826 | - inv_cancel_status = invoice_obj.action_cancel(cr, uid, [invoice.id], context=context) |
827 | + wf_service.trg_validate( |
828 | + uid, self._name, ir_attach_facturae_mx_id.id, 'action_cancel', cr) |
829 | + if invoice.state != 'cancel': |
830 | + inv_cancel_status = invoice_obj.action_cancel( |
831 | + cr, uid, [invoice.id], context=context) |
832 | else: |
833 | inv_cancel_status = True |
834 | msj = 'cancelled' |
835 | - |
836 | + |
837 | self.write(cr, uid, ids, { |
838 | - 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
839 | - 'msj': msj, |
840 | - }) |
841 | + 'last_date': time.strftime('%Y-%m-%d %H:%M:%S'), |
842 | + 'msj': msj, |
843 | + }) |
844 | return inv_cancel_status |
845 | - |
846 | + |
847 | def action_cancel(self, cr, uid, ids, context=None): |
848 | return self.write(cr, uid, ids, {'state': 'cancel'}, context=context) |
849 | |
850 | def reset_to_draft(self, cr, uid, ids, *args): |
851 | - self.write(cr, uid, ids, {'state':'draft'}) |
852 | + self.write(cr, uid, ids, {'state': 'draft'}) |
853 | wf_service = netsvc.LocalService("workflow") |
854 | for row in ids: |
855 | # Deleting the existing instance of workflow |
856 | @@ -467,6 +503,7 @@ |
857 | wf_service.trg_create(uid, self._name, row, cr) |
858 | return True |
859 | |
860 | + |
861 | class ir_attachment(osv.Model): |
862 | _inherit = 'ir.attachment' |
863 |