-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Payment.payable_object property to get payable (#3737)
* Split Entry.payment into separate fields on Renewal and Registration This is needed to be able to easily use the reverse relation from Payment to distinguish between registrations and renewals. * Make Payable an ABC This should make it a bit more readable, and improves linting. * Add prefetch-based Payment.payable_object property * Fix typo in migration * Add field and filter to admin * Add hyperlink to MoneybirdExternalInvoice admin's payable_object * Fix tests * Add tests
- Loading branch information
Showing
18 changed files
with
439 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.