Update API of PAC Solucion Factible to March 15 2016
Added RFC emmiter because the PAC Solucion Factible receive this field. I changed code because the code in the function because PAC only return status and message and change variable uuids to uuid
122 123 result = wsdl_client.cancelar(*params) 123 codigo_cancel = result['status'] or '' 124 status_cancel = result['resultados'] and result[ 125 'resultados']['status'] or '' 126 mensaje_cancel = _(tools.ustr(result['mensaje'])) 127 msg_nvo = result['resultados'] and result[ 128 'resultados']['mensaje'] or '' 129 status_uuid = result['resultados'] and result[ 130 'resultados']['statusUUID'] or '' 131 folio_cancel = result['resultados'] and result[ 132 'resultados']['uuid'] or '' 133 if ( 134 codigo_cancel == '200' and status_cancel == '200' and 135 (status_uuid == '201' or status_uuid == '202') 136 ): 124 status_cancel = result['status'] or '' - Contributor
@agb80 nos podrias dar tu opinion de estos cambios antes de mezclarlos???
Please register or sign in to replyAdded 1 commit:
- 6dadf023 - refactor(l10n_mx_facturae_pac_sf): Update API of PAC Solucion Factible to March 15 2016
- Alejandro Tapia @alejandro.tapia Title changed from refactor(l10n_mx_facturae_pac_sf): Added RfC of emmiter and changed code for cancel invoice to Update API of PAC Solucion Factible to March 15 2016
Title changed from refactor(l10n_mx_facturae_pac_sf): Added RfC of emmiter and changed code for cancel invoice to Update API of PAC Solucion Factible to March 15 2016
Status changed to closed
- You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Compare and