Commit graph

1356 commits

Author SHA1 Message Date
Lance Edgar
7650064b64 Fix bug when non-numeric entry given for mobile inventory "quick row" 2018-10-03 15:54:28 -05:00
Lance Edgar
848b727b11 Tweak how receiving rows are looked up when adding to the batch
i.e. locate the product first, and then try to find an existing row to match.
previously we looked for a row based on product key match only, and it could
cause new rows to be created for a product we already had in the batch (i.e. if
the product was located via some secondary lookup other than product key)
2018-09-29 14:24:03 -05:00
Lance Edgar
5e49c2709b Expose new disk_type field for tempmon client views 2018-09-28 19:15:33 -05:00
Lance Edgar
6c1d67c966 Expose notes field for tempmon client and probe views 2018-09-28 12:27:08 -05:00
Lance Edgar
66807a801b Add support for "archived" flag in Tempmon Client views 2018-09-28 12:22:43 -05:00
Lance Edgar
27d5a92fee Tweak purchasing / receiving UI a bit
rows with 'out of stock' status are yellow; improve some row filter labels
2018-09-25 19:12:19 -05:00
Lance Edgar
878486cdab Capture user input for mobile receiving, and move some lookup logic
i.e. most of the logic responsible for looking up an item from e.g. scanner
entry, now lives in the handler for easier customization
2018-09-25 17:50:16 -05:00
Lance Edgar
ed5455089e Expose item_entry field for receiving batch row 2018-09-22 20:18:52 -05:00
Lance Edgar
d7863c2572 Add speedbump by default when deleting any "row" record
also, allow deleting rows for truck dump child batch
2018-09-22 19:27:17 -05:00
Lance Edgar
4a610ba2e6 Misc. UI improvements for truck dump receiving on desktop
links back and forth between parent/child rows, a little help text etc.
2018-09-22 18:33:01 -05:00
Lance Edgar
255485296c Leverage alternate code also, for mobile product quick lookup 2018-09-21 19:58:08 -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
3b0292029d More basic field tweaks for mobile "view product" page 2018-09-19 20:42:10 -05:00
Lance Edgar
3a91ab6bec Fix price fields, add pref. vendor/cost fields for mobile product view 2018-09-19 19:11:59 -05:00
Lance Edgar
66f1ed0e41 Do quick lookup by vendor item code, alt code for mobile receiving
at least until we have to make that configurable etc.
2018-09-19 18:22:59 -05:00
Lance Edgar
acd8c97afc Fix how we check config for mobile "quick receive" feature
at least hopefully this fixes it, and doesn't break anybody..
2018-09-19 17:16:15 -05:00
Lance Edgar
6fb78c5dde Add setting to show/hide product image for mobile purchasing/receiving 2018-09-19 16:42:50 -05:00
Lance Edgar
5b2f4127ea Fix bug when editing truck dump child batch row quantities
sometimes we need to "add" to an existing claim which has qty None
2018-09-19 11:00:10 -05:00
Lance Edgar
c5fef6b954 Add unique check for "name" when creating new Role 2018-09-19 10:00:59 -05:00
Lance Edgar
db0eee707a Fix default (status) filter for Employees grid 2018-09-06 20:37:06 -05:00
Lance Edgar
a6a7d22ec1 Honor view logic when displaying Delete Row button for mobile receiving
also do not allow quick receive if receiving from scratch
2018-08-17 12:41:48 -05:00
Lance Edgar
56392ccdd0 Add "quick receive all" support for mobile receiving
i.e. quick receive button can now receive all/remainder of the ordered qty
2018-08-16 22:21:58 -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
21740ea2fd Show links to claiming rows for truck dump parent row 2018-08-09 15:59:57 -05:00
Lance Edgar
6ef5677dc5 Use invoice total, PO total as fallback, for mobile receiving list 2018-08-07 21:41:43 -05:00
Lance Edgar
ac451757b4 Add support for editing "claim" quantities for truck dump child row
at least i think this gets it all...guess we'll see
2018-08-07 15:19:38 -05:00
Lance Edgar
a348755be2 Hide 'ordered' columns for truck dump parent row grid
since that batch type is only concerned with receiving
2018-08-07 13:09:13 -05:00
Lance Edgar
a24076f0ce Make sure we refresh batch status when adding a new row
b/c whether or not it has a product will affect batch status.

