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
329e75ee82
Add initial "scanning" feature for Ordering Batches
2021-01-31 21:51:46 -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
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
f480c046f6
Add views for "delete product" batch
2021-01-19 12:18:56 -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
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
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
58362ae858
Add buefy theme support for ordering worksheet
2020-08-20 17:56:19 -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
cf8072e402
Use handler do_delete()
method when deleting a batch
...
even though it seems we have 2 calls to `session.delete(batch)` now, but things
are still working..fingers crossed
2020-07-29 21:58:31 -05:00
Lance Edgar
0dfe52a42d
Don't allow "execute results" for any batches by default
...
custom app must always explicitly opt-in to that feature
2020-07-07 19:23:52 -05:00
Lance Edgar
2139fea3d0
Expose "shelved" field for pricing batches
2020-05-18 14:42:02 -05:00
Lance Edgar
d9f6a7201e
Let config totally disable the old/legacy jQuery mobile app
2020-04-04 20:51:49 -05:00
Lance Edgar
e9fc9ccbf7
Use "quick entry" logic from batch handler, for mobile inventory
...
pretty sure desktop version still needs cleanup, but later...
2020-03-29 15:20:34 -05:00
Lance Edgar
71a9010579
Make handler responsible for locating product for inventory batch
2020-03-29 15:20:34 -05:00
Lance Edgar
0e7835e2d9
Make inventory batch handler responsible for finding row for product
2020-03-29 15:20:32 -05:00
Lance Edgar
069eac1cf6
Add temporary method for inventory batch view
...
calling code should invoke handler directly instead of using this method, but
for now we need it to exist
2020-03-29 14:30:48 -05:00
Lance Edgar
dc4531f545
Let inventory batch handler decide which count modes are available
2020-03-29 13:37:50 -05:00
Lance Edgar
6a58f5f5d3
Let inventory batch handler decide if products should be aggregated
2020-03-29 13:33:38 -05:00
Lance Edgar
12b567d3d2
Let inventory batch handler decide what to do about unknown product scan
2020-03-29 13:09:14 -05:00
Lance Edgar
2532fcbea2
Let inventory batch handler decide if case input is allowed
2020-03-29 13:04:11 -05:00
Lance Edgar
0704717ec5
Let inventory batch handler declare which count modes are allowed
...
preparing for API/mobile usage
2020-03-29 12:46:41 -05:00
Lance Edgar
242e14e8a9
Allow bulk-delete for Inventory Batches
2020-03-29 12:07:42 -05:00
Lance Edgar
35bef2c3dd
Move inventory batch view to its proper location
...
but keep "inventory adjustment reasons" where it was; that also is proper
2020-03-29 12:05:05 -05:00
Lance Edgar
af07b433ad
Fix rendering of batch ID in forms
2020-03-23 21:41:44 -05:00
Lance Edgar
13802c49a8
Add "generic" render_id_str()
method to MasterView
...
not sure how useful, but maybe
2020-03-23 21:25:43 -05:00
Lance Edgar
eaeda6ca36
Fix row status filter for Import/Export batches
...
per Buefy theme
2020-03-23 20:55:46 -05:00
Lance Edgar
297ca3fe11
Fix default row grid config logic for batches
...
make sure we don't overwrite configured row labels
2020-03-20 14:58:29 -05:00
Lance Edgar
0483f47b26
Add support for refreshing multiple batches (results) at once
2020-03-02 18:11:13 -06:00
Lance Edgar
2605f5ab79
Fix batch row status breakdown for Buefy themes
...
also, fix the "import batch from file" feature UI, per Buefy theme
2020-03-02 14:38:06 -06:00
Lance Edgar
6925c460c5
Add some custom display logic for "current price" in pricing batch
2020-02-07 18:12:44 -06:00
Lance Edgar
b633c91b66
Add red highlight for SRP breach, for generic product batch
2020-01-28 17:24:10 -06:00
Lance Edgar
132b2b9ec7
Fix vendor ID/name for Excel download of pricing batch rows
2020-01-28 16:33:23 -06:00
Lance Edgar
201f7cc21e
Add warning for "price breaches SRP" rows in pricing batch
2020-01-28 11:59:40 -06:00
Lance Edgar
e9533727db
Allow populate of new pricing batch from products w/ "SRP breach"
2020-01-23 10:48:21 -06:00
Lance Edgar
234fd8b2e1
Add support for Row Status Breakdown, for Import/Export batches
2020-01-14 11:54:00 -06:00
Lance Edgar
a96c5712ab
Use currency formatting for costs in vendor catalog batch
...
and related tweaks
2019-12-04 16:51:55 -06:00
Lance Edgar
c14cf3022c
Allow update of row unit cost directly from receiving batch view
2019-11-22 20:12:48 -06:00
Lance Edgar
e153e530a8
Use "warning" status for pricing batch rows, where product not found
2019-11-04 12:39:26 -06:00
Lance Edgar
7f94e3fc77
Tweak a method signature for batch views
...
sometimes executing a batch will involve an "action" kwarg, so we can't use
that or else a collision ensues
2019-11-01 21:09:15 -05:00
Lance Edgar
39b1a78b89
Allow bulk delete of New Product batch rows
2019-10-23 14:50:36 -05:00
Lance Edgar
3dd70926b9
Expose unit cost diff for vendor invoice batch rows
2019-10-09 15:58:16 -05:00
Lance Edgar
adf377c41d
Move module for vendor invoice batch views to a new home
2019-10-09 15:38:12 -05:00
Lance Edgar
9a35a31261
Expose the "is preferred vendor" flag for vendor catalog batches
2019-10-09 14:55:51 -05:00
Lance Edgar
b451f4af55
Move module for vendor catalog batch views to a new home
...
also, expose new "unit cost diff percent" field
2019-10-09 14:16:44 -05:00
Lance Edgar
18c30fcb05
Allow bulk-delete for some common batches
2019-10-09 11:26:26 -05:00
Lance Edgar
b14a4987d2
Move label batch views to tailbone.views.batch.labels
...
to better match the general pattern we have going on
2019-10-09 11:11:22 -05:00
Lance Edgar
ff9700e23a
Add core View.make_progress()
method
...
so callers no longer need to import `SessionProgress` and create directly
2019-09-25 00:32:41 -05:00
Lance Edgar
0d2f6e060f
Use simple_error()
from rattail, for showing some error messages
...
just trying to standardize a little
2019-09-19 20:19:26 -05:00
Lance Edgar
43a210cac4
Fix "edit row" icon for batch row grids, for Buefy themes
2019-06-21 15:47:30 -05:00
Lance Edgar
cc79fe76fd
Refactor form/page component structure for Buefy/Vue.js
...
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -05:00
Lance Edgar
26137ec81e
Add Buefy support for "execute results" from core batch grid view
2019-06-16 15:50:40 -05:00
Lance Edgar
d51fe8483a
Buefy support for "mark batch as (in)complete"
2019-06-15 20:47:45 -05:00
Lance Edgar
bbe2efa4b3
Allow bulk row delete for generic products batch
2019-05-30 13:25:42 -05:00
Lance Edgar
9d6cc86e60
Add basic Buefy support for row grids
...
possibly even "complete" support...guess we'll see
2019-05-06 19:53:59 -05:00
Lance Edgar
06bedf6cb4
Pass batch execution kwargs when doing that via subprocess
...
i.e. instead of the normal in-app method
2019-04-29 09:06:54 -05:00
Lance Edgar
a5f04b6c7f
Add filter for Vendor ID in Pricing Batch row grid
2019-04-25 21:29:10 -05:00
Lance Edgar
798a9893e9
Add category, family, report code support for generic product batch
2019-04-23 22:50:58 -05:00
Lance Edgar
f8d26b4f8f
Fix some issues with progress "socket" workaround for batches
2019-04-19 17:28:45 -05:00
Lance Edgar
2c1985bef3
Add support for generic "product" batch type
2019-04-19 13:23:21 -05:00
Lance Edgar
ea54ca6c11
Expose new code fields for pricing batch
2019-04-18 18:21:32 -05:00
Lance Edgar
1016b46243
Add "created by" and "executed by" grid filters for all batch views
2019-04-18 17:51:22 -05:00
Lance Edgar
6d68b56c56
Add views for "new product" batches
2019-04-17 21:48:41 -05:00
Lance Edgar
c869516449
Add basic "receive row" desktop view for receiving batches
...
not terribly polished yet, but works
2019-03-13 18:31:57 -05:00
Lance Edgar
d0b1cb527e
Tweak how batch handler is invoked to remove row
...
also, removes some related logic which now lives in handler
2019-03-11 19:32:41 -05:00
Lance Edgar
a5df9a2b3d
Invoke handler when marking batch as (in)complete
2019-02-26 18:01:27 -06:00
Lance Edgar
a45ce2ced2
Introduce support for "children first" truck dump receiving
...
still needs more testing to see what's left...
2019-02-06 16:50:40 -06:00
Lance Edgar
6cfc72c875
Add support for downloading batch rows as XLSX file
2019-02-05 18:18:02 -06:00
Lance Edgar
051cb71956
Let batch view customize logic for marking batch as (in)complete
2019-01-09 14:18:30 -06:00
Lance Edgar
1e42fe9de5
Only allow POST method for executing "results" for batch grid
2019-01-02 17:07:43 -06:00
Lance Edgar
c064bb275f
Expose vendor_id
column in pricing batch row grid
2019-01-02 16:38:38 -06:00
Lance Edgar
2ed34dda15
Make sure custom field labels are shown for batch execution dialog
2018-12-18 20:23:13 -06:00
Lance Edgar
3e9fdbacad
Expose subdepartment for pricing batch rows
2018-12-18 16:50:49 -06:00
Lance Edgar
c7496d7018
Clean up some inventory batch UI logic; prefer units by default
2018-12-18 15:13:01 -06:00
Lance Edgar
d61d9cc574
Add ability to make new pricing batch from input data file
2018-12-17 22:35:56 -06:00
Lance Edgar
fe35986432
Expose old_price_margin
field for pricing batch rows
2018-11-30 19:24:23 -06:00
Lance Edgar
23ce2fb33c
Add description, notes to default form_fields for batch views
2018-11-28 18:15:48 -06:00
Lance Edgar
25e61cc8d5
Use empty string instead of null as fallback value, for pricing rows CSV
2018-11-26 19:25:32 -06:00
Lance Edgar
3b54ab3e0b
Add "min % diff" option for pricing batch from products query
...
refactor the "batch from query" a bit also, to allow for multiple batch type
options which represent the same underlying batch type. (thought i needed
that, then realized i didn't, but seems safe to include.)
2018-11-25 20:14:49 -06:00
Lance Edgar
4fa9ab3c6e
Add better support for "make import batch from file" pattern
2018-11-22 20:26:28 -06:00
Lance Edgar
4806d7e5fe
Expose price_diff_percent
, margin_diff
for pricing batch row
2018-11-18 21:12:08 -06:00
Lance Edgar
342c7c3854
Move some label definitions for pricing batch rows
2018-11-18 20:47:24 -06:00
Lance Edgar
4a36ab827c
Expose "suggested price" for pricing batch row view
2018-11-18 20:02:43 -06:00
Lance Edgar
fded97d586
Don't add values to CSV row for undefined fields
2018-11-18 20:02:14 -06:00
Lance Edgar
de6275003e
Add vendor id, name to row CSV download for pricing batch
2018-11-18 19:36:28 -06:00
Lance Edgar
bdbb8e2a7d
Make sure status field is readonly when creating new batch
2018-11-07 16:47:51 -06:00
Lance Edgar
e4a518c444
Remove some unwanted row grid labels
...
doing it that way makes customization harder..still need to revisit how best to
do that i guess
2018-11-02 18:59:46 -05:00
Lance Edgar
2bd107056c
Add MasterView.render_product()
, fix edit for pricing batch row
2018-10-23 17:20:47 -05:00
Lance Edgar
fb3105c099
Fix batch row status breakdown, for rows with no status
2018-09-20 18:22:36 -05:00
Lance Edgar
0b9fe2dfe7
Add simple row status breakdown when viewing batch
2018-09-20 15:58:45 -05:00
Lance Edgar
950af8b5e0
Add "quick lookup" for mobile Products page
...
only if enabled, otherwise just shows the normal grid
2018-08-09 22:11:44 -05:00
Lance Edgar
d8b45db331
Improve support for "receive from scratch" workflow, esp. for mobile
...
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar
935a6b2a68
Add basic autocomplete support for "quick row" feature
2018-07-13 19:12:39 -05:00
Lance Edgar
68bd3047c4
Add initial support for mobile "quick row" feature, for ordering
...
at least for now, ordering only, but hopefully much more soon...
2018-07-12 22:53:29 -05:00
Lance Edgar
3cc789dda9
Fix batch action kwargs, so 'action' can be a handler kwarg
...
i.e. at least the handheld batch handler, accepts an 'action' kwarg for its
execute() method. we had apparently broken that
2018-07-03 18:32:03 -05:00
Lance Edgar
ac5a6c011b
Fix batch file download link URL
2018-07-03 18:25:34 -05:00
Lance Edgar
edbf7e6723
Fix bug when populating new batch
2018-06-27 12:19:34 -05:00
Lance Edgar
df9141ec4e
Let config override sys.prefix when launching batch commands in subprocess
2018-06-08 11:41:40 -05:00
Lance Edgar
44ff02b7af
Add versioning workaround support for batch actions
...
* add `can_cancel` flag for progress page, hide button if set
* overhaul populate/refresh/execute to launch socket/subprocess if necessary
2018-06-07 12:40:25 -05:00
Lance Edgar
57c2a7981f
Fix some things for inventory batch views
2018-05-23 14:13:28 -05:00
Lance Edgar
62dca3d0b0
Only show "toggle complete" buttons when viewing batch
...
i.e. just show simple value for e.g. delete batch page
2018-05-23 13:28:11 -05:00
Lance Edgar
6d27d0cfba
Hide "create new row" link for batches which are marked complete
2018-05-23 13:11:32 -05:00
Lance Edgar
218ac221e5
Add buttons to toggle batch 'complete' flag when viewing batch
2018-05-23 13:06:49 -05:00
Lance Edgar
ecf7acc800
Fix handling of 'filename' field when making new batch
2018-05-22 15:31:31 -05:00
Lance Edgar
cd7922f204
Add "most of" support for truck dump receiving
...
still not complete, but conceptually it sort of is...
2018-05-18 15:51:47 -05:00
Lance Edgar
630ffe0cf8
Don't allow row deletion if batch is marked complete
2018-02-22 12:26:21 -06:00
Lance Edgar
3d79f9fd7d
Add support for executing batch with options, via mobile
2018-02-22 11:20:12 -06:00
Lance Edgar
2a2ff721c1
Bind batch to its execution options schema, when applicable
...
so the batch can provide default values, etc. this also tweaks logic for using
defaults from session storage, so that they don't take priority over batch values
2018-02-22 11:18:11 -06:00
Lance Edgar
a8a4e362a0
Add basic mobile support for executing batches
...
no progress, or options, yet..
2018-02-21 18:55:16 -06:00
Lance Edgar
6ca69802f5
Add download path for batch master views
2018-02-19 19:59:01 -06:00
Lance Edgar
2ab00bfd78
More python 3 tweaks
2018-02-12 22:17:38 -06:00
Lance Edgar
b0821e8011
More tweaks for python 3
2018-02-12 15:32:54 -06:00
Lance Edgar
ee35cc6f22
Misc. cleanup for Python 3
2018-02-12 14:41:40 -06:00
Lance Edgar
cdaf36f346
Rename 'forms2' package, templates to 'forms'
2018-02-11 22:57:33 -06:00
Lance Edgar
dd04459748
Refactor batch execution options to use colander/deform
2018-02-11 22:37:17 -06:00
Lance Edgar
2cbacd6187
Remove legacy fieldset configuration logic
2018-02-11 16:25:09 -06:00
Lance Edgar
4191a56bfb
Fix some bugs with importer batch views
2018-02-10 17:14:32 -06:00
Lance Edgar
9387ef7116
Fix missing import bug
2018-02-06 10:31:36 -06:00
Lance Edgar
2219315ccc
Collapse all master4 views back to just 'master'
2018-02-05 21:23:23 -06:00
Lance Edgar
dfc5e0f50e
Refactor importer batch views per master4
2018-02-05 13:00:34 -06:00
Lance Edgar
38afb35b65
Refactor pricing batch views per master4
2018-02-05 13:00:34 -06:00
Lance Edgar
410ee8eb65
Add base master4 batch view
2018-02-05 13:00:31 -06:00
Lance Edgar
aded59d7ff
Don't process file for new batch unless field is present
2018-02-03 14:49:49 -06:00
Lance Edgar
33931b4bf2
Refactor vendor invoice batch views to use master3
2018-02-03 12:37:24 -06:00
Lance Edgar
c74bce2fdb
Fix bugs when making inventory batch on mobile
2018-02-01 14:28:24 -06:00
Lance Edgar
8d62960548
Refactor importer batch views to use master3
2018-01-27 13:04:07 -06:00
Lance Edgar
2cbe1b0049
Refactor pricing batch view to use master3
2018-01-27 12:53:32 -06:00
Lance Edgar
8eab3c5b36
Refactor handheld batch views to use master3
2018-01-27 12:23:47 -06:00
Lance Edgar
eac59ba5c8
Refactor purchasing batch views to use master3
2018-01-27 11:59:52 -06:00
Lance Edgar
d20601c359
Refactor label batch view to use master3
2018-01-26 19:14:15 -06:00
Lance Edgar
efdbc3c5b5
Show "buttons" when viewing an object, with forms2
...
also tweak logic when creating a batch..we'll see if it works..
2018-01-26 19:04:34 -06:00
Lance Edgar
e2cdb4387a
Fix row query bug when deleting batch row
2018-01-11 12:25:25 -06:00
Lance Edgar
acb4a77032
Add first attempt at master3 for batch views
2018-01-08 22:49:45 -06:00
Lance Edgar
fb140f24c1
Add basic UI support for "importer batch" feature
2018-01-06 20:28:59 -06:00
Lance Edgar
46d0e96321
Stop setting execution details when multiple batches executed
...
that's now the handler's job
2018-01-05 20:39:38 -06:00
Lance Edgar
4902fab187
Refactor views to use Grid.set_sort_defaults()
method
2017-12-04 22:40:10 -06:00
Lance Edgar
a7d8cfcdbb
Let batch views allow or deny "execute results" option
2017-12-02 17:08:17 -06:00
Lance Edgar
70a34615a3
Expose description and notes for label batches
2017-12-02 14:20:02 -06:00
Lance Edgar
11a63ab2ef
Fix batch row count when bulk-deleting rows
2017-12-02 13:24:38 -06:00
Lance Edgar
9cf5c9385d
Add batch description to page body title
2017-11-30 11:22:54 -06:00
Lance Edgar
6decabb369
Various batch tweaks, for better execution options etc.
2017-11-29 18:26:55 -06:00
Lance Edgar
df3623b663
Add more "manually priced" awareness to pricing batch UI
2017-11-29 18:25:47 -06:00
Lance Edgar
2cba0ade84
Accept None
as valid arg for Grid.set_filter()
...
i.e. to effectively remove the filter
2017-11-11 09:52:11 -06:00
Lance Edgar
c7855f2ca5
Add description, notes for pricing batches
2017-10-30 21:33:25 -07:00
Lance Edgar
c95e2dbb06
Add "download row results as CSV" feature to master view
2017-10-14 14:14:24 -07:00
Lance Edgar
3bcec30a4c
Don't set batch input file on creation, if no file exists
2017-09-23 13:32:12 -05:00
Lance Edgar
e1384c2ab1
Tweak default labels for created(by) batch form fields
2017-09-23 11:48:38 -05:00
Lance Edgar
3477637c74
Allow batch execution to require options on a per-batch basis
...
plus some other changes i think..
2017-08-16 23:27:27 -05:00