Missing CVM codes in the ITR from years 2010 to 2019 #21
Labels
Priority: Medium
Issue should be integrated in the next release
Status: Completed
This issue has been solved and can be integrated to development branch
Type: Bug
Something isn't behaving as expected
Milestone
Description
The exception
ValueError
is raised ifAccountLayoutType.from_cvm_code()
is called for ITR documents from years 2011 to 2019.Steps to reproduce
DFPITRFile
AccountLayoutType.from_cvm_code()
for documents in that fileValueError
is raised for many documentsExpected behavior
CVM codes in ITR files from 2011 to 2019 should be tracked by this library, and thus not raise
ValueError
.Actual behavior
For example, running the following program:
with the ITR of 2011 produces the following output:
Additional context
This bug results from the refactor implemented by #11. #20 was a similar bug with DFP files.
The text was updated successfully, but these errors were encountered: