Commit Graph

40 Commits

Author SHA1 Message Date
Raphael Michel
b857157c7b Add field internal_reference to invoice addresses 2017-10-27 00:49:56 +02:00
Raphael Michel
e54e0d6511 New concept for fee handling (#610)
* New concept for fee handling

* More usages

* Remove all usages, make all tests pass

* API changes

* Small fixes

* Fix order of invoice lines

* Rebase migration
2017-09-05 10:11:26 +03:00
Raphael Michel
ea7ec2b5fc Fix #585 -- Creating invoices for refunded orders 2017-09-04 20:36:19 +02:00
Raphael Michel
56338be13e Tax rules and reverse charge (#559)
Tax rules and reverse charge
2017-08-23 13:13:16 +03:00
Raphael Michel
d2b0e7209f Use a choice field for invoice address countries 2017-07-19 12:08:18 +02:00
Raphael Michel
7bb12ff0ec Configurable invoice prefixes 2017-07-17 23:03:20 +02:00
Raphael Michel
6ea798e55b Allow to exclude free products from invoices 2017-07-14 12:11:20 +02:00
Raphael Michel
6e65ae5306 Swappable invoice renderers 2017-07-07 11:16:07 +02:00
Raphael Michel
2add8d671a Unify all calls to register_payment_providers 2017-06-29 12:09:48 +02:00
Raphael Michel
123d2f6120 Allow to add positions to an existing order 2017-06-19 15:22:57 +02:00
Raphael Michel
b2d4bea1d0 Refs #314 -- Read-only REST API (#513)
* initial commit

* API auth

* Hierarchical URLs

* Add session auth

* Strong hierarchy

* Add filters

* Add i18n fields, questions

* More viewsets and serializers

* Ticket download

* Add OrderPosition serializer

* View-level permissions

* More tests

* More tests

* Add basic API docs

* Add REST API to docs frontpage

* Tests for order endpoints

* Add invoice tests

* Voucher and waitinglist tests

* Doc draft

* order docs

* Docs on all viewsets

* Disable DRF docs, style sphinx, style browsable API

* Fix tests

* deprecated imports

* Test foo

* Attendee names

* Fix migration problems

* Remove browsable API, plugin integration

* Doc fixes
2017-06-19 11:16:04 +02:00
Raphael Michel
b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel
990d5815f2 Fix #468 -- Long event slugs on invoices 2017-04-14 18:00:20 +02:00
Raphael Michel
8b7d2314b8 Use django-i18nfield library (#418) 2017-02-27 21:16:28 +01:00
Raphael Michel
3636bbbf3f Fix invoice logos with transparency 2017-02-17 09:51:06 +01:00
Raphael Michel
323beb1ab0 Add word wrapping to Invoice from/to/event 2017-02-10 10:38:45 +01:00
Raphael Michel
bf9987e05f Proper localization of Decimals 2017-02-01 18:46:04 +01:00
Raphael Michel
04369ff4f1 Fix word-wrapping in invoices 2017-01-22 17:28:56 +01:00
Raphael Michel
598e7c5637 Add invoice logo 2017-01-21 17:44:47 +01:00
Raphael Michel
c639cd96f5 Moved static files and celery.py 2017-01-04 22:00:28 +01:00
Raphael Michel
0dece9e62b Add a custom context manager for rollbacks (#282) 2016-10-21 10:40:04 +02:00
Raphael Michel
d6478e66de Fix #278 -- Preview for invoices 2016-10-20 18:58:05 +02:00
Raphael Michel
503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Tobias Kunze
9db333bf80 Transactiontask (#268)
* Introduce TransactionAwareTask

As described in
https://blog.hypertrack.io/2016/10/08/dealing-with-database-transactions-in-django-celery/

* Use TransactionAwareTask instead of countdown

… to prevent race conditions when using a newly created object in a
task.
2016-10-10 16:38:06 +02:00
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
Tobias Kunze
55120fc4ea Proper regeneration behavior for cancellations 2016-09-08 15:46:26 +02:00
Tobias Kunze
65db55f21b Extract common code of generate_invoice and regenerate_invoice
Only change is that a regenerated invoice's date is updated to the
current date, which would seem to be better to me, anyways.
2016-09-07 15:30:36 +02:00
Tobias Kunze
3eb4e84db4 Allow payment providers to supply invoice content 2016-09-07 15:30:35 +02:00
Raphael Michel
30ab315fec Use full codes in orders 2016-09-05 22:47:44 +02:00
Tobias Kunze
5f401f17d8 Add a footer and a second text field to invoices
Also, move to using localized strings for Invoice.additional_text
settings for consistency.
2016-08-30 19:49:29 +02:00
Tobias Kunze
157a16810d Add a net_value column to invoices
TODO: localization
2016-08-30 19:05:35 +02:00
Tobias Kunze
b8e77aeca4 Render line breaks in invoices "Additional text" 2016-08-30 19:05:35 +02:00
Raphael Michel
a22262aa30 Refs #131 -- Allow to regenerate an invoice 2016-08-05 11:26:13 +02:00
Raphael Michel
a61792ed4e Do not issue invoices for free payments 2016-08-05 11:06:22 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
38f0e6e6d6 Added a delay to invoice generation 2016-04-18 17:50:19 +02:00
Raphael Michel
f80a9a7ec3 Fixed a bug in invoicing 2016-03-24 14:12:20 +01:00
Raphael Michel
1f665e6f48 Use a context manager for temporary locale switches 2016-03-15 17:59:32 +01:00
Raphael Michel
7f524af79a Fixed translation issues 2016-03-15 17:17:33 +01:00
Raphael Michel
5ab78b4576 Refs #131 -- Basic implementation of invoicing 2016-03-13 16:05:31 +01:00