Commit graph

2918 commits

Author SHA1 Message Date
Lance Edgar 0dfe52a42d Don't allow "execute results" for any batches by default
custom app must always explicitly opt-in to that feature
2020-07-07 19:23:52 -05:00
Lance Edgar ca64d52021 Make field list explicit for Store views 2020-07-05 00:21:00 -05:00
Lance Edgar 793d80f092 Make field list explicit for Department views 2020-07-04 11:44:09 -05:00
Lance Edgar 4f2f192783 Revert "Freeze version for 'Chameleon' dependency"
This reverts commit aac9bad7ec.

all should be good now, per new 'deform' release
2020-07-03 19:14:30 -05:00
Lance Edgar 6577b3752f Avoid latest SQLAlchemy-Utils when running tests for python2.7 2020-07-02 12:42:42 -05:00
Lance Edgar 66bf11e893 Tweak field label for Product.item_id 2020-06-29 16:57:05 -05:00
Lance Edgar aac9bad7ec Freeze version for 'Chameleon' dependency
pending the fix, which should come w/ next 'deform' release
2020-06-29 13:07:49 -05:00
Lance Edgar bea671987c Update changelog 2020-06-24 12:07:46 -05:00
Lance Edgar e943a1cd44 Convert mako directories to list, if it's a string
so we can push a new path to it, for sake of theme
2020-06-24 11:36:58 -05:00
Lance Edgar c1a2bb978c Use byte string filters for row grid too
if master view needs them at all, chances are they should apply to row grid as
well as main grid
2020-06-24 10:53:43 -05:00
Lance Edgar c7c3dea6b2 Improve support for composite key in master view 2020-06-22 18:26:43 -05:00
Lance Edgar bb11263bad Tweak how we freeze column for role/perm matrix 2020-06-22 16:21:45 -05:00
Lance Edgar e5f0831369 Add ability to download roles / permissions matrix as Excel file 2020-06-22 16:00:33 -05:00
Lance Edgar 6463df7224 Add dropdown, autohide magic when editing Role permissions
only for Buefy theme though
2020-06-22 14:59:17 -05:00
Lance Edgar dc81e5b5c5 Update changelog 2020-06-17 12:45:00 -05:00
Lance Edgar 31df41283c Don't allow edit/delete of rows, if master view says so
also fix "back to parent" link when viewing row
2020-06-12 18:40:10 -05:00
Lance Edgar abea50427e Update changelog 2020-05-27 15:25:52 -05:00
Lance Edgar a8a79ee326 Let each grid component have a custom name, if needed 2020-05-20 19:19:06 -05:00
Lance Edgar 8683e2a4c2 Cap version for 'cornice' dependency
their 5.0 release drops support for python 2.x but we can't do that yet
2020-05-20 16:15:05 -05:00
Lance Edgar 3bb0c8468b Update changelog 2020-05-20 15:53:49 -05:00
Lance Edgar b5f9c8e358 Sort available reports by name, if handler doesn't specify
also add basic support for "decimal" params
2020-05-19 12:42:07 -05:00
Lance Edgar 2139fea3d0 Expose "shelved" field for pricing batches 2020-05-18 14:42:02 -05:00
Lance Edgar b13cae11fa Update changelog 2020-05-15 10:56:56 -05:00
Lance Edgar 2ac2a98727 Don't auto-include "Guest" role when finding roles w/ permission X
otherwise "all" roles are returned when checking for a perm which Guest role
does have granted
2020-05-14 22:07:34 -05:00
Lance Edgar 5f2dd31485 Parse pip requirements file ourselves, instead of using their internals
that problem just kept getting worse, so i stole this solution partly from:

77879cf341
2020-05-14 21:53:41 -05:00
Lance Edgar f0224144b7 Update changelog 2020-04-07 21:19:48 -05:00
Lance Edgar 3a6ced388a Allow the home page to include quickie search
make it easier for any "non-master" view to do so
2020-04-07 13:44:13 -05:00
Lance Edgar 4c3b189108 Update changelog 2020-04-06 13:20:44 -05:00
Lance Edgar cc96d9877b Defer fetching price, cost history when viewing product details
user can ask for that history if they need it, but it's too expensive to always
fetch by default for initial page load
2020-04-06 13:12:38 -05:00
Lance Edgar f2b5e2302a Delete some unwanted tests; delay import for tempmon session
view config can now depend on rattail config, and tests don't like that... but
they didn't really do anything that useful anyway i think
2020-04-04 21:44:01 -05:00
Lance Edgar d9f6a7201e Let config totally disable the old/legacy jQuery mobile app 2020-04-04 20:51:49 -05:00
Lance Edgar d2c4791611 Add basic dashboard page for TempMon
only the older jQuery theme is supported for now...
2020-04-04 19:47:28 -05:00
Lance Edgar 0fbc8c9247 Add initial API views for inventory batches 2020-03-29 16:31:16 -05:00
Lance Edgar e9fc9ccbf7 Use "quick entry" logic from batch handler, for mobile inventory
pretty sure desktop version still needs cleanup, but later...
2020-03-29 15:20:34 -05:00
Lance Edgar 71a9010579 Make handler responsible for locating product for inventory batch 2020-03-29 15:20:34 -05:00
Lance Edgar 0e7835e2d9 Make inventory batch handler responsible for finding row for product 2020-03-29 15:20:32 -05:00
Lance Edgar 069eac1cf6 Add temporary method for inventory batch view
calling code should invoke handler directly instead of using this method, but
for now we need it to exist
2020-03-29 14:30:48 -05:00
Lance Edgar dc4531f545 Let inventory batch handler decide which count modes are available 2020-03-29 13:37:50 -05:00
Lance Edgar 6a58f5f5d3 Let inventory batch handler decide if products should be aggregated 2020-03-29 13:33:38 -05:00
Lance Edgar 12b567d3d2 Let inventory batch handler decide what to do about unknown product scan 2020-03-29 13:09:14 -05:00
Lance Edgar 2532fcbea2 Let inventory batch handler decide if case input is allowed 2020-03-29 13:04:11 -05:00
Lance Edgar 0704717ec5 Let inventory batch handler declare which count modes are allowed
preparing for API/mobile usage
2020-03-29 12:46:41 -05:00
Lance Edgar 242e14e8a9 Allow bulk-delete for Inventory Batches 2020-03-29 12:07:42 -05:00
Lance Edgar 35bef2c3dd Move inventory batch view to its proper location
but keep "inventory adjustment reasons" where it was; that also is proper
2020-03-29 12:05:05 -05:00
Lance Edgar 65f41480eb Allow bulk-delete, merge for Brands table 2020-03-27 18:15:33 -05:00
Lance Edgar aaabde5c5a Add link to generate new report, when viewing one 2020-03-26 15:30:14 -05:00
Lance Edgar 89ffbd6efc Add support for "choice" widget, for report params
also add support for default value, for a param
2020-03-26 15:24:16 -05:00
Lance Edgar 2a4832f9b9 Declare the v-model for "dynamic select" widget 2020-03-24 18:19:25 -05:00
Lance Edgar c14ecd2948 Add helper function, get_csrf_token() 2020-03-24 18:19:05 -05:00
Lance Edgar febe651e31 Stop raising an error if view doesn't define row grid columns
just show whatever is gonna show by default; they can edit list if they want
2020-03-23 22:35:24 -05:00