django-afip
django-afip copied to clipboard
Draft receipts and validation helpers
-
Add a
is_draftfield to receipts, to allow distinguishing receipts that are "ready to validate" from those that are not. -
raisewhen trying to validate a receipt whereis_draft=True. -
Merge celery tasks [that do validations] from different apps and move the resulting one into this repository.
-
Bonus: Allow rendering a PDF for any receipt -- however, not-yet-validated receipts should show "DRAFT" as a number.