Commit graph

287 commits

Author SHA1 Message Date
32dc720aff Add Weasyprint to the dependencies. 2020-03-13 18:58:47 +01:00
8e32f83d66 Some small post-merge fixes. 2020-03-13 18:58:46 +01:00
d54324c2c1 Merge branch 'master' into crac 2019-10-05 21:12:16 +02:00
3acda4463b Indicate differences with upstream in the README. 2019-10-05 20:34:57 +02:00
befb5fd1de Generate PDFs rather than XLS files.
Closes #14.
2019-10-05 20:20:13 +02:00
9af506ba4b Do some cleaning. Thanks pylint. 2019-10-05 01:27:06 +02:00
cbb8329c3e Fix command unit display when doing adjustments.
Closes #15.
2019-10-05 00:33:14 +02:00
5bbce69ea0 Add a button « Manage groups » on the delivery.
Skin a bit better the delivery balance template :-)

Closes #16
2019-10-05 00:27:27 +02:00
89e4664c21 Display names in the debts repartition table.
Because multiple referents can exist in the same group,
one is picked and considerd as the one who's paying for the group.

Closes #18.
2019-10-05 00:18:31 +02:00
2550030bb6 Do not send emails if all products are in rupture. 2019-10-04 23:12:51 +02:00
541e6dd354 Fix table for referents.
Closes #22
2019-10-04 22:52:15 +02:00
8fbb02d06a Use external python-emails library. 2019-10-04 22:22:24 +02:00
1039198a6d Start fixing the tests. 2019-10-04 21:31:16 +02:00
c0e30927f7 Thank you, black. 2019-10-02 20:49:18 +02:00
698d2ef87f Add a summary link to the email sent to referents. 2019-10-02 20:22:39 +02:00
af0ab5cb82 Fix sésame link in emails when working locally. 2019-10-02 19:16:48 +02:00
3cfc7ac6e2 Allow product referent to modify orders.
Fix #12.
2019-10-01 21:01:03 +02:00
e27d533f47 Make product edition easier for referents.
Fix #8
2019-10-01 20:46:48 +02:00
dd1d9b7b9b Allow packing to be edited to null. 2019-10-01 20:31:58 +02:00
cfcd3982a1 Add a link to download orders per producer.
Fix #10.
2019-10-01 20:27:58 +02:00
bf70af6de1 display counts and referent emails when managing. 2019-09-30 23:59:09 +02:00
2cbf00183d Fix groups handling. 2019-09-30 23:14:54 +02:00
1cbdc56969 Fixes email sending.
Now works with HTML + alternative plain text + attachments.
2019-09-30 17:59:39 +02:00
cfd9543d92 Fix email sending 2019-09-30 12:38:30 +02:00
3c39221a2d 0.0.2 2019-09-30 00:53:42 +02:00
f96ca0a192 Online edition + manage delivery + send emails. 2019-09-30 00:31:19 +02:00
ff79712fb5 Remove useless (for us) links. 2019-09-27 16:56:47 +02:00
e03b4cebb5 Do not join an already joined group. Fixes #3 2019-09-27 16:42:59 +02:00
931cc77f11 Make import / export work with ruptures. Fixes #4 2019-09-27 16:16:09 +02:00
2e524c92c1 Use debts to compute and solve the balances 2019-09-24 21:09:43 +02:00
bca36da70c Handle ruptures 2019-09-24 10:17:11 +02:00
11c755fb18 Add stylesheet for signing sheet 2019-09-24 01:31:27 +02:00
c89f1d9466 Fix a few bugs in the reports 2019-09-24 01:30:36 +02:00
911f327106 Force people to enroll in a group. 2019-09-24 00:34:58 +02:00
1131c55129 Remove pdb 2019-09-24 00:03:28 +02:00
fe960c13f5 Pass commands as group, not individual 2019-09-23 22:45:00 +02:00
90b2a92894 Make it work, again. 2019-09-23 21:41:53 +02:00
83b78b3684 Add support for product referents 2019-09-16 23:09:23 +02:00
f609c51366 Import multiple sheets 2019-09-16 22:37:30 +02:00
49b16a761f Display all orderrs in the delivery summary page 2019-07-20 01:01:19 +02:00
23623d3563 Split orders by producer to ease the reading 2019-07-19 01:58:06 +02:00
93abb2234a Prompt users to join a group 2019-07-19 01:28:41 +02:00
690c551627 Attach the group to the user and to the request 2019-07-19 01:16:06 +02:00
cef7a200dc Add a concept of groups 2019-07-19 00:12:33 +02:00
Yohan Boniface
5b40b9aac8 Split back home page to distinguish between active commands and past ones 2019-06-07 12:51:21 +02:00
Yohan Boniface
28cb3220e1 Allow to control remote HOST for emails 2019-06-07 12:50:33 +02:00
Yohan Boniface
9afe04ccf5 Make sure we cannot set an ajustment below what user ordered 2019-05-25 19:25:53 +02:00
Yohan Boniface
c2c466ce27 Add product reference in order summary
Useful in post delivery checks (it appears in the liste
d'émargement) and it's always better non ambigous which product
it is
2019-05-25 19:17:41 +02:00
Yohan Boniface
c410a4558f Catch SMTP errors 2019-05-25 19:16:46 +02:00
Yohan Boniface
b3062fd385 Allow to remove a product from a delivery with orders
Eg. when some products are missing from the real delivery while
being ordered.
2019-05-25 17:33:20 +02:00