Commit graph

1849 commits

Author SHA1 Message Date
Lance Edgar
ea180ca107 Expose batch params for vendor catalogs 2022-02-01 19:14:16 -06:00
Lance Edgar
b22e7fd077 Make "generate report" the same as "create new generated report"
no reason to reinvent that wheel
2022-01-31 19:34:24 -06:00
Lance Edgar
15fc82fc34 Tweak handling of empty params when generating report
not sure there was a compelling reason to use `colander.null` other
than that is what pyramid generally does?  but `None` seems to work
fine for me so far..  (used w/ optional date param)
2022-01-31 17:51:03 -06:00
Lance Edgar
4716545b7e Show helptext for params when generating new report 2022-01-31 16:52:16 -06:00
Lance Edgar
8a08b3f7c7 Add support for tailbone-integration project generator 2022-01-29 14:42:52 -06:00
Lance Edgar
999bb29499 Add support for rattail-integration project generator 2022-01-29 12:37:05 -06:00
Lance Edgar
db3cd4ec6e Only expose "product" departments within product view dropdowns 2022-01-24 15:32:24 -06:00
Lance Edgar
fe7612c885 Use the new label handler
also, move "print one-off labels" logic into product master view
2022-01-13 21:25:17 -06:00
Lance Edgar
765b7b4957 Update usage of app.get_email_handler() to avoid warnings 2022-01-12 18:20:25 -06:00
Lance Edgar
eb221417e5 Expose the Sale, TPR, Current price fields for label batch
still need to figure out how execution can print e.g. TPR prices...
2022-01-10 14:54:49 -06:00
Lance Edgar
cabe422508 Add progress support when deleting a batch
b/c we must delete all rows individually, and some batches can be
several thousand rows each
2022-01-09 19:25:18 -06:00
Lance Edgar
0545099a2b Add buefy support for quick-printing product labels; also speed bump 2022-01-09 15:20:35 -06:00
Lance Edgar
6af5157b4e Update some method calls to avoid deprecation warnings 2022-01-08 19:48:14 -06:00
Lance Edgar
dc28b1337d Add config for supported vendor catalog parsers
also explicitly set "native value" for all configuration checkbox
fields, since apparently it will send `'false'` by default...
2022-01-08 13:35:59 -06:00
Lance Edgar
2ce7c93aeb Expose, honor "allow future" setting for vendor catalog batch 2022-01-08 12:19:35 -06:00
Lance Edgar
88b3279e63 Several disparate changes needed for vendor catalog improvements
- invoke vendor handler where appropriate, e.g. for parsers
- reverse "polarity" of dropdown chooser setting; rename it
- tweak autocomplete behavior yet again, for dynamic values
- auto-select vendor upon parser selection, when possible
2022-01-07 19:27:10 -06:00
Lance Edgar
ab61778d35 Some aesthetic improvements for vendor catalog batch
hopefully they're improvements...
2022-01-07 15:03:56 -06:00
Lance Edgar
f89dc88c0e Add configurable template file for vendor catalog batch 2022-01-06 12:53:01 -06:00
Lance Edgar
ad110c2ce2 Remove unused import 2022-01-03 21:10:34 -06:00
Lance Edgar
3aac855fa1 Add basic configure page for Trainwreck
also the beginnings of a "yearly rollover" page which hopefully will
prove useful for helping to automate that, once i figure out how best
to go about it...
2022-01-01 19:12:46 -06:00
Lance Edgar
94883c1433 Remove usage of app.get_designated_import_handler() 2021-12-31 13:46:36 -06:00
Lance Edgar
82dfce6f81 Add basic "resolve" support for person, product from new custorder 2021-12-23 20:24:43 -06:00
Lance Edgar
819ae22b0e Expose products setting for type 2 UPC lookup
also expose Configure button for most master view pages
2021-12-23 15:18:30 -06:00
Lance Edgar
daa5126c21 Improve email bounce view per buefy theme 2021-12-23 12:34:57 -06:00
Lance Edgar
494b1384c4 Bugfix 2021-12-22 16:45:56 -06:00
Lance Edgar
c0db03bc28 Add basic "pending product" support for new custorder batch 2021-12-22 16:34:17 -06:00
Lance Edgar
a6f608e8cc Flag discontinued items for main Products grid
no styling is applied but custom app can do so
2021-12-20 14:56:25 -06:00
Lance Edgar
30f95e2f08 Add common configuration logic for "input file templates"
just used in one batch so far but should be useful for many more..once
can get around to migrating them

