Commit graph

2704 commits

Author SHA1 Message Date
Lance Edgar 9c75d7b560 Add CustomerGroupAssignment to customer version history 2022-02-04 14:42:11 -06:00
Lance Edgar ceb70eec4c Update changelog 2022-02-01 20:03:09 -06:00
Lance Edgar ea180ca107 Expose batch params for vendor catalogs 2022-02-01 19:14:16 -06:00
Lance Edgar 1117893900 Update changelog 2022-01-31 21:18:01 -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 d677cb1bc8 Update changelog 2022-01-31 17:53:37 -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 16a4fe1a4f Update changelog 2022-01-31 14:52:55 -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 1575cad447 Improve profile link helper for buefy themes 2022-01-29 08:57:03 -06:00
Lance Edgar cdcb106f2d Update changelog 2022-01-26 13:14:25 -06:00
Lance Edgar af14216eea Tweak the "auto-receive all" tool for Chrome browser
also split out each helper section
2022-01-26 13:13:00 -06:00
Lance Edgar b9c5f6a869 Update changelog 2022-01-25 11:10:23 -06:00
Lance Edgar db3cd4ec6e Only expose "product" departments within product view dropdowns 2022-01-24 15:32:24 -06:00
Lance Edgar ae27c110ab Update changelog 2022-01-19 12:19:15 -06:00
Lance Edgar f83fc18ebc Use buefy input for quickie search
not sure why this suddenly has poor style / formatting, but this fixes
2022-01-18 12:29:23 -06:00
Lance Edgar 23fb5e09d1 Update changelog 2022-01-15 12:47:08 -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 517dd4ad9e Update changelog 2022-01-13 14:36:04 -06:00
Lance Edgar e672e9670f Strip whitespace for new customer fields, in new custorder page 2022-01-13 14:21:40 -06:00
Lance Edgar 0b25469f33 Update changelog 2022-01-12 18:24:27 -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 9045505153 Update changelog 2022-01-10 16:34:06 -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 8579b89002 Add way to set form-wide schema validator
was needed to enforce rule where one field is required only in some
cases, depending on value of another field
2022-01-09 18:13:12 -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 94fc5c1859 Update changelog 2022-01-08 20:08:32 -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 5e0ba81b21 Update changelog 2022-01-03 16:17:00 -06:00
Lance Edgar a0bb481a43 Use AuthHandler.get_permissions()
instead of deprecated `cache_permissions()`
2022-01-03 15:34:00 -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 7b7eee92cd Fix permission check for input file template links 2021-12-30 11:04:59 -06:00
Lance Edgar c2d76966a3 Update changelog 2021-12-29 11:14:40 -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 1b0d6581db Bugfix 2021-12-23 16:18:06 -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 33af2e6fa1 Show create button on "most" pages for a master view 2021-12-23 14:46:28 -06:00
Lance Edgar 4396c4c628 Update changelog 2021-12-23 12:42:12 -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 408bffb775 Update changelog 2021-12-20 14:58:01 -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 e97b8a9f7e Update changelog 2021-12-20 14:27:47 -06:00
Lance Edgar 31dff0d353 Add some standard CRUD buttons for buefy themes
finally!

also disable the permalink "feature" since it seems not useful
2021-12-17 22:08:37 -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 099b6915f4 Update changelog 2021-12-17 09:17:35 -06:00
Lance Edgar da6c782ac3 Fix how fallback/default buefy and vue.js versions are used 2021-12-16 20:05:56 -06:00
Lance Edgar e99c001673 Let config decide which versions of vue.js and buefy to use 2021-12-16 14:58:25 -06:00
Lance Edgar c7d587b4cb Tweak wording on base configure template 2021-12-16 14:16:21 -06:00
Lance Edgar ff348a2aa0 Add some minimal docs for Diff constructor 2021-12-15 18:07:22 -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 40d36f9808 Update changelog 2021-12-15 15:19:36 -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 f549858c5d Update changelog 2021-12-09 12:13:59 -06:00
Lance Edgar 9d02180c92 Add buttons to edit, confirm cost for receiving batch row view
not yet fully implemented
2021-12-08 22:31:54 -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 ae76ceea04 Update changelog 2021-12-08 15:54:23 -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 f687078bbf Update changelog 2021-12-07 16:19:32 -06:00
Lance Edgar 6fc666e221 Fix form ref bug, for batch execution 2021-12-07 16:18:56 -06:00
Lance Edgar 095afcde24 Update changelog 2021-12-07 13:19:18 -06:00
Lance Edgar 1353f6ed3c Bugfix 2021-12-07 12:09:43 -06:00
Lance Edgar a7c6380a3a Update changelog 2021-12-07 11:36:46 -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 95da490f9a Update changelog 2021-12-03 09:44:20 -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 47f6c941ec Update changelog 2021-11-29 21:03:20 -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 bb0666b77d Update changelog 2021-11-28 10:59:55 -06:00
Lance Edgar dbd00291b3 Add simple search filters for past items dialog in new custorder 2021-11-27 19:47:02 -06:00
Lance Edgar c1f9190613 Show current/sale pricing for products in new custorder page 2021-11-27 19:08:15 -06:00