Raphael Michel
53f129d5d3
Add codification of tax rates ( #4372 )
...
* draft
* .
* Rebase migration
* Update src/pretix/base/models/tax.py
Co-authored-by: Mira <weller@rami.io >
* Test, isort, flake, migration rebase
* carry data & API
* Fix failing tests
* docs fixes
* Improve validation
* Tests
* More fixes
---------
Co-authored-by: Mira <weller@rami.io >
2024-12-13 12:04:38 +01:00
Raphael Michel
bd32b33ba9
Bump Django to 4.1.* ( #2989 )
2023-06-05 09:56:31 +02:00
Raphael Michel
4c9640561c
Increase size of monetary decimal fields
2023-03-16 21:26:37 +01:00
Raphael Michel
2ba9514b6f
Invoicing: Allow to show exchange rates based on sources/rules ( #3122 )
2023-02-15 13:22:04 +01:00
Raphael Michel
749f5c7e6c
Invoices: Visibly mark paid invoices ( #3094 )
2023-02-07 11:34:38 +01:00
Raphael Michel
d7b05063a4
Allow to print event location on invoices ( #2278 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2021-11-05 09:47:41 +01:00
Raphael Michel
19cde63505
Fix incorrect setting if Invoice.full_invoice_no
2021-11-04 13:48:39 +01:00
Raphael Michel
abeddd360e
Invoices: Change expected behaviour for switches in numbering scheme
2021-10-29 12:09:09 +02:00
Raphael Michel
bc7300c393
Track if invoices have been sent via email ( #2231 )
2021-10-05 13:47:55 +02:00
Raphael Michel
177906e2ac
Custom order emails: Allow to attach tickets and invoices
2021-09-30 12:15:55 +02:00
Raphael Michel
cba2ad5333
Add Invoice.fee_type, Invoice.fee_internal_type
2021-06-22 16:58:54 +02:00
Raphael Michel
389228bfe8
Allow to send all invoices to a specific email address ( #2072 )
...
Co-authored-by: Martin Gross <gross@rami.io >
2021-05-11 12:49:24 +02:00
Raphael Michel
a93287207b
pretix Community Edition moves to AGPLv3-based license ( #2023 )
2021-04-12 10:33:47 +02:00
Raphael Michel
27ff73255b
Add new fields to invoice model and API
2021-03-08 14:28:04 +01:00
Raphael Michel
735d4564f8
Allow to change length of invoice numbers
2020-07-21 18:11:39 +02:00
Raphael Michel
cf2af3c94d
Import/startup performance improvements
2020-06-30 11:36:30 +02:00
Raphael Michel
01e2851a76
Invoice model: Do not crash on invalid states
2020-04-14 09:47:34 +02:00
Raphael Michel
9f6a3f9a6a
Add custom field for invoice addresses
2020-02-18 09:21:00 +01:00
Raphael Michel
1c03d5d305
Invoices: Label tax ID as ABN in Australia
2020-02-18 09:05:09 +01:00
Raphael Michel
2a6dc22d7b
Allow to use datetime components in invoice prefixes ( #1529 )
2020-01-02 09:46:07 +01:00
Raphael Michel
9a826b694f
Fix a type error PRETIXEU-1BF
2019-08-17 12:39:38 +02:00
Raphael Michel
d919605d79
Invoice addresses: Ask for a state in some countries ( #1362 )
...
* Invoice addresses: Ask for a state in some countries
* API, tests, noscript
* Fix shredder tests
* Add test for addresses with long state names
2019-08-09 09:55:46 +02:00
Raphael Michel
9a9de523e0
Allow separate numbering schemes for invoices and cancellations
2019-08-06 14:18:31 +02:00
Raphael Michel
d85ddb5bda
Integrate django-scopes ( #1319 )
...
* Install django-scopes
* Fix tests.api
* Update tasks and cronjobs
* Fix remaining tests
* Remove unused import
* Fix tests after rebase
* Disable scopes for get_Events_with_any_permission
* Disable scopes for a management command
2019-06-17 10:46:55 +02:00
Raphael Michel
2fac8592d4
Add modern invoice renderer
2019-04-17 15:08:58 +02:00
Raphael Michel
67059fe323
Add a simple test mode ( #1181 )
...
- [x] Provide data model and configuration toggle
- [x] Allow to delete individual test orders
- [x] Add tests
- [x] Add a prominent warning message to the backend if test mode orders exist (even though test mode is off), as this leads to wrong statistics
- [x] Decide if and how to generate invoices for test orders as invoice numbers cannot be repeated or should not have gaps.
- [x] Decide if and how we expose test orders through the API, since our difference pull mechanism relies on the fact that orders cannot be deleted.
- [x] Decide if and how we want to couple test modes of payment providers?
- [ ] pretix.eu: Ignore test orders for billing
- [ ] Adjust payment providers: Mollie, bitpay, cash, fakepayment, sepadebit

2019-02-20 17:51:26 +01:00
Raphael Michel
def7918b29
Fix wrong string interpolation in invoice generation
2019-02-17 21:22:47 +01:00
Raphael Michel
70fcba96a5
Add __str__ methods to more models
2019-02-14 18:50:27 +01:00
Raphael Michel
17392f3ef4
Store subevent data for invoice lines
2019-02-08 13:56:04 +01:00
Raphael Michel
e3ebf887a4
Implement Invoice.__repr__
2019-02-04 14:07:18 +01:00
Raphael Michel
af5aece639
Add beneficiaries to invoice addresses
2019-01-12 16:54:37 +01:00
Raphael Michel
c93f804992
Fix #1080 -- Deal with gaps in the invoice database ( #1086 )
2018-11-20 10:36:13 +01:00
Raphael Michel
a480ca1142
Add reverse charge flag to invoices
2018-10-30 10:57:29 +01:00
Raphael Michel
16983826fb
Allow to store structured invoice addresses
2018-10-24 01:37:18 +02:00
Raphael Michel
afd766999c
Upgrade to Django 2.1 ( #710 )
...
* Upgrade to Django 2.0
* more models
* i18n foo
* Update setup.py
* Fix Sentry exception PRETIXEU-JC
* Enforce slug uniqueness
* Import sorting
* Upgrade to Django 2.1
* Travis config
* Try to fix PostgreSQL failure
* Smaller test matrix
* staticfiles→static
* Include request in all authenticate() calls
2018-08-06 12:48:46 +02:00
Raphael Michel
7bccd62a4f
Fix #678 -- Data shredders for personally identifiable information ( #817 )
...
* Add data shredders for PII
* First working shredder
* Add more shredders
* Add new shredders and download confirmation
* tmp
* PayPal, Stripe, banktransfer
* Add icon to logs
* Untested payment log shredders
* Add waiting list shredder
* First tests
* Add tests for shredders
* Improve templats, link to shredder
* Test payment info shredders
* More tests
* Documentation
* Fix enabled flag in payment provider overview
* Fix minor issues
2018-05-02 15:59:59 +02:00
Raphael Michel
1f083a52eb
Increase maximum filename size of FileFields
2018-03-20 13:21:20 +01:00
Raphael Michel
3c3e59e932
Refs #99 -- Improve support for currencies with less than 2 decimal places ( #783 )
...
* Refs #99 -- Fix stripe support for zero-decimal currencies
* Add new money formatting method
* Force decimal places in many places
* Locale-aware currency rendering
* Fix currencies in more places
* More currency fixes
2018-02-26 10:46:07 +01:00
Raphael Michel
6b7338aff0
Improve performance of global order search
2018-01-15 10:55:26 +01:00
Jakob Schnell
9ab39904e8
Implement automatic spell-check for docs ( #688 )
...
* [WIP] Implement automatic spell-check for docs
fixes #663
The only thing unclear to me so far is how the output of `make spelling`
should be checked - is there a possibility to check for a file (i.e.
`_build/spelling/output.txt`) to be empty, and report a failed build
otherwise?
* fix typo in requirements.txt
* add enchant library
* travis should report errors, order spelling wordlist
* change travis.yml to easier troubleshoot build issues
* fixed more typos, added more words
* add more words, fix more typos
* added more words
* added more words
* revert changes to .travis.yml
2017-12-11 11:41:59 +01:00
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
56338be13e
Tax rules and reverse charge ( #559 )
...
Tax rules and reverse charge
2017-08-23 13:13:16 +03:00
Raphael Michel
7bb12ff0ec
Configurable invoice prefixes
2017-07-17 23:03:20 +02:00
Raphael Michel
6e65ae5306
Swappable invoice renderers
2017-07-07 11:16:07 +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
11ce4c2078
Add default ordering for Invoice and OrderPosition
2017-03-19 14:47:30 +01:00
Raphael Michel
503f6dd06f
Use consistent flake8 settings everywhere and fix flake8 issues
2016-10-13 22:57:57 +02:00
Flavia Bastos
8ef6439c44
Unify spelling of 'canceled'
...
Issue 187
Remove typeahead JS file.
2016-09-21 10:35:41 -06:00
Tobias Kunze
3eb4e84db4
Allow payment providers to supply invoice content
2016-09-07 15:30:35 +02:00