Commit graph

1713 commits

Author SHA1 Message Date
Lance Edgar
1bb41b21af Honor case vs. unit restrictions for new custorder
and expose them in config view
2022-03-29 18:19:14 -05:00
Lance Edgar
4e25e87bfb Log error when failing to submit new custorder batch 2022-03-29 17:43:42 -05:00
Lance Edgar
80b9593651 Add template kwargs stub for view_row() 2022-03-29 17:30:37 -05:00
Lance Edgar
edef084121 Raise 404 if report not found 2022-03-29 17:19:23 -05:00
Lance Edgar
fc32542f55 Add touch for report codes 2022-03-29 17:19:14 -05:00
Lance Edgar
700b5f0b91 Let errors raise when showing poser reports 2022-03-29 11:39:32 -05:00
Lance Edgar
b4d5d70e4c Force session flush within try/catch, for batch refresh 2022-03-26 15:29:28 -05:00
Lance Edgar
f0b6b62791 Use common logic for fetching batch handler 2022-03-25 13:49:39 -05:00
Lance Edgar
ae1e9dba0f Improve vendor validation for new receiving batch 2022-03-25 12:33:37 -05:00
Lance Edgar
ab3a66542d Show link to txn as field when viewing trainwreck item 2022-03-17 21:19:05 -05:00
Lance Edgar
fc5b931007 Expose custorder xref markers for trainwreck 2022-03-17 16:59:50 -05:00
Lance Edgar
71d8d5a70d Make problem report titles searchable in grid
at least if buefy version is new enough
2022-03-16 21:27:59 -05:00
Lance Edgar
0904cda2c6 Always show batch params by default when viewing 2022-03-15 22:53:24 -05:00
Lance Edgar
da910b1414 Add default help link for Receiving feature
also stop showing "buyer" filter by default
2022-03-11 20:55:01 -06:00
Lance Edgar
6037519fbe Log error instead of warning, when batch population fails
user experience does not change but should help the admin to track
down the problem quicker..
2022-03-11 12:37:43 -06:00
Lance Edgar
25ecade1e6 Add "batch" to model title for new customer order batch
just to make things a bit more clear..
2022-03-10 10:18:43 -06:00
Lance Edgar
69161b7037 Default behavior for report chooser should *not* be form/dropdown 2022-03-10 09:55:42 -06:00
Lance Edgar
01b78d7513 Add workaround when inserting new fields to form field list
i.e. if inserting "before" or "after" a field which does not exist
2022-03-09 18:39:12 -06:00
Lance Edgar
b9fa324bb4 Cleanup view config syntax for vendor catalog batch
also make sure vendor autocomplete url exists, before using that
widget.  this can be an issue when app deals "directly" with POS when
making the batch etc.
2022-03-09 18:26:27 -06:00
Lance Edgar
0a42ec77b2 Cleanup grid filters for vendor catalog batches 2022-03-08 16:35:11 -06:00
Lance Edgar
9d5adf7793 Fix gotcha when defining new provider views
UI should show the key if label is missing
2022-03-07 17:40:48 -06:00
Lance Edgar
511e185f33 Link to email settings profile when viewing email attempt 2022-03-07 10:53:12 -06:00
Lance Edgar
7c4e9b56c7 Let tailbone providers include static views
also add more native (batch) views to default list
2022-03-06 22:06:57 -06:00
Lance Edgar
d18bade951 Let providers add extra views, options for includes config 2022-03-06 19:03:08 -06:00
Lance Edgar
37d4ef751c Add flash message when upgrade execution completes (pass or fail) 2022-03-05 14:31:43 -06:00
Lance Edgar
b5effaa01b Add tailbone.views.essentials to include common / "core" views 2022-03-05 10:50:33 -06:00
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