Commit graph

2327 commits

Author SHA1 Message Date
Lance Edgar c88d060fe0 Force user to count "units" and not "packs" for inventory batch
at least until we come up with something smarter...
2018-07-09 15:50:28 -05:00
Lance Edgar 469f9cf015 Update changelog 2018-07-09 14:29:34 -05:00
Lance Edgar 3dfdb26502 Improve basic support for unit/pack info when viewing product details 2018-07-08 00:01:14 -05:00
Lance Edgar 9149902c78 Remove deprecated "edbob" settings 2018-07-07 20:43:17 -05:00
Lance Edgar b464db5722 Change field ordering for customer form
so that default_email comes next to email_preference
2018-07-06 14:17:33 -05:00
Lance Edgar 8cadec9a16 Fix enum values for customer email preference grid filter 2018-07-06 14:15:33 -05:00
Lance Edgar 00a0e6fb11 Update changelog 2018-07-03 20:55:11 -05:00
Lance Edgar 9a0a280d7d Tweak how some "pack item" fields are displayed when viewing product 2018-07-03 20:47:32 -05:00
Lance Edgar ad5444d270 Update changelog 2018-07-03 18:57:34 -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 6febd01e76 Don't read upgrade progress file if size hasn't changed
apparently that is possible sometimes?  or perhaps just an issue on python 3?
2018-07-02 12:06:09 -05:00
Lance Edgar 4c2f1aa4ed Update changelog 2018-06-29 14:23:29 -05:00
Lance Edgar 944e896196 Consider any integer greater than PG allows, to be invalid grid filter value
this feels pretty hacky...would be nice to come up with a better way
2018-06-29 12:56:22 -05:00
Lance Edgar 4ffd0df7c1 Update changelog 2018-06-28 15:17:44 -05:00
Lance Edgar 2ffb930f7f Fix how "unknown product" row is added to receiving batch 2018-06-28 12:27:40 -05:00
Lance Edgar 8d0dfd631b Show department column for receiving batch rows 2018-06-28 12:27:30 -05:00
Lance Edgar 350e901c2a Highlight "cost not found" as warning, for purchasing batch 2018-06-28 12:27:04 -05:00
Lance Edgar 1342d67746 Improve basic support for adding new product 2018-06-28 12:26:22 -05:00
Lance Edgar b9d699df84 Fix email preview logic per python 3
can't use filter() anymore
2018-06-28 12:25:44 -05:00
Lance Edgar 6b01a7e888 Add highlight for "cost not found" rows in purchasing batch 2018-06-27 18:40:22 -05:00
Lance Edgar 49f241a4b9 Accept invoice number when adding truck dump child from invoice file 2018-06-27 18:00:28 -05:00
Lance Edgar eeba784c32 Be smarter about when we sort receiving batch by most recent (for mobile)
i.e. only do so when *not* aggregating products, since that probably needs a
closer look first
2018-06-27 17:29:31 -05:00
Lance Edgar 0ccb6883f8 Don't aggregate product for mobile truck dump receiving
also sort batch rows by most recent, for receiver convenience
2018-06-27 17:26:38 -05:00
Lance Edgar da10c6503c Add support for new credit_total field for purchase credits 2018-06-27 15:20:20 -05:00
Lance Edgar b66af5903b Add invoice_total column for purchase credits grid
that probably isn't quite right, but at least is something
2018-06-27 15:08:53 -05:00
Lance Edgar 440a88aa0f Add overflow validation for cases/units in inventory batch desktop form 2018-06-27 14:52:55 -05:00
Lance Edgar ee1065bfdb Allow editing of unit cost for inventory batch row 2018-06-27 13:56:20 -05:00
Lance Edgar 076d3d8189 Add support for zero quantity for mobile inventory batch rows 2018-06-27 13:43:03 -05:00
Lance Edgar c1e2c5551c Allow zero quantity for inventory batch desktop entry form 2018-06-27 13:34:48 -05:00
Lance Edgar edbf7e6723 Fix bug when populating new batch 2018-06-27 12:19:34 -05:00
Lance Edgar 88a8922833 Update changelog 2018-06-27 10:27:14 -05:00
Lance Edgar 0c653b5ee3 Fix input validation for integer grid filter
sometimes a default is provided as int
2018-06-27 10:26:37 -05:00
Lance Edgar f92123c398 Tweak pip and "upgrade strategy" for tox 2018-06-14 20:24:14 -05:00
Lance Edgar ea8e52377c Update changelog 2018-06-14 20:21:19 -05:00
Lance Edgar 8387129eda Add workaround for using pip 10.0 "internal" API in upgrades view 2018-06-14 19:57:15 -05:00
Lance Edgar 93b3a5dab6 Change how date fields are handled within grid filters
don't set type="date" b/c that can trigger native browser datepicker
2018-06-14 19:37:50 -05:00
Lance Edgar eb1bb02dc5 Update changelog 2018-06-14 12:20:36 -05:00
Lance Edgar baeb9a558e Expose new exempt_from_gross_sales flags 2018-06-14 12:04:50 -05:00
Lance Edgar 8428790001 Use "known" label if possible when making new grid filters 2018-06-14 12:04:35 -05:00
Lance Edgar 7c46f10dd1 Add Excel results download for categories, report codes
also fix department field widget for categories
2018-06-13 21:02:21 -05:00
Lance Edgar b1b4e7e4ef Auto-size columns for Excel results download 2018-06-13 21:00:11 -05:00
Lance Edgar 51ff56eb4f Update changelog 2018-06-09 16:59:36 -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 e608c0b428 Allow products view to set some labels in costs grid 2018-06-07 16:03:17 -05:00
Lance Edgar bac82f47d8 Update changelog 2018-06-07 14:33:13 -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 cc6fa7058b Update changelog 2018-06-05 14:39:49 -05:00
Lance Edgar ae3f79e522 Set filter value renderer when setting enum for grid field 2018-06-05 14:38:52 -05:00
Lance Edgar 3688979b8f Add integer-specific grid filter
this was necessary for smarter handling of "invalid" input, e.g. '.645' is not
a good value when querying integer fields
2018-06-05 11:08:36 -05:00