Commit graph

1837 commits

Author SHA1 Message Date
Lance Edgar
66a15fb9a1 Add initial/basic support for configuring "included views"
also stub for managing "poser views"
2022-03-05 09:26:25 -06:00
Lance Edgar
33abeb1aca Improve the Poser Setup page; allow poser dir refresh 2022-03-05 09:12:01 -06:00
Lance Edgar
128657810b Add PoserMasterView, rename route for poser_reports
must use e.g. `poser_reports` and `poser_views` for the "meta" stuff,
i.e. maintenance of actual poser things, b/c it will be possible to
define poser views, and those routes should be `poser.*` probably..
2022-03-05 09:10:05 -06:00
Lance Edgar
f5d24133f7 Make common web view a bit more common
i.e. avoid the need to subclass it in derived projects
2022-03-04 17:44:34 -06:00
Lance Edgar
a28a801a62 Update some more view config syntax
some common ones used by a particular app..
2022-03-04 12:32:28 -06:00
Lance Edgar
3fae9e6270 Show link back to Poser Report when viewing Generated Report
i.e. where applicable / possible.  also allow bulk-delete of generated
reports, and show name filter by default for that grid
2022-03-03 18:47:26 -06:00
Lance Edgar
691a5e84f9 Show list of generated reports when viewing Poser Report 2022-03-03 18:36:35 -06:00
Lance Edgar
d99f2541df Add dedicated perm for replacing poser report module 2022-03-02 18:52:28 -06:00
Lance Edgar
72177aef0a Add basic support for Poser reports, list/create 2022-03-02 17:21:38 -06:00
Lance Edgar
206d51f59b Params should be readonly when editing batch 2022-03-01 15:03:48 -06:00
Lance Edgar
031d97aea3 Avoid making discounts data if missing field, for trainwreck item view 2022-03-01 13:01:59 -06:00
Lance Edgar
59a9d2cf86 Pass query along for download results, so subclass can modify 2022-03-01 12:17:06 -06:00
Lance Edgar
ee961edf94 Fix stdout/stderr fields for upgrade view
whoops..missed that one
2022-02-28 22:16:52 -06:00
Lance Edgar
ec2600ddf7 Add simple searchable column support for non-AJAX grids
idk maybe even AJAX grids can use?  not gonna try at the moment
2022-02-26 21:00:05 -06:00
Lance Edgar
74fecf553e Add page/way to configure main menus
just the basics so far, index page routes and separators should be
supported but nothing else.  also "menus from config" is all or
nothing, no way to mix config + code at this point
2022-02-26 17:22:54 -06:00
Lance Edgar
2290d9f990 Expose "discount type" for Trainwrewck line items 2022-02-24 10:39:11 -06:00
Lance Edgar
0c5992ad75 Add grid hyperlinks for trainwreck transaction line items 2022-02-22 20:39:06 -06:00
Lance Edgar
8ae1b87a1e Auto-filter hyperlinks for PO vs. invoice breakdown in Receiving 2022-02-20 19:52:24 -06:00
Lance Edgar
4d404cb20b Add auto-filter hyperlinks for batch row status breakdown 2022-02-20 19:40:32 -06:00
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