Commit graph

23 commits

Author SHA1 Message Date
Nico Schottelius
c835c874d5 [BREAKING] make Order a stand-alone version
I think that while the idea of an Orderrecord is good, we might get
away / have a simpler implementation if we only use orders and
reference them where needed.

I saved the previous Order model for easy rollback, if my assumption
is wrong.
2020-05-02 22:48:05 +02:00
Nico Schottelius
028f1ebe6e Entry point /beta/vm/ works for creating VM + order 2020-05-02 22:03:34 +02:00
Nico Schottelius
4097c2ce13 BillingAddress: make mget_preferred_address a classmethod 2020-05-02 21:20:14 +02:00
Nico Schottelius
927fb20671 Versionise API and cleanups 2020-05-02 20:31:36 +02:00
Nico Schottelius
2cda6441f4 Refactor secret / local settings handling 2020-05-02 00:16:29 +02:00
b3afad5d5d Compute VAT rate and amount on bill generation 2020-04-18 11:43:55 +02:00
3a03717b12 Split bills between orders of the same billing address 2020-04-18 11:21:11 +02:00
db9ff5d18b Display allr elevant values on Bill serializer/page 2020-04-18 10:43:23 +02:00
e6eba7542b Minor fixes, DB sync after rebase 2020-04-18 09:26:21 +02:00
0522927c50 Start wiring BillingAddresses to bills & orders 2020-04-18 09:13:52 +02:00
c6ca94800e Add BillingAddress structure to users 2020-04-18 09:13:04 +02:00
ad187c02da Import VAT rates "importer" from dynamicweb 2020-04-18 09:13:04 +02:00
86775af4c8 Fix product activation tests after rebase 2020-04-18 09:02:33 +02:00
83a0ca0e4e Adapt billing tests to product activation structure 2020-04-18 08:35:22 +02:00
5d5bf486b5 Initial product activation implementation 2020-04-18 08:34:41 +02:00
14f59430bb Restore Order.add_record, used by uncloud_pay tests 2020-04-13 11:54:41 +02:00
a7e9f3c09d Move Order.add_record to save hook in abstract Product 2020-04-13 10:42:44 +02:00
Nico Schottelius
bc033a9087 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-04-12 11:36:51 +02:00
Nico Schottelius
05f38d157e add a discounter function to the product model 2020-04-12 11:35:37 +02:00
3588ae88f9 Merge branch 'master' into HEAD 2020-04-09 14:10:01 +02:00
89c705f7d2 Set one payment method as primary, allow updates 2020-04-08 17:22:53 +02:00
f2a797874a Merge branch 'master' into stripe-js 2020-04-08 17:08:09 +02:00
Nico Schottelius
7a6c8739f6 Rename / prepare for merge with uncloud repo 2020-04-02 19:31:03 +02:00
Renamed from uncloud/uncloud_pay/models.py (Browse further)