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