this also changes how we interpret UPC for unknown product, i.e. by default we
now assume it does *not* have a check digit and that we should calculate that.
probably just a matter of time before someone needs the opposite though..
2018-08-02 16:58:38 -05:00
Lance Edgar
e43f713a66 Various tweaks for arbitrary model view with "rows"
just needed these for a particular feature...
2018-07-26 21:35:15 -05:00
Lance Edgar
f6712a6686 Redirect to "view parent" after deleting a row
not sure why that was redirecting to "edit parent" before...weird
2018-07-26 13:33:21 -05:00
Lance Edgar
6af9440ed7 Fix permission group label for Ordering Batches
a minor annoyance, but consistency surely is better...
2018-07-25 16:23:32 -05:00
Lance Edgar
d145ce5f6d Assign purchase to new receiving batch via uuid instead of object ref
the latter was apparently causing session flush and would create the "dummy"
batch in addition to the "real" one...
2018-07-25 12:46:51 -05:00
Lance Edgar
634a93061b Let mobile form declare if/how to auto-focus a field
and for mobile ordering, auto-focus the "units" field when editing a row
2018-07-24 21:29:52 -05:00
Lance Edgar
5db7d3776a Expose status etc. when editing upgrade, rename Email Settings
i.e. latter is renamed from Email Profiles, but within UI only for now
2018-07-18 21:06:07 -05:00
Lance Edgar
34bdd2ac84 Add (restore?) basic support for mobile receiving from PO 2018-07-18 16:25:54 -05:00
Lance Edgar
87ba8026e5 Don't use empty string as default setting value
should just fall back to None as per usual
2018-07-18 13:53:24 -05:00
Lance Edgar
c2968fbe52 Don't save any App Settings for which value would not change
that lets us avoid writing "redundant" values to the database, whereas in fact
the underlying value may be coming from config file
2018-07-18 13:50:32 -05:00
Lance Edgar
4e09b757c3 Add (admin-friendly!) view to manage some App Settings
which settings are available to this view will depend on the project's settings
module, similar to how the email settings work
2018-07-18 13:09:32 -05:00
Lance Edgar
012a06d8a6 Tweak some purchase batch logic per changes in rattail 2018-07-17 20:38:48 -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
a34a42d2b2 Refactor mobile receiving to use "quick row" feature
plus some other random things thrown in there, for good measure..
2018-07-16 20:40:29 -05:00
Lance Edgar
3cc8adba86 Improve basic mobile views for customers, people 2018-07-15 18:13:30 -05:00
Lance Edgar
eccce1cabb Add runtime mobile flag for MasterView
will be false unless one of the mobile views are in effect...hopefully this is
a good idea
2018-07-15 18:12:21 -05:00
Lance Edgar
d3e67ccbcd Fix how we check file size when reading stdout for upgrade
i guess sometimes we were getting a negative number there
2018-07-15 17:40:46 -05:00
Lance Edgar
45f19517d3 Add 'person' column for customers grid
but don't show it by default, for now?
2018-07-15 16:23:20 -05:00
Lance Edgar
259d123876 Traverse master class hierarchy to collect all defined labels
i.e. for forms and grids
2018-07-15 16:22:30 -05:00
Lance Edgar
0853fac66a Fix Person.customers readonly field for python 3 2018-07-15 16:22:03 -05:00
Lance Edgar
6fc517269f Don't make customer ID readonly when editing
i mean, custom apps are welome to, but seems a bit heavy-handed as default
2018-07-15 15:33:35 -05:00
Lance Edgar
0e57152888 Add product grid filters for "on hand", "on order" 2018-07-13 20:17:22 -05:00