Commit graph

14 commits

Author SHA1 Message Date
Yohan Boniface
6db17fa56e Allow to archive deliveries
- Delivery.id is not persisted anymore: the file name and relaltive
  directory *is* the id, and we don't want to denormalize this info
- Delivery.load will filter out non fields keys from the storage: this
  allows more resilient upgrade of the data model, and is usefull when
  dealing with multiple branches with different data models
- Delivery.archive/unarchive will move the delivery storage from
  root to archive/
- Delivery.all now accepts "is_archived" to retrieve archived instead
  of active deliveries
- import products is now moved to a modal
- archived deliveries are now listed in a separate page
2019-04-24 17:51:56 +02:00
Yohan Boniface
b6ed2b412b Add Delivery.contact 2019-04-17 22:12:14 +02:00
Yohan Boniface
c020ec89fa Display adjustement col on closed delivery if order has adjustements 2019-04-16 23:14:55 +02:00
Yohan Boniface
425222a0a2 Allow to define ProductOrder.ajustment when product needs adjustment 2019-04-14 09:41:55 +02:00
Yohan Boniface
8684e83880 Make everyone staff if not staff is on the config 2019-04-09 18:48:42 +02:00
Yohan Boniface
59783879b6 Place order: use session email if not email is provided 2019-03-24 16:55:49 +01:00
Yohan Boniface
3216aeac11 Renamed + remote 2019-03-24 15:45:58 +01:00
Yohan Boniface
a009948e08 Do not take order_before hours into account 2019-03-24 11:09:14 +01:00
Yohan Boniface
4c34c2bacd Deal with from/to time 2019-03-23 23:22:45 +01:00
Yohan Boniface
e7e82f2c99 More CSS all around 2019-03-23 12:01:18 +01:00
Yohan Boniface
cd12223d6d Basic messages, config and XLSX export 2019-03-19 23:18:01 +01:00
Yohan Boniface
8b31985c5c POC with dataclasses 2019-03-18 22:02:04 +01:00
Yohan Boniface
b3adffb8f7 Minimal POC 2019-03-18 00:11:27 +01:00
Yohan Boniface
b25d8a28c8 non working MongoDB custom ODM 2019-03-17 19:30:10 +01:00