Commit graph

2671 commits

Author SHA1 Message Date
Lance Edgar def8ea7c15 Some tweaks for invoice costing batch views 2021-10-05 16:12:48 -04:00
Lance Edgar d7c145ce39 Update changelog 2021-10-05 10:43:17 -04:00
Lance Edgar e7fb1559f5 Refactor the Employee tab of profile view, per better patterns
learned some things from the Personal tab overhaul
2021-10-05 08:25:33 -04:00
Lance Edgar 6386b34516 Overhaul the "Personal" tab of profile view
should be much more useful now.. er, at least for those who track
contact info on the Person record, but not those who track on the
Customer record..
2021-10-04 21:21:34 -04:00
Lance Edgar 48864ab611 Put the View Profile button above Refresh 2021-10-04 12:40:35 -04:00
Lance Edgar 8e4079224f Add button to refresh contact info for new custorder
e.g. click that after changes are made in other screen / system
2021-10-04 12:39:30 -04:00
Lance Edgar d4aef9ceac Fix contact phones data when new contact is assigned 2021-10-04 12:29:27 -04:00
Lance Edgar 1884edb334 Improve phone editing for new custorder
let user choose from existing phones, or add a new one.  not yet
implemented, they can check a box to add new phone to customer proper
in addition to setting it for the order
2021-10-04 12:25:41 -04:00
Lance Edgar 711e526822 Show "contact notes" when creating new custorder 2021-10-03 19:26:25 -04:00
Lance Edgar 272b0fd071 Update changelog 2021-10-01 18:38:24 -04:00
Lance Edgar a7f4b2e6ef Refactor autocomplete view logic to leverage new "autocompleters"
finally!  this cleans up some view config and AFAIK there is no loss
in functionality etc.
2021-10-01 10:28:06 -04:00
Lance Edgar e0dff55ffa Update changelog 2021-09-30 16:34:56 -04:00
Lance Edgar bbfffd45fc Initial (basic) views for invoice costing batches
still a bit of feature preview at the moment, but maybe is mostly done?
2021-09-29 17:27:20 -04:00
Lance Edgar ed705ff867 Update changelog 2021-09-28 16:15:38 -04:00
Lance Edgar 03a569d9a3 Avoid "detach person" logic if not supported by view class 2021-09-28 16:12:33 -04:00
Lance Edgar a6c89d7998 Show "missing" msg if no email, for new custorder 2021-09-28 16:10:04 -04:00
Lance Edgar ad6562558d Improve phone/email handling when making new custorder
still needs more improvement, but this is a start
2021-09-27 18:04:07 -04:00
Lance Edgar 82074a37ba Update changelog 2021-09-27 13:28:26 -04:00
Lance Edgar ab517d1199 Allow changing status, adding notes for customer order items 2021-09-27 13:25:02 -04:00
Lance Edgar 7c6c2f7ded Update changelog 2021-09-27 09:54:34 -04:00
Lance Edgar 65ac7e0c15 Add a dropdown of choices to the Department filter for Products grid 2021-09-27 09:46:31 -04:00
Lance Edgar a52b5ec380 Overhaul new custorder so contact may be either Person or Customer
also make the handler responsible for (un)assigning contact
2021-09-27 09:22:06 -04:00
Lance Edgar 12310da09e Update changelog 2021-09-26 17:26:11 -04:00
Lance Edgar 8095f2c9ea Display the Store field for Customer Orders 2021-09-25 18:55:53 -04:00
Lance Edgar 3ece3303db Refactor several "field grids" per Buefy theme
e.g. the Users field when viewing a Role, and Vendor Sources panel
when viewing a Product
2021-09-25 18:54:33 -04:00
Lance Edgar 9fe1d4c596 Update changelog 2021-09-25 15:34:29 -04:00
Lance Edgar 0dc9793772 Add products row grid for misc. org table views 2021-09-25 15:27:43 -04:00
Lance Edgar ec5ff8a788 Improve "employees" list when viewing a department, for buefy themes 2021-09-24 19:16:23 -04:00
Lance Edgar 3b6b1aa5b6 Invoke handler for customer autocomplete when making new custorder 2021-09-24 18:28:39 -04:00
Lance Edgar 57cb787b30 Add placeholder to customer lookup for new order
also hide phone field unless customer is identified
2021-09-24 17:28:14 -04:00
Lance Edgar fbd12c7dfc Improve default autocomplete query logic, w/ multiple ILIKE
e.g. to search for customer first and/or last name
2021-09-24 17:17:19 -04:00
Lance Edgar e6a92c5667 Update changelog 2021-09-22 18:30:39 -05:00
Lance Edgar 9365dd7b1a Add way to update Employee ID from profile view 2021-09-22 18:29:30 -05:00
Lance Edgar af8bd246a9 Update changelog 2021-09-22 16:50:17 -05:00
Lance Edgar 87d8322b85 Add way to override grid action label rendering
so that custom HTML can be embedded in there somehow..
2021-09-22 16:42:49 -05:00
Lance Edgar b229b409b0 Update changelog 2021-09-21 13:52:49 -05:00
Lance Edgar d0a7a241b4 Misc. improvements for customer order views 2021-09-21 13:49:51 -05:00
Lance Edgar 8af247a7f6 Update changelog 2021-09-19 19:08:53 -05:00
Lance Edgar d295cf04af Allow setting the "exclusive" sequence of grid filters
i.e. let caller specify that any not included, should be omitted
2021-09-19 18:36:25 -05:00
Lance Edgar 2188e91fae Update changelog 2021-09-16 11:10:21 -05:00
Lance Edgar 884b1e02a7 Invoke handler when request is made to merge 2 people 2021-09-15 19:01:53 -05:00
Lance Edgar 7e0713e22b Update changelog 2021-09-12 19:14:52 -05:00
Lance Edgar 25c1ae3c41 Add way to customize product autocomplete for new custorder 2021-09-09 19:15:08 -05:00
Lance Edgar 177286533d Update changelog 2021-09-09 17:22:00 -05:00
Lance Edgar 83c354b983 Set quantity type when viewing vendor lead times, order intervals 2021-09-09 17:07:46 -05:00
Lance Edgar 1ce60821bd Update changelog 2021-09-09 16:23:27 -05:00
Lance Edgar 97bdc3f785 Improve error handling for purchase batch
so error will display in browser when applicable
2021-09-09 12:00:13 -05:00
Lance Edgar 82e730c18e Add the Grid.remove() method, deprecate hide_column() etc.
this is more clear, and aligns with how Form works
2021-09-08 14:33:40 -05:00
Lance Edgar 4474f30718 Allow override of "create" permission in API 2021-09-03 18:26:55 -05:00
Lance Edgar fa700d53ad Add /people API endpoint; allow for "native sort" 2021-09-03 16:26:15 -05:00
Lance Edgar d671b18215 Update changelog 2021-09-01 12:20:45 -05:00
Lance Edgar 8169160b57 Allow "touch" action for employees 2021-08-31 22:05:02 -05:00
Lance Edgar 560575e53f Fix size of roles multi-select when editing user
i.e. for buefy themes
2021-08-31 22:04:37 -05:00
Lance Edgar 54f1a52ed0 Add hover text for vendor ID column of pricing batch row grid 2021-08-29 19:52:44 -05:00
Lance Edgar c2ea1be83f Improve UI, customization hooks for new custorder batch
still not done yet, but a savepoint
2021-08-29 16:38:30 -05:00
Lance Edgar 4d742bacb1 Allow grid columns to be *invisible* (but still present in grid)
this can be useful when you need contextual data for a given row, for
sake of front-end UI features, but do not want to actually show the
extra data column(s)
2021-08-29 10:28:36 -05:00
Lance Edgar fe584f193f Always show all grid actions...for now
we don't have a great way to accommodate too many actions; ideally
could hide some in a drawer, but for now we just show them all for
simplicity...
2021-08-28 18:45:31 -05:00
Lance Edgar 897bb177bc Make it easier to override rendering grid component in master/index
was needed so i could pass extra event handlers to it
2021-08-28 14:24:56 -05:00
Lance Edgar 445862d48d Update changelog 2021-08-26 11:55:09 -05:00
Lance Edgar c3079fe899 Add before_render_index() customization hook for MasterView 2021-08-24 09:39:45 -05:00
Lance Edgar 3cf4c0f8e4 Require explicit opt-in for "clicking grid row checks box" feature
sometimes it makes sense *not* to enable that, in which case disabled
probably should be the default
2021-08-23 19:26:50 -05:00
Lance Edgar a881b310bc Allow customization of row 'view' action url 2021-08-23 14:25:08 -05:00
Lance Edgar ac133ce830 Expose "merge request tracking" feature for People data
more to come i'm sure, but this covers the basics
2021-08-19 18:11:15 -05:00
Lance Edgar cf32d4235e Move "merge 2 people" logic into People Handler
view now delegates to handler, which lives in the rattail package
2021-08-18 19:21:21 -05:00
Lance Edgar 5836099746 Tweak how email preview is sent, and attempt "to" is displayed
latter only have been changed for the grid view.  preview now is sent
"properly" via the configured mail handler, which also means that an
attempt may be recorded (whereas previously it would not be)
2021-08-16 19:29:48 -05:00
Lance Edgar a10de791a1 Update changelog 2021-08-04 13:01:09 -05:00
Lance Edgar 90af8f91b8 Let feedback forms define their own email key
so multiple recipient options may be presented to user, e.g. in public
frontend
2021-08-02 18:26:15 -05:00
Lance Edgar 8884d28306 Update changelog 2021-07-15 14:15:19 -05:00
Lance Edgar 4addedef6e Expose pack_size for delproduct batch 2021-07-15 14:13:01 -05:00
Lance Edgar 8eee4a1cf0 Set UPC renderer for delproduct batch row 2021-07-15 13:29:31 -05:00
Lance Edgar fb156d2e29 Update changelog 2021-06-18 17:53:27 -05:00
Lance Edgar 35aab87fdc Include "is/not null" filters for GPC fields 2021-06-18 17:39:14 -05:00
Lance Edgar 5cdd09020d Update changelog 2021-06-15 21:35:58 -05:00
Lance Edgar 2e561f1a4a Add 'v' prefix for release package diff links
at least i think that is needed...
2021-06-15 21:34:22 -05:00
Lance Edgar a1d6403b1b Update changelog 2021-06-15 15:51:57 -05:00
Lance Edgar b2bda5e31d Allow config to set favicon and header image
it already could set "main" image, shown in home and login pages
2021-06-15 15:51:11 -05:00
Lance Edgar add4337d11 Update changelog 2021-06-11 13:34:40 -05:00
Lance Edgar 31941c00bf Allow generating project which integrates w/ LOC SMS 2021-05-24 16:21:08 -05:00
Lance Edgar d1a35a4d58 Allow direct creation of new label batches
now technically this is allowed on desktop, but probably makes more
sense on mobile via api
2021-05-18 12:46:45 -05:00
Lance Edgar 949b9d64bf Allow customization of rendering version diff values 2021-05-14 12:13:23 -05:00
Lance Edgar 00615bea97 Update changelog 2021-05-03 12:36:41 -05:00
Lance Edgar 544f05a5a8 Add csrftoken to TailboneForm js
ugh..for now at least
2021-04-28 14:07:24 -05:00
Lance Edgar 661d536e9d Highlight "has inventory" rows for delete item batch
also pass list of such rows to template context
2021-04-28 14:06:35 -05:00
Lance Edgar 60fe7cf29c Update changelog 2021-04-12 11:52:54 -05:00
Lance Edgar 2d75409757 Accept any decimal numbers for API inventory batch counts
i.e. don't assume integer values
2021-04-12 11:36:24 -05:00
Lance Edgar c48371ca2a Make it easier to extend "common" API views 2021-04-07 17:04:52 -05:00
Lance Edgar 6c5377fadc Show current price date range as hover text, for products grid 2021-04-07 12:29:33 -05:00
Lance Edgar 4cf61a92cf Update changelog 2021-03-30 11:50:20 -05:00
Lance Edgar 2332cae09b Expose the new Store.archived flag 2021-03-19 10:39:25 -05:00
Lance Edgar ee65d08d81 Catch and show error, if one happens when making batch from product query 2021-03-19 10:38:56 -05:00
Lance Edgar e19119194d Update changelog 2021-03-11 11:49:18 -06:00
Lance Edgar e4e0d81f6e Fix enum display for customer order status 2021-03-11 08:47:27 -06:00
Lance Edgar 70c5e36ccb Expose new fields for Trainwreck 2021-03-10 07:25:25 -06:00
Lance Edgar 7532dc5117 Add support for inactivity_months field for delete product batch 2021-03-09 11:44:56 -06:00
Lance Edgar 059b24fac7 Update changelog 2021-03-05 12:51:55 -06:00
Lance Edgar 97e1700cf9 Expose date_created for delete product batches 2021-03-05 12:51:55 -06:00
Lance Edgar 241747b967 Allow per-user stylesheet for Buefy themes
there is not yet a way for user to select from available options though
2021-03-05 12:02:32 -06:00
Lance Edgar a933fc836f Update changelog 2021-03-02 09:30:41 -06:00
Lance Edgar 492546d0f6 Add hover text for subdepartment name, in pricing batch row grid 2021-03-02 09:26:36 -06:00
Lance Edgar ba790823ed Highlight delete product batch rows with "pending customer orders" status 2021-03-01 17:34:24 -06:00
Lance Edgar 637c249c36 Handle row click as if checkbox was clicked, for checkable grid
should be more convenient since the checkbox is a rather small target as
compared to the row itself.

