Changelog¶
This file contains a brief summary of new features and dependency changes or releases, in reverse chronological order.
3.2.0¶
- New runtime dependency: pyBarcode>=0.8b1.
- The receipt class now has a
is_validatedproperty to check if a single instance has been validated. - All internal errors now raise
DjangoAfipExceptionor a subclass of it. - Add barcodes to receipt PDFs (AFIP 1702/04).
- TaxPayer certs are now blankable, which should improve admin usability, as well as make forms for new TaxPayers friendlier. You might need to check your forms if users are expected to always provide a certificate.
- Certificate expiration dates are now stored (via a pre-save hook) and exposed
by the
TaxPayermodel. This should also make it impossible to upload garbage instead of a proper certificate file.
3.1.0¶
- Receipt entries are now shown in the Receipts admin.
- Fix receipt entries being mis-rendered (missing quantity) in PDFs.
- Allow generating PDFs for receipts via the admin.
- Use PES (ARS) as a default currency for Receipts (only if metadata is present), and ‘1’ as a currency quote.
- Customized admins are now included for a few more models.
3.0.0¶
- The entire
ReceiptBatchmodel has been dropped, along withValidation. Receipts are now validated via Receipt querysets, eg:Receipt.objects.filter(...).validate(). The existingReceiptValidationobjects remain unchanged. - Validation of Receipts can now be done in a single action via the
Receiptadmin. Receiptinstances have a newvalidate()method to validate that single receipt.- The
receiptnumbertag is now deprecated. UseReceipt.formatted_numberinstead.
2.7.0¶
- Drop support for Django 1.9, support Django 1.11.
- The default ordering of
Receiptinstances has now changed, both via querysets and in the admin. - The total amount for receipts is not shown in ARS.
- CI now run tests with all supported Python and Django versions.
- This version has experimental Django 2.0 support.
- Include a new ReceiptPDF admin.
- All exceptions now inherit from
DjangoAfipException.
2.6.1¶
- Language settings of downstream apps should no longer generate bogus
migrations for
django-afip.
2.6.0¶
- It is now possible to generate keys and CSRs for taxpayers, both programmatically, and via the admin.
- The
AuthTicket.authorizemethod no longer takes asaveargument. Authorized tickets are now always immediately saved. - Add a missing migration.
2.5.1¶
- Fix an error validating receipts with not VAT or Tax.
2.5.0¶
- We now rely on
zeep, rathersuds, update your dependencies accordingly.
2.4.0¶
- Raise
CertificateExpired,UntrustedCertificateorAuthenticationErrorwhen attempting an authentication fail. - The field
ReceiptEntry.amounthas been renamed toquantity. - Add a links to documentation on where to obtain the AFIP WS certificates.
- Introduce this changelog.