Commit graph

267 commits

Author SHA1 Message Date
Lance Edgar
4806d7e5fe Expose price_diff_percent, margin_diff for pricing batch row 2018-11-18 21:12:08 -06:00
Lance Edgar
342c7c3854 Move some label definitions for pricing batch rows 2018-11-18 20:47:24 -06:00
Lance Edgar
4a36ab827c Expose "suggested price" for pricing batch row view 2018-11-18 20:02:43 -06:00
Lance Edgar
fded97d586 Don't add values to CSV row for undefined fields 2018-11-18 20:02:14 -06:00
Lance Edgar
de6275003e Add vendor id, name to row CSV download for pricing batch 2018-11-18 19:36:28 -06:00
Lance Edgar
bdbb8e2a7d Make sure status field is readonly when creating new batch 2018-11-07 16:47:51 -06:00
Lance Edgar
e4a518c444 Remove some unwanted row grid labels
doing it that way makes customization harder..still need to revisit how best to
do that i guess
2018-11-02 18:59:46 -05:00
Lance Edgar
2bd107056c Add MasterView.render_product(), fix edit for pricing batch row 2018-10-23 17:20:47 -05:00
Lance Edgar
fb3105c099 Fix batch row status breakdown, for rows with no status 2018-09-20 18:22:36 -05:00
Lance Edgar
0b9fe2dfe7 Add simple row status breakdown when viewing batch 2018-09-20 15:58:45 -05:00
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