django-afip icon indicating copy to clipboard operation
django-afip copied to clipboard

DocumentType should have code as natural key

Open WhyNotHugo opened this issue 5 years ago • 0 comments

AFIP has changed the description of this, so when re-fetching metadata, one ends up with two different DocumentTypes that have the same code (code 99).

code should probably be the natural key for this table, and metadata updates should just overwrite.

WhyNotHugo avatar Oct 10 '20 16:10 WhyNotHugo