this also brings in newer Buefy 0.8.6 b/c it includes "shift+click" behavior
for the checkbox:

- https://github.com/buefy/buefy/issues/535
- https://github.com/buefy/buefy/pull/1894
2021-02-26 21:49:58 -06:00
Lance Edgar abfe8bc648 Fix message recipients for Reply / Reply-All, with Buefy themes 2021-02-24 17:53:48 -06:00
Lance Edgar 216807503a Avoid encoding values as string, for integer grid filters
grid filter for Catapult Transaction "Status" was not working right b/c that is
an integer in the db, but we were passing encoded string value to SA / query
2021-02-20 08:45:15 -06:00
Lance Edgar 89bb0aa56d Use end time as default filter, sort for Trainwreck 2021-02-18 20:02:53 -06:00
Lance Edgar 26d7ab080f Update changelog 2021-02-18 11:51:05 -06:00
Lance Edgar 9ad64ba5e1 Add support for "default" trainwreck model
per rattail changes
2021-02-17 20:18:45 -06:00
Lance Edgar 793022b92f Misc. tweaks for vendor catalog batch
per rattail changes, in particular for sake of Corporal, to allow for
non-native vendor and product associations
2021-02-15 12:57:35 -06:00
Lance Edgar ff904d840f Tweaks per "delete products" batch 2021-02-13 12:29:43 -06:00
Lance Edgar 34623a7307 Add special "equal to any of" verb for UPC-related grid filters 2021-02-12 14:05:44 -06:00
Lance Edgar 89f0336af9 Add special "contains any of" verb for string-based grid filters 2021-02-12 13:57:54 -06:00
Lance Edgar 1420a33649 Allow customization of main Buefy CSS styles, for falafel theme 2021-02-11 15:57:18 -06:00
Lance Edgar a23eb3f32d Update changelog 2021-02-10 11:53:40 -06:00
Lance Edgar eaf929474f Add styles for field labels in profile view 2021-02-10 11:35:05 -06:00
Lance Edgar f58b065316 Make errors more obvious, when running batch commands as subprocess
admin still must consult logs to determine cause, but at least UI won't hang
2021-02-09 14:24:05 -06:00
Lance Edgar e462e41ae1 Cleanup default display for vendor catalog batches
expose description, notes etc.
2021-02-09 14:22:07 -06:00
Lance Edgar 5969515f25 Render batch execution description as markdown 2021-02-09 14:21:07 -06:00
Lance Edgar cc2308c399 Fix some permission bugs when showing batch tools etc. 2021-02-09 12:19:26 -06:00
Lance Edgar 85403dfa5e Update changelog 2021-02-04 16:45:24 -06:00
Lance Edgar 8f69b07ee2 Fix bug when editing a Person 2021-02-04 16:44:47 -06:00
Lance Edgar 562d7b48bc Update changelog 2021-02-04 11:04:00 -06:00
Lance Edgar 63350469d0 Prevent updates to batch rows, if batch is immutable
probably need a lot more support for this elsewhere; this is all i needed for
the moment though..
2021-02-02 18:58:46 -06:00
Lance Edgar f93fd7aefa Fix display of handheld batch links, when viewing label batch 2021-02-02 14:48:34 -06:00
Lance Edgar 0128690da8 Update references to vendor invoice batches
per table/model rename
2021-02-02 13:49:10 -06:00
Lance Edgar 9b76e23354 Update references to vendor catalog batches
per table/model rename
2021-02-02 13:28:56 -06:00
Lance Edgar e3bf7f2bb2 Add stub methods for MasterView.template_kwargs_view() etc.
otherwise subclass has to consider, can i call super() or not?  it still does
for some other views, but at least create/view/edit are common enough that it
should always be able to call super() without concern for those
2021-02-02 10:57:58 -06:00
Lance Edgar 0209957def Fix config defaults for PurchaseView
so can customize that more easily
2021-02-01 17:15:39 -06:00
Lance Edgar 1cdb11c88c Update changelog 2021-02-01 13:59:37 -06:00
Lance Edgar 8e9c66c0ea Add icon for Help button 2021-02-01 13:58:10 -06:00
Lance Edgar fe80028c07 Add support for "nested" menu items
some menus were just getting too long, so this gives us a way to collapse
certain items, which user can expand as needed
2021-02-01 13:58:08 -06:00
Lance Edgar 329e75ee82 Add initial "scanning" feature for Ordering Batches 2021-01-31 21:51:46 -06:00
Lance Edgar 801c56f06e More tweaks for receiving batch workflows
now first step requires choice of vendor and workflow.  supports receiving from
PO at least for native use case.
2021-01-31 12:10:44 -06:00
Lance Edgar a2b7f882bc Split "new receiving batch" process into 2 steps: choose, create
so that the form used to create the batch can be made custom per-workflow, and
it won't have to think about any other workflows since we just use one form at
a time for that
2021-01-30 19:54:38 -06:00
Lance Edgar ff2e39f67a Make handler responsible for possible receiving modes 2021-01-30 16:56:30 -06:00
Lance Edgar 708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar fac00e6ecd Misc. improvements for ordering batches, purchases
also we now show handler's description when executing batch
2021-01-30 13:17:08 -06:00
Lance Edgar e1e3301fc1 Undo recent base.css changes for <p> tags
turns out i should be doing `<p class="block">` when i want spacing
2021-01-30 13:12:04 -06:00
Lance Edgar 1a18147971 Normalize naming of all traditional master views
whoops, missed one..
2021-01-28 17:18:45 -06:00
Lance Edgar 719e7c8441 Normalize naming of all traditional master views
such names should never use plural forms.  for now what plural forms were
previously in use, should still work.  ideally can remove those at some point
2021-01-28 16:32:25 -06:00
Lance Edgar 3ad19d05e5 Update changelog 2021-01-28 14:56:13 -06:00
Lance Edgar fb7a572519 Use "People Handler" to update names, when editing person or user 2021-01-28 14:34:18 -06:00
Lance Edgar b3867d9c89 Tweak how vendor link is rendered for readonly field 2021-01-27 22:24:23 -06:00
Lance Edgar 797a65e9c8 Update changelog 2021-01-27 14:16:11 -06:00
Lance Edgar 40b4596df4 Hopefully fix package links for upgrade diff
why in the F doesn't a hyphen work for this?
2021-01-27 09:01:42 -06:00
Lance Edgar 5e27ceedce Hide "collect from wild" button for UOMs unless user has permission 2021-01-27 08:56:38 -06:00
Lance Edgar a927827e33 Add changelog link for Theo, in upgrade package diff 2021-01-27 08:52:38 -06:00
Lance Edgar d1d64ec96c Fix some UOM bugs for new customer order 2021-01-27 08:50:20 -06:00
Lance Edgar 480d878db8 Initial support for adding items to, executing customer order batch 2021-01-26 20:10:05 -06:00
Lance Edgar 475ab3013f Update changelog 2021-01-25 11:43:35 -06:00
Lance Edgar b55ecc3898 Tweak label style, per recent base.css change 2021-01-23 21:08:00 -06:00
Lance Edgar a327dfab7c Add basic web API app, for simple use cases
plus some functions which make it easier to customize
2021-01-23 14:11:05 -06:00
Lance Edgar 649ac12cdd Add woocommerce package links for sake of upgrade diff view 2021-01-21 17:48:09 -06:00
Lance Edgar dde6195f38 Add master view for Units of Measure mapping table
w/ support for "collect from wild" tool
2021-01-21 17:39:16 -06:00
Lance Edgar 0035a4129a Add custom base.css for falafel theme
this copies from bobcat/base.css and just adds margin-bottom for p tag.

