Commit graph

3166 commits

Author SHA1 Message Date
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
Lance Edgar cac9de3cc7 Update changelog 2018-06-04 14:11:13 -05:00
Lance Edgar 2923585bd3 Expose new Vendor.abbreviation field 2018-06-01 15:03:42 -05:00
Lance Edgar 8b46c1e3f0 Expose 'hidden' flag for inventory adjustment reasons 2018-06-01 13:03:41 -05:00
Lance Edgar 46c8887c3e Set default column renderers for grid based on data types
guess this really just moves that logic so it happens earlier
2018-06-01 13:02:55 -05:00
Lance Edgar db645fb393 Add support for variance inventory batches, aggregation by product
kind of a rushed job but hopefully this is all good...
2018-06-01 12:49:01 -05:00
Lance Edgar 5bc4a1618b Tweak inventory batch view per new variance mode 2018-06-01 10:46:43 -05:00
Lance Edgar dc5ad6ce82 Show department instead of subdept by default, for products grid 2018-06-01 09:59:03 -05:00
Lance Edgar 1866d8dd07 Freeze pip version for sake of tox tests...
ugh this needs some better attention soon!
2018-05-31 12:06:09 -05:00
Lance Edgar d1224ac879 Update changelog 2018-05-31 11:59:27 -05:00
Lance Edgar a1249a21c2 Show 'variance' field when viewing inventory batch row 2018-05-31 11:11:08 -05:00
Lance Edgar c583e9734c Update changelog 2018-05-30 16:37:07 -05:00