Commit graph

1849 commits

Author SHA1 Message Date
Lance Edgar
2983ff7ba0 Highlight purchasing batch rows with "case quantity differs" status 2018-07-10 12:38:58 -05:00
Lance Edgar
ed6f2f27cc Show "truck dump" info for applicable receiving batch page title 2018-07-10 11:39:22 -05:00
Lance Edgar
053fc4eb55 Sort mobile receiving rows by last modified instead of sequence
because we now prefer to aggregate rows for that, at least by default
2018-07-10 09:06:22 -05:00
Lance Edgar
44663fe548 Fix bug for inventory batch when product not found 2018-07-09 21:28:36 -05:00
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
3dfdb26502 Improve basic support for unit/pack info when viewing product details 2018-07-08 00:01:14 -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
9a0a280d7d Tweak how some "pack item" fields are displayed when viewing product 2018-07-03 20:47:32 -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
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
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
edbf7e6723 Fix bug when populating new batch 2018-06-27 12:19:34 -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
baeb9a558e Expose new exempt_from_gross_sales flags 2018-06-14 12:04:50 -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
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
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
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
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
a1249a21c2 Show 'variance' field when viewing inventory batch row 2018-05-31 11:11:08 -05:00
Lance Edgar
75b48fdaae Fix handling of (missing) password when user is edited
was accidentally blanking them out, if no password was provided...
2018-05-30 16:31:19 -05:00
Lance Edgar
9ece43ce57 Add initial support for "variance" inventory batch mode
probably incomplete yet; needs testing
2018-05-30 11:48:39 -05:00
Lance Edgar
a557ec614a Make sure count mode is preserved when making new inventory batch
i.e. even if only one count mode is allowed for the user
2018-05-29 13:10:45 -05:00
Lance Edgar
6c0f243655 Add basic docs for CSV download support in master view 2018-05-29 12:38:37 -05:00
Lance Edgar
ccdf821583 Add MasterView.use_byte_string_filters flag for encoding search values 2018-05-24 15:09:00 -05:00
Lance Edgar
54bfafdbfe Add way to prevent "case" entries for inventory adjustment batch 2018-05-23 14:48:17 -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
c9eeabecba Add allow_zero_all flag for inventory batch master
defaults to true, but setting to false should disable "zero all" count mode
2018-05-22 20:18:47 -05:00