this was done b/c in certain Buefy dialogs etc. the p tags are too close
together.  not sure if this change breaks anything else yet...
2021-01-21 17:37:17 -06:00
Lance Edgar 523ea6e0df Add some generic render methods to MasterView 2021-01-20 21:56:20 -06:00
Lance Edgar 59167278d4 Set self.model when constructing new View 2021-01-20 20:29:07 -06:00
Lance Edgar f480c046f6 Add views for "delete product" batch 2021-01-19 12:18:56 -06:00
Lance Edgar af99ca7905 Make 'new-report' the default feature to be generated 2021-01-19 11:25:02 -06:00
Lance Edgar 850b6f71dd Add basic support for defining columns when generating new table feature 2021-01-18 00:32:30 -06:00
Lance Edgar ca602ff845 Add feature to generate new features...
at least that's the idea.  guess we'll see where this goes
2021-01-17 12:08:33 -06:00
Lance Edgar ce629c91bb Add CSS styles for 'codehilite' a la Pygments
this is in anticipation for displaying syntax-highlighted code snippets from
markdown source.  this CSS file was generated according to instructions at
https://python-markdown.github.io/extensions/code_hilite/
2021-01-17 11:15:24 -06:00
Lance Edgar a3cbb24892 Add variant transaction logic per zope.sqlalchemy 1.1 changes
without this we can't use zope.sqlalchemy 1.1 due to error
2021-01-16 14:13:34 -06:00
Lance Edgar 5e9264bbef Don't create new person for new user, if one was selected 2021-01-14 12:10:35 -06:00
Lance Edgar 758d5e6f4c Update changelog 2021-01-10 21:24:59 -06:00
Lance Edgar 4d8e29c892 Add basic support for "download" and "rawbytes" API views 2021-01-06 13:12:27 -06:00
Lance Edgar fd1342c605 Try to show existing filename, for upload widget 2021-01-05 18:53:00 -06:00
Lance Edgar e548b72323 Fix some deform template comments 2021-01-05 18:19:27 -06:00
Lance Edgar ad859d4bef Allow specifying the size of a file, for readable_size() method
sometimes the file bytes are stored in DB instead of on disk
2021-01-04 13:22:44 -06:00
Lance Edgar 483a47ed43 Allow changing protected user password when acting as root 2021-01-02 18:49:20 -06:00
Lance Edgar 9c026c1dd9 Show node title in header for Login, About pages 2021-01-02 18:48:45 -06:00
Lance Edgar 6a0bcdaa82 Update changelog 2020-12-16 14:53:17 -06:00
Lance Edgar cc833c52b6 Add common "form poster" logic, to make CSRF token/header names configurable
also refactor the Feedback logic to use it
2020-12-16 14:28:41 -06:00
Lance Edgar a801672821 Improve error handling for feedback form
also make sure the message doesn't self-destruct when closing the dialog
2020-12-16 12:47:45 -06:00
Lance Edgar 20f3d001c4 Update changelog 2020-12-15 20:08:02 -06:00
Lance Edgar 058677adec Tweak spacing for header logo + title, in falafel theme
those were just too close together, this should fix.

