Skip to content

Conversation

@glarrain
Copy link
Contributor

Summary

  • Add fields to data_models.DteDataL2.
  • Add properties to data_models.DteDataL1.
  • Re-implement, improve and augment parse.parse_dte_xml.
  • Add helper properties to TipoDteEnum.
  • Implement missing tests for data_models.
  • Implement missing tests for constants.

Detail

data_models

  • Add fields to DteDataL2:
    • firma_documento_dt_naive
    • signature_value_base64
    • signature_x509_cert_base64
    • emisor_giro
    • emisor_email
    • receptor_email
  • Add properties to DteDataL1:
    • vendedor_rut
    • deudor_rut
  • Remove redundant property DteDataL1.natural_key
  • Implement missing tests (and add some test stubs).

parse

  • Re-implement, improve and augment parse_dte_xml.
  • Improve tests.
  • Fix poor usage of 'lxml'.

constants

  • Add helper properties to TipoDteEnum.
  • Improve docstrings and comments a little.
  • Implement tests.

Add helper properties.

Also:
- Improve docstrings and comments a little.
- Implement tests.
And add some test stubs.
- `vendedor_rut`
- `deudor_rut`
- `firma_documento_dt_naive`
- `signature_value_base64`
- `signature_x509_cert_base64`
- `emisor_giro`
- `emisor_email`
- `receptor_email`
@glarrain glarrain self-assigned this Apr 23, 2019
@glarrain glarrain merged commit e04e694 into develop Apr 23, 2019
@glarrain glarrain deleted the feature/dte/many-improvements branch April 23, 2019 00:29
glarrain added a commit that referenced this pull request Apr 25, 2019
Modify 2 fields added to `DteDataL2` in 89196d3 (PR #21).
That introduces some changes to function `parse_dte_xml`.

Also includes a major reorganization of tests for module `parse`,
improving separate coverage.
@jtrobles-cdd jtrobles-cdd added enhancement New feature or request and removed feature labels Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: dte enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants