Merge lp://staging/~vauxoo/openerp-mexico-localization/7.0_trunk_fecha_timbrado_cfdi_dev_jorge into lp://staging/openerp-mexico-localization

Status: Superseded
Proposed branch: lp://staging/~vauxoo/openerp-mexico-localization/7.0_trunk_fecha_timbrado_cfdi_dev_jorge
Merge into: lp://staging/openerp-mexico-localization
Diff against target: 60 lines (+28/-1)
1 file modified
l10n_mx_facturae_pac_sf/invoice.py (+28/-1)
To merge this branch: bzr merge lp://staging/~vauxoo/openerp-mexico-localization/7.0_trunk_fecha_timbrado_cfdi_dev_jorge
Reviewer Review Type Date Requested Status
Rodolfo Lopez Pending
Isaac López Zúñiga Pending
Jorge Angel Naranjo Rogel - http://www.vauxoo.com Pending
Moisés López - http://www.vauxoo.com Pending
Review via email: mp+169349@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2013-06-17.

Description of the change

Se agrego una función la cual calcula el timezone en base a la configuración de timezone que tenga usuario.

Si el usuario no tiene timezone por defalut toma la UTC.

Se considero que para lo que es México sufrimos cambios de horario tanto en invierno como en verano. Se hace en calculo en base al timezone original y el actual.

Ejemplo.

Timezone original es America/Mexico_City timezone= -6

pero actualmente por lo comentado del cambio de horario estamos en America/Mexico_City timezone= -5

Se realizar la resta correspondiente para que tome la diferencia de hora actual en el timbrado de la factura.

Cabe destacar que ahorita solo es funcional para los Timezone negativos. ya que se penso en abarcar por el momento la localización mexicana.

To post a comment you must log in.
230. By Jorge Angel Naranjo Rogel - http://www.vauxoo.com

[FIX] Fix function _get_time_zone

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.