Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use django-account-balances for accounting #1

Open
yuwash opened this issue Jun 1, 2018 · 1 comment
Open

use django-account-balances for accounting #1

yuwash opened this issue Jun 1, 2018 · 1 comment

Comments

@yuwash
Copy link
Member

yuwash commented Jun 1, 2018

Currently this uses empty EmptyPayment for main accounting (no payment possible) and InfinitePayment for bonus (you can wash indefinitely for free).

We should use django-account-balances as Netz-AG proposes, however, the version on the repository carver/django-account-balances is outdated and incompatible with both Python 3 and Django 1.11. We should instead use the private fork hosted by Netz-AG (link works only in the house network). There’s also the upstream django-oscar/django-oscar-accounts project that’s very active, however which is still dependent on oscar.

@yuwash yuwash changed the title use django-accounts-balances for accounting use django-account-balances for accounting Jun 1, 2018
@yuwash
Copy link
Member Author

yuwash commented Jun 10, 2018

I just started implementing this in the "accounts" branch.

One unsolved issue is this exclude call that shouldn’t be necessary, but the test "test_bonuspayment" currently fails if I remove this. Somehow it finds multiple account instances for the waschexample user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant