Commit graph

157 commits

Author SHA1 Message Date
Lance Edgar 950af8b5e0 Add "quick lookup" for mobile Products page
only if enabled, otherwise just shows the normal grid
2018-08-09 22:11:44 -05:00
Lance Edgar d8b45db331 Improve support for "receive from scratch" workflow, esp. for mobile
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar 935a6b2a68 Add basic autocomplete support for "quick row" feature 2018-07-13 19:12:39 -05:00
Lance Edgar 68bd3047c4 Add initial support for mobile "quick row" feature, for ordering
at least for now, ordering only, but hopefully much more soon...
2018-07-12 22:53:29 -05:00
Lance Edgar 3cc789dda9 Fix batch action kwargs, so 'action' can be a handler kwarg
i.e. at least the handheld batch handler, accepts an 'action' kwarg for its
execute() method.  we had apparently broken that
2018-07-03 18:32:03 -05:00
Lance Edgar ac5a6c011b Fix batch file download link URL 2018-07-03 18:25:34 -05:00
Lance Edgar edbf7e6723 Fix bug when populating new batch 2018-06-27 12:19:34 -05:00
Lance Edgar df9141ec4e Let config override sys.prefix when launching batch commands in subprocess 2018-06-08 11:41:40 -05:00
Lance Edgar 44ff02b7af Add versioning workaround support for batch actions
* add `can_cancel` flag for progress page, hide button if set
* overhaul populate/refresh/execute to launch socket/subprocess if necessary
2018-06-07 12:40:25 -05:00
Lance Edgar 57c2a7981f Fix some things for inventory batch views 2018-05-23 14:13:28 -05:00
Lance Edgar 62dca3d0b0 Only show "toggle complete" buttons when viewing batch
i.e. just show simple value for e.g. delete batch page
2018-05-23 13:28:11 -05:00
Lance Edgar 6d27d0cfba Hide "create new row" link for batches which are marked complete 2018-05-23 13:11:32 -05:00
Lance Edgar 218ac221e5 Add buttons to toggle batch 'complete' flag when viewing batch 2018-05-23 13:06:49 -05:00
Lance Edgar ecf7acc800 Fix handling of 'filename' field when making new batch 2018-05-22 15:31:31 -05:00
Lance Edgar cd7922f204 Add "most of" support for truck dump receiving
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar 630ffe0cf8 Don't allow row deletion if batch is marked complete 2018-02-22 12:26:21 -06:00
Lance Edgar 3d79f9fd7d Add support for executing batch with options, via mobile 2018-02-22 11:20:12 -06:00
Lance Edgar 2a2ff721c1 Bind batch to its execution options schema, when applicable
so the batch can provide default values, etc.  this also tweaks logic for using
defaults from session storage, so that they don't take priority over batch values
2018-02-22 11:18:11 -06:00
Lance Edgar a8a4e362a0 Add basic mobile support for executing batches
no progress, or options, yet..
2018-02-21 18:55:16 -06:00
Lance Edgar 6ca69802f5 Add download path for batch master views 2018-02-19 19:59:01 -06:00
Lance Edgar 2ab00bfd78 More python 3 tweaks 2018-02-12 22:17:38 -06:00
Lance Edgar b0821e8011 More tweaks for python 3 2018-02-12 15:32:54 -06:00
Lance Edgar ee35cc6f22 Misc. cleanup for Python 3 2018-02-12 14:41:40 -06:00
Lance Edgar cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar dd04459748 Refactor batch execution options to use colander/deform 2018-02-11 22:37:17 -06:00
Lance Edgar 2cbacd6187 Remove legacy fieldset configuration logic 2018-02-11 16:25:09 -06:00
Lance Edgar 4191a56bfb Fix some bugs with importer batch views 2018-02-10 17:14:32 -06:00
Lance Edgar 9387ef7116 Fix missing import bug 2018-02-06 10:31:36 -06:00
Lance Edgar 2219315ccc Collapse all master4 views back to just 'master' 2018-02-05 21:23:23 -06:00
Lance Edgar dfc5e0f50e Refactor importer batch views per master4 2018-02-05 13:00:34 -06:00
Lance Edgar 38afb35b65 Refactor pricing batch views per master4 2018-02-05 13:00:34 -06:00
Lance Edgar 410ee8eb65 Add base master4 batch view 2018-02-05 13:00:31 -06:00
Lance Edgar aded59d7ff Don't process file for new batch unless field is present 2018-02-03 14:49:49 -06:00
Lance Edgar 33931b4bf2 Refactor vendor invoice batch views to use master3 2018-02-03 12:37:24 -06:00
Lance Edgar c74bce2fdb Fix bugs when making inventory batch on mobile 2018-02-01 14:28:24 -06:00
Lance Edgar 8d62960548 Refactor importer batch views to use master3 2018-01-27 13:04:07 -06:00
Lance Edgar 2cbe1b0049 Refactor pricing batch view to use master3 2018-01-27 12:53:32 -06:00
Lance Edgar 8eab3c5b36 Refactor handheld batch views to use master3 2018-01-27 12:23:47 -06:00
Lance Edgar eac59ba5c8 Refactor purchasing batch views to use master3 2018-01-27 11:59:52 -06:00
Lance Edgar d20601c359 Refactor label batch view to use master3 2018-01-26 19:14:15 -06:00
Lance Edgar efdbc3c5b5 Show "buttons" when viewing an object, with forms2
also tweak logic when creating a batch..we'll see if it works..
2018-01-26 19:04:34 -06:00
Lance Edgar e2cdb4387a Fix row query bug when deleting batch row 2018-01-11 12:25:25 -06:00
Lance Edgar acb4a77032 Add first attempt at master3 for batch views 2018-01-08 22:49:45 -06:00
Lance Edgar fb140f24c1 Add basic UI support for "importer batch" feature 2018-01-06 20:28:59 -06:00
Lance Edgar 46d0e96321 Stop setting execution details when multiple batches executed
that's now the handler's job
2018-01-05 20:39:38 -06:00
Lance Edgar 4902fab187 Refactor views to use Grid.set_sort_defaults() method 2017-12-04 22:40:10 -06:00
Lance Edgar a7d8cfcdbb Let batch views allow or deny "execute results" option 2017-12-02 17:08:17 -06:00
Lance Edgar 70a34615a3 Expose description and notes for label batches 2017-12-02 14:20:02 -06:00
Lance Edgar 11a63ab2ef Fix batch row count when bulk-deleting rows 2017-12-02 13:24:38 -06:00
Lance Edgar 9cf5c9385d Add batch description to page body title 2017-11-30 11:22:54 -06:00
Lance Edgar 6decabb369 Various batch tweaks, for better execution options etc. 2017-11-29 18:26:55 -06:00
Lance Edgar df3623b663 Add more "manually priced" awareness to pricing batch UI 2017-11-29 18:25:47 -06:00
Lance Edgar 2cba0ade84 Accept None as valid arg for Grid.set_filter()
i.e. to effectively remove the filter
2017-11-11 09:52:11 -06:00
Lance Edgar c7855f2ca5 Add description, notes for pricing batches 2017-10-30 21:33:25 -07:00
Lance Edgar c95e2dbb06 Add "download row results as CSV" feature to master view 2017-10-14 14:14:24 -07:00
Lance Edgar 3bcec30a4c Don't set batch input file on creation, if no file exists 2017-09-23 13:32:12 -05:00
Lance Edgar e1384c2ab1 Tweak default labels for created(by) batch form fields 2017-09-23 11:48:38 -05:00
Lance Edgar 3477637c74 Allow batch execution to require options on a per-batch basis
plus some other changes i think..
2017-08-16 23:27:27 -05:00
Lance Edgar 0ad2113b81 Various tweaks to inventory batch logic
really to support zero-all mode, but several generic changes too
2017-08-10 11:10:42 -05:00
Lance Edgar 4f2bf5431d Fix clone config bug for label batches 2017-08-09 23:15:38 -05:00
Lance Edgar 18f4b4ff5c Various changes to support a certain new app
improve inventory support, plus "hiding" person data but still using it
2017-08-09 21:41:42 -05:00
Lance Edgar 2dc539c357 Fix bulk-delete for batch rows, allow it for pricing batches 2017-08-08 16:57:05 -05:00
Lance Edgar f46e20c119 Refactor progress bars somewhat to allow file-based sessions
hoping this solves issue of Apache restart at end of upgrade
2017-08-07 18:19:29 -05:00
Lance Edgar f5688f1f90 Add basic support for performing / tracking app upgrades
also add `MasterView.executable` and friends
2017-08-05 22:07:49 -05:00
Lance Edgar 65c63dad3e Initial support for mobile ordering
plus various other changes required for that
2017-08-02 12:08:23 -05:00
Lance Edgar 61d504afb8 Various tweaks for support of native inventory
certaianly some other things made it in here too..
2017-07-19 01:42:18 -05:00
Lance Edgar 69778a4682 Fix import bug 2017-07-18 13:26:04 -05:00
Lance Edgar 965dac9f43 Refactor (coalesce) all batch-related templates 2017-07-14 22:08:48 -05:00
Lance Edgar 951057d8c2 Refactor / cleanup v2 batch master
also remove old/unused logic from v1 batch master
2017-07-14 21:55:35 -05:00
Lance Edgar 55ca7d5117 Remove references to master2 templates 2017-07-14 21:38:46 -05:00
Lance Edgar c57e2e17cc Final grid refactor; we now have just 'grids' :)
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -05:00
Lance Edgar c18774e5e5 Fix template/styles for v3 grid views, add purchasing batch status 2017-07-14 15:45:31 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 1791bd745b More tweaks to support mobile inventory batches 2017-07-11 21:59:12 -05:00
Lance Edgar 32d256932e Various tweaks to support mobile inventory batches
still not fully there I think, but pretty close..
2017-07-11 20:57:52 -05:00
Lance Edgar 452cb99349 Add basic support for viewing inventory batches on mobile 2017-07-11 16:23:11 -05:00
Lance Edgar 60104f05c7 Make all batches support mobile by default
with default pending/etc. filter also
2017-07-11 15:25:05 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 8014e60d14 Add webhelpers2 dependency, use it for most things
still using webhelpers for certain things yet, hopefully can get rid of that soon
2017-07-06 20:13:42 -05:00
Lance Edgar 91a14c81a9 Remove all old-style CRUD views 2017-07-06 15:46:05 -05:00
Lance Edgar 53d69acbcc Remove all old-style batch CRUD views 2017-07-06 15:44:37 -05:00
Lance Edgar 62fa0f9fcb Remove all "old-style" (aka. version 1) grids 2017-07-06 15:23:33 -05:00
Lance Edgar b9a96f306b Add row count to inventory and label batch views 2017-06-22 01:17:34 -05:00
Lance Edgar 17017adde8 Tweak behavior when executing handheld batch results
redirect to final batch when done, try to warn user a bit
2017-06-22 01:02:03 -05:00
Lance Edgar 0d448fe6c5 Fix batch row count when deleting a row 2017-06-22 00:52:41 -05:00
Lance Edgar 5a0fa20e03 Add way to execute multiple handheld batches at once 2017-06-21 17:29:06 -05:00
Lance Edgar 1fc3133f8e Try to keep batch status updated; display it for handheld batches
seems a little hacky but hoping it's safe at least
2017-06-21 13:24:27 -05:00
Lance Edgar 83dbf405f6 Add row count as available column to batch header grids 2017-06-21 12:59:13 -05:00
Lance Edgar da0f5cb63c Fix bug where batch notes weren't saved upon creation 2017-05-25 12:20:37 -05:00
Lance Edgar b841ce664e Make 'notes' field use textarea renderer by default, for all batches 2017-05-24 20:11:53 -05:00
Lance Edgar cf8df76788 Add support for bulk-delete of Pricing Batches 2017-05-24 18:10:38 -05:00
Lance Edgar d93b91f491 Various tweaks for mobile receiving batches
this is temporary, soon will refactor all that again..
2017-05-22 13:13:44 -05:00
Lance Edgar 242bcd7603 Remove references to deprecated batch handler methods 2017-05-18 11:57:30 -05:00
Lance Edgar f0feefc7e5 Tweak how purchase batch is created via mobile
to let custom apps override args etc.
2017-05-18 11:33:01 -05:00
Lance Edgar 56695d0c20 Allow batch view to override execution failure message 2017-05-11 09:49:15 -05:00
Lance Edgar 72ae1191a0 Let a batch disallow bulk-deletion of its rows 2017-05-04 16:34:48 -05:00
Lance Edgar abb82c91f3 Add BatchMasterView.add_file_field() convenience method 2017-03-21 13:19:38 -05:00
Lance Edgar 581a21bd9d Add basic "mobile index" master view, plus support for demo mode 2017-03-19 11:21:00 -05:00
Lance Edgar 49c9bbbbee Be explicit about fieldset for pricing batch rows
Seems helpful to investigate these sometimes...
2017-02-02 15:34:32 -06:00
Lance Edgar 12545c6a20 Add way for batch views to hide rows with given status code(s)
This seems like it would often be useful...though maybe belongs in the handler?
2017-01-30 17:08:05 -06:00