nb. i am unclear if everything in layout.css is actually being used..?
2020-12-15 19:09:17 -06:00
Lance Edgar 8ff590e43f Expose "commodity" filter by default, for IFPS PLU codes 2020-12-07 19:01:43 -06:00
Lance Edgar 42eb72422d Add very basic support for merging 2 People
this is not very complete, but was enough for what i needed at the moment.
almost seems like incomplete feature may be worse than none at all?  but then
again some sort of default starting point is nice i guess...
2020-12-07 11:40:26 -06:00
Lance Edgar ac5139b7c4 Add basic views for IFPS PLU Codes 2020-12-06 19:36:32 -06:00
Lance Edgar 3ae47ba1e5 Update changelog 2020-12-04 17:50:56 -06:00
Lance Edgar a204e78e3a Assume composite PK when fetching instance for master view
i.e. stop trying a simple get() which would assume not only a simple PK, but
also assumes the PK is same as defined by the class mapper.  in some cases it
may be helpful to use a different PK from what mapper defines
2020-12-04 15:26:50 -06:00
Lance Edgar 0220e401cd Add "is empty" and related verbs, for "string" type grid filters 2020-12-04 15:26:21 -06:00
Lance Edgar 2ad0223e9a Add the "Employee Status" filter to People grid 2020-12-02 14:03:19 -06:00
Lance Edgar 04ba14fcd7 Update changelog 2020-12-01 20:05:19 -06:00
Lance Edgar e5d5850327 Add "generic" Employee tab feature, for profile view
i.e. this now exposes a way to begin/end employment status for a person, and
invokes the "employment handler" accordingly
2020-11-30 18:56:06 -06:00
Lance Edgar c87a452471 Tweak how an "enum" grid filter is initialized
wasn't working quite right for Buefy theme
2020-11-25 18:49:02 -06:00
Lance Edgar 3cd5fa7f4a Misc. tweaks to vendor catalog views
for sake of titeship
2020-10-23 22:08:43 -05:00
Lance Edgar ee3d32d60a Update changelog 2020-10-13 16:59:54 -05:00
Lance Edgar d80844c1ed Tweak how global DB session is created
no need to specify "record changes" flag here
2020-10-13 16:59:51 -05:00
Lance Edgar 9af7e38219 Update changelog 2020-09-29 18:07:10 -05:00
Lance Edgar dc1f613bc2 Fix "refresh results" for batches, in Buefy theme 2020-09-28 13:23:01 -05:00
Lance Edgar e0d1e39824 Add feature to "download rows for results" in master index view 2020-09-28 12:45:46 -05:00
Lance Edgar bcb4bda7e6 Fix bug in App Settings when list value is "missing" 2020-09-26 15:00:42 -05:00
Lance Edgar 37a05155e5 Add support for "list" type of app settings (w/ textarea) 2020-09-25 23:23:01 -05:00
Lance Edgar 18b9f43eaa Update changelog 2020-09-25 17:55:39 -05:00
Lance Edgar 20c31cbb07 Fix grid bug when paginator is not involved 2020-09-25 16:05:07 -05:00
Lance Edgar 5b05f9426f Allow alternate engine to act as 'default' when multiple are available 2020-09-25 16:04:32 -05:00
Lance Edgar 9dc9bd162f Update changelog 2020-09-24 13:54:46 -05:00
Lance Edgar c79b63e270 Fix bug when fetching partial versions data grid
e.g. when requesting new page of data
2020-09-23 20:42:43 -05:00
Lance Edgar 2d699b3e43 Add global help URL to login template 2020-09-23 18:32:53 -05:00
Lance Edgar 24cc4b4272 Change how we protect certain person, employee records 2020-09-23 16:39:44 -05:00
Lance Edgar 746db72046 Add user_is_protected() method to core View class
also, don't allow "protected" users to change their own password
2020-09-23 16:28:54 -05:00
Lance Edgar 77fa2a78d4 Update changelog 2020-09-22 19:40:47 -05:00
Lance Edgar af11511d24 Remove unwanted columns for default Products grid 2020-09-20 23:35:07 -05:00
Lance Edgar 6709d97abc Only show node title in home page header, for buefy themes
it's just redundant for the old jquery theme
2020-09-20 19:57:27 -05:00
Lance Edgar 4b4faae009 Show node title in header, for home page 2020-09-20 19:55:33 -05:00
Lance Edgar f37a9963f6 Add some more field hints when generating 'fabric' project 2020-09-20 18:04:44 -05:00
Lance Edgar 2d29245037 Don't expose "timezone" for input when generating 'fabric' project
static default is good enough for that
2020-09-20 18:01:23 -05:00
Lance Edgar d146514c39 Prompt user if they try to send email preview w/ no address 2020-09-20 17:41:04 -05:00
Lance Edgar 149ae4b71c Avoid unhelpful error when perm check happens for "re-created" DB user
kind of an edge case, should only apply to dev
2020-09-20 16:32:44 -05:00
Lance Edgar 711ed947a3 Add "worksheet file" pattern for editing batches
lets user download a worksheet, edit, then upload back to update the batch
2020-09-18 12:17:04 -05:00
Lance Edgar 37a60592f6 Add 'warning' class for 'delete' action in b-table grid 2020-09-17 13:54:43 -05:00
Lance Edgar 3ac8ca90ce Update changelog 2020-09-16 22:23:28 -05:00
Lance Edgar cc5d0ed3c6 Tweak option label for Catapult when generating project 2020-09-16 22:22:37 -05:00
Lance Edgar 652e951f89 Add support for generating new 'fabric' project 2020-09-16 19:25:03 -05:00
Lance Edgar dd2b634ed2 Remove some custom field labels for Vendor
should use `labels` dict if really needed, but they don't seem to be
2020-09-15 18:34:00 -05:00
Lance Edgar 32cfe58601 Allow custom props for TailboneForm component 2020-09-15 09:33:27 -05:00
Lance Edgar e6da1152ca Update changelog 2020-09-14 13:10:12 -05:00
Lance Edgar 3eb929aa13 Hide the 'byjove' option for generating new project
until we actually support it
2020-09-08 19:05:36 -05:00
Lance Edgar 7df5838bc0 Require permission to generate a new project 2020-09-08 19:01:34 -05:00
Lance Edgar f8d9b0803c Add some help text to new project form, etc. 2020-09-08 14:10:49 -05:00
Lance Edgar cf613ab34a Split "new project" forms into multiple sections 2020-09-06 14:47:14 -05:00
Lance Edgar cebe2f8adc Add basic/incomplete support for generating new 'byjove' project
just wanted to get the placeholder in here for now
2020-09-06 13:54:11 -05:00
Lance Edgar bd19d7c231 Add view for generating new project from template
this was copied as-is from titeship
2020-09-06 12:36:20 -05:00
Lance Edgar 1283a794df Overhaul project changelog links for upgrade pkg diff table 2020-09-05 17:48:34 -05:00
Lance Edgar fdcf23f65f Stop including 'complete' filter by default for purchasing batches 2020-09-04 20:30:33 -05:00
Lance Edgar 24516b81cb Update changelog 2020-09-02 13:44:13 -05:00
Lance Edgar 527bc04998 Expose Product.average_weight field 2020-09-02 13:38:18 -05:00
Lance Edgar 72177e8ab5 Improve auto-handling of "local" timestamps
for non-Rattail DBs where timestamps are local instead of UTC
2020-09-02 11:30:02 -05:00
Lance Edgar d2d632092b Add support for batch execution options in Buefy themes
i.e. from "view batch" page
2020-08-23 13:53:55 -05:00
Lance Edgar 7a0f975b31 Fix spacing between components in "grid tools" section 2020-08-23 11:26:29 -05:00
Lance Edgar 026dc6309c Fix "execute results" batch template logic for Buefy themes 2020-08-23 11:23:22 -05:00
Lance Edgar 5af26a57f6 Improve layout for "download results" modal 2020-08-22 16:11:29 -05:00
Lance Edgar 922cbe4451 Add new/flexible "download results" feature 2020-08-22 15:24:32 -05:00
Lance Edgar 43472c7eb6 Use utf8 encoding when downloading results as CSV 2020-08-21 18:35:27 -05:00
Lance Edgar 1b7612ffb0 Add progress for generating "results as CSV" file to download 2020-08-21 18:28:36 -05:00
Lance Edgar 7d8c57170f Add progress for generating "results as XLSX" file to download 2020-08-21 17:42:01 -05:00
Lance Edgar 32b98ae818 Update changelog 2020-08-21 13:18:08 -05:00
Lance Edgar 7f8271e215 Don't require department by default, for new purchasing batch 2020-08-21 12:28:01 -05:00
Lance Edgar 58362ae858 Add buefy theme support for ordering worksheet 2020-08-20 17:56:19 -05:00
Lance Edgar 7a01cb8873 Allow for unknown/missing "changed by" user for product price history 2020-08-20 17:51:59 -05:00
Lance Edgar 374f20ff1a Remove <section> tag around "no results" for minimal b-table 2020-08-20 17:51:21 -05:00
Lance Edgar 9620fc5a83 Add config for "global" help URL 2020-08-20 17:51:00 -05:00
Lance Edgar cfa9c95814 Tweaks for export views, to make more generic 2020-08-19 17:23:23 -05:00
Lance Edgar 96185d17bd Update changelog 2020-08-17 21:56:09 -05:00
Lance Edgar b5028ab2d0 Add pagination to price, cost history grids for product view 2020-08-17 21:38:12 -05:00
Lance Edgar a038f2a98d Make "download row results" a bit more generic
to handle non-native table/rows, w/ non-uuid key
2020-08-16 16:57:06 -05:00
Lance Edgar 7924502b65 Update changelog 2020-08-13 12:55:17 -05:00
Lance Edgar aac0e7d35c Tweak config methods for customer master view 2020-08-11 18:28:03 -05:00
Lance Edgar dca890f169 Update changelog 2020-08-10 19:37:29 -05:00
Lance Edgar d0e7f7dda2 Improve rendering of true_margin column for pricing batch row grid 2020-08-09 15:50:25 -05:00
Lance Edgar b4ea1489a7 Update changelog 2020-08-09 15:06:41 -05:00