Commit graph

1718 commits

Author SHA1 Message Date
Lance Edgar
66fd2ff5e6 Show SRP as currency for vendor catalog batch 2022-02-19 21:00:54 -06:00
Lance Edgar
7f06b3e53b Expose per-item discounts for Trainwreck 2022-02-19 17:31:14 -06:00
Lance Edgar
e990be3570 Expose some new trainwreck fields 2022-02-19 14:39:40 -06:00
Lance Edgar
57e22c9ff5 Only show DB picker for permissioned users 2022-02-18 15:39:12 -06:00
Lance Edgar
778578292f Fix progress bar when running problem report 2022-02-16 16:16:40 -06:00
Lance Edgar
962d31c4c2 Add initial support for editing user preferences
by default this exposes just one setting which has only one possible
value, so not very useful.  but can override as needed
2022-02-14 20:30:15 -06:00
Lance Edgar
09227fa30a New upgrades should be enabled by default 2022-02-13 16:27:24 -06:00
Lance Edgar
a6d97538af Use new-style config defaults for customer views 2022-02-11 19:15:39 -06:00
Lance Edgar
85ef73dcb9 Tell browser not to cache certain pages, by default
main grid/index pages, and any view page which contains a row grid
2022-02-11 16:55:25 -06:00
Lance Edgar
0ead06106c Add config for showing ordered vs. shipped amounts when receiving 2022-02-11 16:48:46 -06:00
Lance Edgar
86a42064ea Cleanup labels for Vendor/Code "preferred" vs. "any" in products grid 2022-02-11 15:35:12 -06:00
Lance Edgar
9584fb57b0 Only prevent cache for index pages if so configured
there is a performance hit for this, depending on your perspective, so
let's make it opt-in only for now
2022-02-10 20:31:03 -06:00
Lance Edgar
e852613567 Add highlight for non-active customers in grid 2022-02-10 11:16:39 -06:00
Lance Edgar
065ad9e422 Add highlight for non-active users in grid 2022-02-10 10:55:41 -06:00
Lance Edgar
f1c2fd399e Try out new config defaults function for user views
pretty sure this is a good idea but we'll see
2022-02-09 18:02:09 -06:00
Lance Edgar
072f5da69d Add "full lookup" product search modal for new custorder page 2022-02-08 12:21:24 -06:00
Lance Edgar
b261e8bb9b Add some autocomplete workarounds for new vendor catalog batch
when user selects a parser, it may auto-select the vendor, but keeping
that all in sync is complicated.  this seems to be an improvement but
it could likely use more..
2022-02-05 21:41:05 -06:00
Lance Edgar
a36f775752 Tweak how product key field is handled for product views 2022-02-05 15:59:36 -06:00
Lance Edgar
9c75d7b560 Add CustomerGroupAssignment to customer version history 2022-02-04 14:42:11 -06:00
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