Commit graph

1837 commits

Author SHA1 Message Date
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
Lance Edgar
282185c5af Add basic import/export handler views, tool to run jobs 2021-12-05 17:23:11 -06:00
Lance Edgar
760fbc57bc Expose the Sale Price and TPR Price for product views
in addition to Current Price
2021-12-02 14:40:51 -06:00
Lance Edgar
4229798c7b Add button to remove all datasync settings from DB
seems useful for someone testing, as prep to make the switch
2021-11-29 19:28:07 -06:00
Lance Edgar
8aff5d519d Add page for configuring datasync
experimental! until proven worthy..
2021-11-29 17:23:01 -06:00
Lance Edgar
b9037111a4 Don't use multi-select for new report in buefy themes
also let app handler fetch the report handler
2021-11-25 18:56:28 -06:00
Lance Edgar
03dad82663 Add basic support for receiving from PO with invoice 2021-11-25 16:50:13 -06:00
Lance Edgar
b8f1b7bd84 Show ordered quantity when viewing costing batch row 2021-11-17 14:57:10 -06:00
Lance Edgar
0fa888efaf Fix bug when product has empty suggested price 2021-11-16 17:23:56 -06:00
Lance Edgar
a7b91b5b31 Expose the "sync users" flag for Roles 2021-11-13 15:05:45 -06:00
Lance Edgar
426ba0ea34 Fix "download results" support for Products
it is not enabled by default, but still should work when it is
2021-11-11 17:42:59 -06:00
Lance Edgar
3a10a4bcb7 Improve error handling when executing a custorder batch 2021-11-11 13:37:10 -06:00
Lance Edgar
f1fd003dca Add permission for viewing "all" employees
previously we showed all if user had "edit" perm
2021-11-11 12:30:00 -06:00