~openerp-mexico-maintainer/openerp-mexico-localization/6.0

« back to all changes in this revision

Viewing changes to l10n_mx_facturae_pac_sf/invoice.py

[MERGE] from Trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
 
299
299
                if status_uuid == '201':
300
300
                    msg_SAT = '- Estatus de respuesta del SAT: 201. El folio se ha cancelado con éxito.'
301
 
                    self.write(cr, uid, context_id, {'cfdi_fecha_cancelacion':time.strftime('%d-%m-%Y %H:%M:%S')})
 
301
                    self.write(cr, uid, context_id, {'cfdi_fecha_cancelacion':time.strftime('%Y-%m-%d %H:%M:%S')})
302
302
                elif status_uuid == '202':
303
303
                    msg_SAT = '- Estatus de respuesta del SAT: 202. El folio ya se había cancelado previamente.'
304
304
                elif status_uuid == '203':