Skip to content

Conversation

@glarrain
Copy link
Contributor

  • dte.data_models.DteDataL2: make fields emisor_razon_social and receptor_razon_social optional.
  • rcv.data_models: make unnecessary fields optional, which will be removed later on.

Fields `emisor_razon_social` and `receptor_razon_social` are now
optional.
For subclasses of `RcvDetalleEntry` only one of these fields is
necessary, which depends on the specific class. Later on the
optional field will be removed; this is the first step for
achieving that without breaking other people's code.

- `emisor_razon_social`
- `receptor_razon_social`
@glarrain glarrain requested a review from jtrh April 14, 2020 14:32
@glarrain glarrain self-assigned this Apr 14, 2020
@glarrain glarrain merged commit d025c74 into develop Apr 14, 2020
@glarrain glarrain mentioned this pull request Apr 14, 2020
@glarrain glarrain deleted the feature/data_models/make-some-fields-optional branch April 14, 2020 16:32
glarrain added a commit that referenced this pull request Apr 14, 2020
For subclasses of `RcvDetalleEntry` only one of these fields is
necessary, which depends on the specific class.

- `emisor_razon_social`
- `receptor_razon_social`

These fields had been made optional in #112 (commit 1f21463).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants