Commit graph

2937 commits

Author SHA1 Message Date
Lance Edgar ff576a3e8e Improve receiving batch workflows a bit
- allow receiving from invoice file
- populate logic branches according to workflow
- add proper support for populating from PO
2021-01-31 12:08:42 -06:00
Lance Edgar 365399cde6 Let PurchaseBatchHandler define which receiving workflows are supported
the UI still must be responsible for some knowledge of all this, but it helps
to put what we can in the handler...
2021-01-30 19:47:38 -06:00
Lance Edgar 0c5924f5b6 Make handler responsible for possible receiving modes
and make that just look at config by default
2021-01-30 16:55:54 -06:00
Lance Edgar 931a82490b Purge things for legacy (jquery) mobile apps 2021-01-30 15:52:16 -06:00
Lance Edgar 55b9760e9d Misc. reporting tweaks; add "Customer Mailing" sample report 2021-01-30 13:14:50 -06:00
Lance Edgar 6f9a616dec Add render_currency() and render_datetime() for app handler 2021-01-30 13:14:32 -06:00
Lance Edgar 551c30e987 Add BatchHandler.describe_execution() method
give the user more confidence in what's about to happen
2021-01-30 13:08:15 -06:00
Lance Edgar 5809a65a64 Fix PurchaseItem.po_total when creating from ordering batch 2021-01-30 13:06:29 -06:00
Lance Edgar ac25b435fc Add Purchase.id column to schema
auto-populated from the batch ID sequence
2021-01-30 13:05:30 -06:00
Lance Edgar 0588ee133f Update changelog 2021-01-28 14:55:33 -06:00
Lance Edgar 8949aacd0b Add basic PeopleHandler, for consistently updating names
just to get this logic in one common place, instead of e.g. in web views
2021-01-28 14:30:27 -06:00
Lance Edgar a707f02fd0 Update changelog 2021-01-27 17:04:24 -06:00
Lance Edgar c7f33898d4 Let win32 share the 'auth' extra
since it's just passlib now, and that seems to work fine
2021-01-27 16:48:31 -06:00
Lance Edgar f48a248ee0 Update changelog 2021-01-27 14:15:17 -06:00
Lance Edgar dfd4fd3b91 Add simple rattail checkdb command
almost certainly needs improvement, but i need it released for sake of testing
Theo dev bootstrap
2021-01-27 14:14:06 -06:00
Lance Edgar ee2055e1bd Avoid data type bug for customer order batch row refresh 2021-01-27 08:49:50 -06:00
Lance Edgar d6f004376d Initial support for adding items to, executing customer order batch 2021-01-26 20:09:43 -06:00
Lance Edgar 137b52ee37 Update changelog 2021-01-25 11:39:03 -06:00
Lance Edgar 7c8746fc8b Fix some discrepancies in primary vs. version table schema 2021-01-23 19:26:40 -06:00
Lance Edgar 780c179ee4 Add webapi.conf file for use with rattail make-config 2021-01-23 14:10:17 -06:00
Lance Edgar a7f150e3b5 Fix syntax bug in docstring 2021-01-21 19:26:49 -06:00
Lance Edgar 98a70f8825 Fix typo 2021-01-21 17:52:55 -06:00
Lance Edgar 27af5e8937 Add "Units of Measure" table, and mapping logic in products handler 2021-01-21 17:36:45 -06:00
Lance Edgar 9ebc910636 Add generic FromRattailConsumer base class for datasync 2021-01-20 20:28:30 -06:00
Lance Edgar 011f256008 Set self.model when constructing a DataSyncConsumer 2021-01-20 20:27:36 -06:00
Lance Edgar 24745516bb Don't use list for Product.shopfoo_product type relationships
surely a list would never make sense here?
2021-01-20 20:26:48 -06:00
Lance Edgar 8d355fb89c Avoid meaningless flushes within importer main loop
previously, if there were 0 created/updated, it would flush.  now it will only
flush if created or updated are nonempty
2021-01-20 20:25:45 -06:00
Lance Edgar e1f5285e9b Set self.model when constructing new Importer 2021-01-20 20:25:21 -06:00
Lance Edgar f60a717efc Show import vs. export direction in warnings/diff email 2021-01-20 20:24:00 -06:00
Lance Edgar 89e4355d85 Add new batch type for deleting products 2021-01-19 12:18:38 -06:00
Lance Edgar d4d82fa802 Add basic dev bootstrap for new projects 2021-01-19 11:23:35 -06:00
Lance Edgar 760a0ef72c Fix nullable bug when generating new table feature 2021-01-18 01:15:34 -06:00
Lance Edgar 511edac568 Add basic support for defining columns when generating new table feature 2021-01-18 00:32:04 -06:00
Lance Edgar 37eb1ec564 Add feature to generate new features...
at least that's the idea.  probably requires a web UI to be useful
2021-01-17 12:07:56 -06:00
Lance Edgar fd043c4c2f Fix tox config for building docs 2021-01-15 15:20:29 -06:00
Lance Edgar 129934d1c8 Add AppHandler.get_report_handler() and improve related docs a bit 2021-01-15 15:14:22 -06:00
Lance Edgar 585b00475b Tweak borg requirement for 'backup' extra
per latest borg docs.  i had encountered an issue with pip 20.3.3 and its "new
resolver" although not real clear how related that was.
2021-01-13 13:06:30 -06:00
Lance Edgar b97ffd2cc2 Add some default logic to FromFile importer base
for sake of identifying the input file
2021-01-01 09:52:41 -06:00
Lance Edgar 84c130be46 Update changelog 2020-12-15 20:06:17 -06:00
Lance Edgar 006203b3ba Add basic model, importer for IFPS PLU Codes 2020-12-06 19:34:38 -06:00
Lance Edgar b4efa5f4b5 Update changelog 2020-12-04 17:50:13 -06:00
Lance Edgar 28302b4afd Add 'datadir' to sample config files 2020-12-04 15:35:49 -06:00
Lance Edgar ff4149b989 Add basic structure for "Board Handler" feature 2020-12-02 14:12:20 -06:00
Lance Edgar 37fa532a5c Add phone_number_is_invalid() method to app handler 2020-12-02 11:09:06 -06:00
Lance Edgar 46367a6bc4 Update changelog 2020-12-01 20:04:24 -06:00
Lance Edgar 130c9d4df5 Add new "app handler" concept, w/ handlers for employment, clientele
more to come for this, but should be a reasonable starting point
2020-11-30 18:46:11 -06:00
Lance Edgar c0d4721dfb Update changelog 2020-11-24 10:31:19 -06:00
Lance Edgar 04578b4b11 Refresh product record, when attaching new price via importer 2020-11-23 11:19:14 -06:00
Lance Edgar 562ea54b31 Add vendor catalog parser for Equal Exchange 2020-10-23 22:08:12 -05:00
Lance Edgar 498130b27f Update changelog 2020-10-14 19:05:13 -05:00