had to rework the configuration logic to use HTML form instead of
JSON, to allow for the file uploads
2021-12-17 20:25:17 -06:00
Lance Edgar
bc7ccb6a9f Render "pretty" UPC by default, for batch row form fields 2021-12-15 18:06:53 -06:00
Lance Edgar
f49fdebd98 Add some smarts when making batch execution form schema
in some cases `has_execution_options()` may return True but the base
view class may not need to provide any options itself (i.e. subclass
is responsible for declaring the view has options).
2021-12-15 15:02:28 -06:00
Lance Edgar
ca57bd3572 Auto-register all config pages, for dropdown in App Settings 2021-12-15 00:00:46 -06:00
Lance Edgar
6f62f141d2 Fix params field when deleting a report 2021-12-14 19:08:32 -06:00
Lance Edgar
197d3de74a Add "jump to" chooser in App Settings, for various "configure" pages 2021-12-13 22:32:10 -06:00
Lance Edgar
1244659064 Add more basic config views, obviating some App Settings 2021-12-13 21:33:10 -06:00
Lance Edgar
16bc3076ad Add basic config page for Products 2021-12-13 21:06:47 -06:00
Lance Edgar
1fbe429a08 Add basic "config" view for Receiving 2021-12-13 20:35:23 -06:00
Lance Edgar
340a177a29 Overhaul desktop views for receiving, for efficiency
still could use even more i'm sure, but this takes advantage of buefy
to add dialogs etc. from the "view receiving batch row" page.  this
batch no longer allows direct edit of rows but that's hopefully for
the better.
2021-12-13 18:37:47 -06:00
Lance Edgar
2f676774e9 Bugfix 2021-12-11 15:40:46 -06:00
Lance Edgar
a2032a7be2 Allow for null price when showing price history 2021-12-10 16:33:53 -06:00
Lance Edgar
e906c01e64 Make "view row" prettier for receiving batch, for buefy themes
this seems like a good direction; should make "receive product" and
"declare item" use b-modal on same page probably
2021-12-08 21:59:41 -06:00
Lance Edgar
be92075abb Allow "auto-receive all items" batch feature in production
but require a dedicated permission
2021-12-08 20:26:31 -06:00
Lance Edgar
10e34b83ed Refactor "receive row" and "declare credit" tools per buefy theme 2021-12-08 19:44:50 -06:00
Lance Edgar
6f60387f30 Fix bug when report has no params dict 2021-12-08 12:21:23 -06:00
Lance Edgar
60222c4977 Assume default receiving workflow if there is only one 2021-12-07 19:58:11 -06:00
Lance Edgar
ff588b6a5c Only include --runas arg if we have a value 2021-12-07 19:57:26 -06:00
Lance Edgar
871dd35a3a Add basic views to expose Problem Reports, and run them
not very sophisticated yet but heck better than we had yesterday
2021-12-07 18:01:07 -06:00
Lance Edgar
1353f6ed3c Bugfix 2021-12-07 12:09:43 -06:00
Lance Edgar
5a4abbb163 When viewing report output, show params as proper buefy table
plus couple of other random tweaks
2021-12-07 11:28:23 -06:00
Lance Edgar
092f1cda0c Honor "safe for web app" flags for import/export handlers 2021-12-06 21:29:33 -06:00
Lance Edgar
cc4b2278e7 OMG a ridiculous commit to overhaul import handler config etc.
- add `MasterView.configurable` concept, `/configure.mako` template
- add new master view for DataSync Threads (needs content)
- tweak view config for DataSync Changes accordingly
- update the Configure DataSync page per `configurable` concept
- add new Configure Import/Export page, per `configurable`
- add basic views for Raw Permissions
2021-12-06 20:04:34 -06:00