Commit graph

3270 commits

Author SHA1 Message Date
Lance Edgar
827176d538 Add generic Product.status_code field
meaning of which is up to final app
2017-07-19 03:07:43 -05:00
Lance Edgar
7ca1da2da6 Add basic support for native product inventory 2017-07-19 01:39:31 -05:00
Lance Edgar
f4f89cf1f4 Update changelog 2017-07-14 23:54:12 -05:00
Lance Edgar
4be66f6a18 Add versioning for products and everything else
at least, everything else that seemed safe at this point..
2017-07-14 23:30:06 -05:00
Lance Edgar
95b831b41d Update changelog 2017-07-14 15:47:12 -05:00
Lance Edgar
aea69e78b3 Add custom status for purchasing batches
for now, just want to indicate if batch contains any "unknown" products
2017-07-14 15:43:21 -05:00
Lance Edgar
98f824b655 Update changelog 2017-07-14 14:39:44 -05:00
Lance Edgar
932b96ef20 Add util.pretty_boolean() convenience function 2017-07-14 00:40:11 -05:00
Lance Edgar
31711c8d42 Update changelog 2017-07-13 18:07:05 -05:00
Lance Edgar
216fd5424b Provide default Person.display_name when importing customer data
only when creating a new Person though
2017-07-11 23:47:41 -05:00
Lance Edgar
ed71cbb7d5 Add unit cost for inventory batches 2017-07-11 22:40:29 -05:00
Lance Edgar
bec3879af6 Add generic reason code for inventory batches 2017-07-11 21:58:30 -05:00
Lance Edgar
c0ce063fb6 Various tweaks to inventory batches
with goal of supporting mobile workflows..
2017-07-11 20:54:20 -05:00
Lance Edgar
1291453029 Add complete flag to all batches
you don't have to use it, but it's there if you want it
2017-07-11 15:22:51 -05:00
Lance Edgar
8adfd3cf99 Update changelog 2017-07-07 09:22:31 -05:00
Lance Edgar
180c9314d8 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:34:13 -05:00
Lance Edgar
527f617822 Update changelog 2017-07-06 21:27:11 -05:00
Lance Edgar
5ea06f5ce2 Cleanup some unicode stuff per py3k effort 2017-07-06 16:50:47 -05:00
Lance Edgar
ce1b0ec546 Replace usage of execfile()
per py3k effort
2017-07-06 16:23:16 -05:00
Lance Edgar
2ac7bad207 Add basic 'runas' support for datasync
if continuum versioning is enabled, should help us keep track of where
changes are coming from
2017-07-06 13:17:25 -05:00
Lance Edgar
33b0413e1d Add versioning support for all contact-related models
i.e. Person, Customer etc. - products should come soon!
2017-07-05 17:13:42 -05:00
Lance Edgar
566b425b7d Various tweaks to improve initial versioning support 2017-07-05 03:06:49 -05:00
Lance Edgar
cf5b7158b8 Remove unwanted tests 2017-07-04 13:29:05 -05:00
Lance Edgar
975e71c8ed Stop providing default value for Person.display_name
this used to be "first + last" but no longer..
2017-07-04 00:38:14 -05:00
Lance Edgar
b2028ecb58 Clean up SQLAlchemy-Continuum configuration a bit
we used to (think we) needed a custom Transaction class factory, but
that no longer seems to be necessary..
2017-07-03 23:32:24 -05:00
Lance Edgar
a0583f79a9 Add basic import-versions command, for "catching up" versions
so far only Person is supported..
2017-07-03 21:44:39 -05:00
Lance Edgar
f763851cab Tweak base Importer constructor, so model_class may be more dynamic 2017-07-03 21:44:39 -05:00
Lance Edgar
00f9f3e5dc Add first/basic re-attempt at Continuum versioning (Person only)
hopefully we're back on the right track here..
2017-07-03 21:44:39 -05:00
Lance Edgar
6a41b2a498 Remove __versioned__ flags from all models
"soon" will add some back, but more conservatively this time..
2017-07-03 21:44:39 -05:00
Lance Edgar
8b834d0761 Remove all old "data versioning" (SQLAlchemy-Continuum) tables
nearly time to try this again..let's clear out some cruft
2017-07-03 21:44:36 -05:00
Lance Edgar
0faf9348af Add department_number support to Category model importer 2017-07-03 13:41:14 -05:00
Lance Edgar
7f57bcc138 Add expect_duplicates kwarg to cache_model()
sometimes you just want a list of unique keys, really..
2017-07-02 13:08:20 -05:00
Lance Edgar
ac1ebbf420 Update changelog 2017-07-01 20:44:50 -05:00
Lance Edgar
1ee635d62a Install libreoffice-calc with headless soffice 2017-07-01 18:17:44 -05:00
Lance Edgar
1e8d938868 Add gross and net sales to Trainwreck items 2017-07-01 18:17:31 -05:00
Lance Edgar
6613006d96 Add "magic" for Excel file attachments when sending email 2017-06-30 12:38:09 -05:00
Lance Edgar
9afd6d9c7a Make Subcommand.get_runas_user() leverage args by default
i.e. if `--runas` arg was specified, use that
2017-06-30 12:37:51 -05:00
Lance Edgar
47148469f2 Add Subcommand.progress_loop() convenience method 2017-06-30 12:37:06 -05:00
Lance Edgar
81d8a6182d Update changelog 2017-06-26 10:23:45 -05:00
Lance Edgar
3e61a273a2 Move logic for refreshing handheld batch status
seems that logic wasn't generic enough to apply to all batch types
2017-06-26 10:22:39 -05:00
Lance Edgar
608f9b92dc Update changelog 2017-06-22 19:54:13 -05:00
Lance Edgar
8b27a53616 Cascade deletion for handheld / inventory/label batch associations 2017-06-22 19:53:18 -05:00
Lance Edgar
c081132eb8 Optimize local data cache slightly, for importers 2017-06-22 18:17:52 -05:00
Lance Edgar
527f31ce41 Update changelog 2017-06-22 13:32:18 -05:00
Lance Edgar
d9fe3fe491 Refresh batch status after creating via filemon action 2017-06-22 13:19:43 -05:00
Lance Edgar
3b3a8bd832 Set batch row count when first making label/inventory from handheld 2017-06-22 01:16:58 -05:00
Lance Edgar
cd768a38fb Fix batch row count when refreshing 2017-06-22 00:52:11 -05:00
Lance Edgar
9991f46e26 Add way to execute multiple handheld batches at once 2017-06-21 17:27:37 -05:00
Lance Edgar
5e8817e4d0 Refactor schema so label/inventory batch may come from multiple handheld batches 2017-06-21 15:34:40 -05:00
Lance Edgar
bd7348cc5b Add status code to (all) batch headers
for sake of improving efficiency with handheld/inventory batches, but
hopefully generic enough to be useful elsewhere too
2017-06-21 13:22:09 -05:00