Lance Edgar
b2020686f5
Tweak conditions for CSV row download link
2018-01-06 19:27:37 -06:00
Lance Edgar
aa4051a7cd
Exclude JS for refreshing batch unless it's relevant
2018-01-06 19:26:31 -06:00
Lance Edgar
50d6f1f95a
Let grids be paginated even when they have no model class
2018-01-06 19:21:45 -06:00
Lance Edgar
582aabc1a3
Add empty default when displaying values in grid
2018-01-06 19:20:55 -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
dd22c04573
Add view for InventoryAdjustmentReason model
2018-01-05 18:37:16 -06:00
Lance Edgar
067cd60e20
Change how select menus are enhanced for batch exec options
...
jquery selectmenu doesn't play nicely in a dialog, when expanded (options are
cut off from screen)
2018-01-05 17:13:01 -06:00
Lance Edgar
e78777f8e1
Add field name as wrapper class name
2018-01-05 17:12:42 -06:00
Lance Edgar
ec0865b03f
Show 'static_prices' flag for label batches
2018-01-05 16:52:08 -06:00
Lance Edgar
6ed37743a5
Fix some styles for execution options dialog
2018-01-05 11:21:30 -06:00
Lance Edgar
1767cef701
Update changelog
2018-01-05 09:41:58 -06:00
Lance Edgar
b2fe300f02
Fix bug when making batch from product query
2018-01-05 09:36:02 -06:00
Lance Edgar
061aa889a6
Update changelog
2018-01-04 15:46:24 -06:00
Lance Edgar
80903bde38
Refactor forms logic when making batch from product query
...
use colander/deform instead of wtforms. also make sure param names are unique
per batch type, within form controls
2018-01-04 15:08:03 -06:00
Lance Edgar
2cc0bb1995
Tweak product filter for report code name
...
i.e. make it more clear that it leverages the name
2018-01-04 10:38:15 -06:00
Lance Edgar
8d3846b2f2
Show row count field when viewing vendor catalog batch
2017-12-21 20:44:10 -06:00
Lance Edgar
e58ca10e25
Make jQuery time widget input even more flexible
...
e.g. allow any of:
* 01:30 PM
* 1:30pm
* 11 AM
* 11am
2017-12-20 21:36:11 -06:00
Lance Edgar
42b97d1e1a
Add a bit more flexibility to jquery time input values
...
i.e. for when the user hand-keys a value
2017-12-20 21:30:14 -06:00
Lance Edgar
9f14d01c22
Add "price required" flag to product view
2017-12-20 19:02:03 -06:00
Lance Edgar
c0cb3d70ff
Update changelog
2017-12-20 17:36:13 -06:00
Lance Edgar
163c8945ed
Provide sane width for filter value dropdowns
2017-12-20 14:25:10 -06:00
Lance Edgar
36aaa4d70c
Update changelog
2017-12-19 20:48:49 -06:00
Lance Edgar
f17617c659
Accept value_enum
kwarg when creating grid filter
...
and do the "normal" thing for that if one is given
2017-12-19 14:21:19 -06:00
Lance Edgar
873104d573
Update changelog
2017-12-08 18:04:46 -06:00
Lance Edgar
927eb3b38c
Add custom schema type for jQuery time picker data
2017-12-08 17:38:52 -06:00
Lance Edgar
abd47ae7ae
Fix deserialize logic for jQuery time-picker widget
2017-12-08 14:39:23 -06:00
Lance Edgar
1e8a4534d5
Various forms2 changes
2017-12-07 20:35:44 -06:00
Lance Edgar
587871e87c
Add Grid.remove_filter()
method
2017-12-06 19:54:13 -06:00
Lance Edgar
908ca52b08
Fix type for export 'created' field
2017-12-06 14:59:11 -06:00
Lance Edgar
ef720e3a59
Refactor reports view to use master3
2017-12-06 13:50:02 -06:00
Lance Edgar
09ba419ee3
Refactor "exports" views to use master3
2017-12-06 13:40:00 -06:00
Lance Edgar
86cfc59d33
Refactor user and role views to use master3
2017-12-06 12:40:27 -06:00
Lance Edgar
789bdef190
Add cleared/selected callbacks for jquery autocomplete in forms2
2017-12-05 20:36:57 -06:00
Lance Edgar
bb12c5107c
Refactor purchases view to use master3
2017-12-05 18:52:54 -06:00
Lance Edgar
8041c085f6
Add basic "helptext" support for forms2
2017-12-05 15:07:25 -06:00
Lance Edgar
c20fdf4450
Change template prefix for vendor catalog batches
2017-12-05 13:33:05 -06:00
Lance Edgar
4902fab187
Refactor views to use Grid.set_sort_defaults()
method
2017-12-04 22:40:10 -06:00
Lance Edgar
7d79727c2e
Refactor vendors view to use master3
2017-12-04 22:02:46 -06:00
Lance Edgar
dfba168504
Whoops, make shifts view really use master3
2017-12-04 21:11:27 -06:00
Lance Edgar
2762230691
Refactor raw shifts view to use master3
2017-12-04 21:09:44 -06:00
Lance Edgar
20bae8e54b
Add Grid.set_sort_defaults()
method
2017-12-04 20:53:46 -06:00
Lance Edgar
332fadd42e
Refactor people view to use master3
2017-12-04 18:49:52 -06:00
Lance Edgar
c3fb86e391
Refactor messages view to use master3
2017-12-04 17:52:25 -06:00
Lance Edgar
84ebf5d929
Refactor employees view to use master3
2017-12-04 13:48:31 -06:00
Lance Edgar
7a777964a7
Add transaction "System ID" field for Trainwreck
2017-12-03 20:33:25 -06:00
Lance Edgar
984072467e
Update changelog
2017-12-03 19:49:34 -06:00
Lance Edgar
b793998814
Expose default address for customers view
2017-12-03 12:23:43 -06:00
Lance Edgar
6da013bf6c
Fix permission bug for executing multiple batch results
2017-12-02 18:14:31 -06:00
Lance Edgar
16eeb501ca
Fix permission bug for mobile inventory batch
2017-12-02 18:10:33 -06:00
Lance Edgar
64afab821f
Allow "execute results" for inventory batches
2017-12-02 17:59:21 -06:00
Lance Edgar
d27759ac2d
Fix bug? or maybe there's no point
2017-12-02 17:20:40 -06:00
Lance Edgar
a7d8cfcdbb
Let batch views allow or deny "execute results" option
2017-12-02 17:08:17 -06:00
Lance Edgar
277d98ae2c
Tweak template prefix for label batch views
2017-12-02 16:25:59 -06:00
Lance Edgar
70a34615a3
Expose description and notes for label batches
2017-12-02 14:20:02 -06:00
Lance Edgar
f06fff983e
Allow bulk delete of label batch rows
2017-12-02 13:24:52 -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
366b1c9073
Hide status when creating new purchasing batch
2017-11-28 09:44:30 -06:00
Lance Edgar
ac733ae6ea
Various tweaks for sake of forms2 refactor
2017-11-27 12:10:17 -06:00
Lance Edgar
43ce0fb44f
Auto-scroll window as needed to ensure drop-down choices are visible
2017-11-22 11:21:59 -06:00
Lance Edgar
40d2251844
Add custom FieldList
class for forms2 field list
2017-11-22 11:21:28 -06:00
Lance Edgar
4c189f2fcc
Rather shoddy refactor of customers view to use master3
...
seems to work well enough for now..
2017-11-21 20:46:49 -06:00
Lance Edgar
3d7acbbe1d
Update changelog
2017-11-21 14:06:02 -06:00
Lance Edgar
9c205d7da5
Add colander magic for association proxy fields
...
hopefully now any association proxy fields which are included, will be given
the appropriate type and widget. however this still doesn't work for the
readonly rendering of fields...
2017-11-21 11:11:18 -06:00
Lance Edgar
6ea88808b2
Add date/time-picker, autocomplete support for forms2 (deform)
2017-11-20 17:01:08 -06:00
Lance Edgar
f541a94351
Set widget when defining enum for a form2 field
2017-11-20 12:38:50 -06:00
Lance Edgar
1325e507fb
Update changelog
2017-11-19 17:45:40 -06:00
Lance Edgar
3861d46ce3
Fix (hack) for editing some department flags
...
not sure why this is necessary, but not very important for now...
2017-11-18 22:34:43 -06:00
Lance Edgar
a8c8447297
Improve auto-disable logic for some form buttons
2017-11-17 17:27:33 -06:00
Lance Edgar
455f991857
Update changelog
2017-11-11 11:43:27 -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
dae827a45b
Update changelog
2017-11-08 13:03:36 -06:00
Lance Edgar
04735dfb4f
Update changelog
2017-11-08 12:24:01 -06:00
Lance Edgar
46293546b6
Add json
to global template context
...
just seems like a useful thing to have around...
2017-11-02 21:38:16 -07:00
Lance Edgar
7ccb38b5ab
Update changelog
2017-11-01 21:04:28 -07:00
Lance Edgar
5f04ac9cb4
Add "text" type for new form fields
2017-10-31 13:25:19 -07:00
Lance Edgar
c7855f2ca5
Add description, notes for pricing batches
2017-10-30 21:33:25 -07:00
Lance Edgar
aea4379fe4
Add sorters, filters for Product regular, current price
2017-10-30 21:23:00 -07:00
Lance Edgar
c320ab2feb
Add product and personnel flags for Department
2017-10-30 20:52:07 -07:00
Lance Edgar
3f335315ab
Update changelog
2017-10-29 22:50:11 -07:00
Lance Edgar
17d0ee64c2
Fix join bug for Upgrades table when sorting by executor
2017-10-29 22:48:49 -07:00
Lance Edgar
d89a21e2b0
Update changelog
2017-10-29 01:23:19 -07:00
Lance Edgar
2bbe6c8346
Add "make user" button when viewing person w/ no user account
2017-10-29 01:18:05 -07:00
Lance Edgar
b26036f366
Update changelog
2017-10-28 16:45:13 -07:00
Lance Edgar
d67350b93b
Add cashier info, upload time for Trainwreck transaction views
2017-10-28 11:30:53 -07:00
Lance Edgar
f11210fa2b
Update changelog
2017-10-25 23:11:09 -07:00
Lance Edgar
ff7fd94b57
Use master3 view for datasync changes
2017-10-24 21:21:43 -07:00
Lance Edgar
1ee822d715
Add support for validator and required flag, for new forms
2017-10-24 19:58:59 -07:00
Lance Edgar
8bcb2f750a
Update changelog
2017-10-24 10:18:42 -07:00
Lance Edgar
2bd2839107
Export Person.users
relationship (readonly)
2017-10-24 10:09:28 -07:00
Lance Edgar
a51d4e54db
Add item_id
to trainwreck views
...
er, add scancode, since item_id was renamed..
2017-10-24 09:51:18 -07:00
Lance Edgar
52342a7612
Fix value auto-selection for enum grid filters
2017-10-22 20:56:30 -07:00
Lance Edgar
401cba23b7
Add grid filter which treats empty string as NULL
2017-10-22 20:00:31 -07:00
Lance Edgar
512405f01f
Fix bug in MasterView.get_effective_row_query()
...
really this method should be removed...
2017-10-22 12:55:41 -07:00
Lance Edgar
8c599f368e
Update changelog
2017-10-20 11:51:48 -07:00
Lance Edgar
855153f121
Fix bug with products view config
2017-10-20 11:51:07 -07:00
Lance Edgar
cddb05d8fc
Update changelog
2017-10-19 08:48:34 -07:00
Lance Edgar
14f67746bf
Allow passing None
to Grid.set_joiner()
...
doing so will remove the joiner
2017-10-18 12:54:57 -07:00
Lance Edgar
f8e98a5817
Avoid potential bugs when generating CSV results data for download
2017-10-16 17:38:42 -07:00
Lance Edgar
46b49ab987
Add 'currency' field type for new forms
2017-10-14 18:52:30 -07:00
Lance Edgar
7442b933fd
Add support for setting default field values on new forms
...
i.e. those using Colander schema
2017-10-14 17:55:29 -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
f338a03c97
Add 'active' column to Users table view
2017-10-13 14:12:28 -07:00
Lance Edgar
8d002f76d2
Convert user feedback mechanism to use modal dialog
...
instead of navigating to new page. this is how it should have been done
to begin with...
2017-10-13 08:01:43 -07:00
Lance Edgar
827cc592b4
Make CSRF protection optional (but on by default)
2017-10-11 15:57:34 -07:00
Lance Edgar
6281593084
Add "local" datetime renderer for new grids, forms
2017-10-10 13:58:52 -07:00
Lance Edgar
791f3beffc
Update changelog
2017-09-28 12:13:30 -05:00
Lance Edgar
6186700a66
Add 'duration' type for new form fields
...
this only supports readonly, for now..
2017-09-26 22:06:50 -05:00
Lance Edgar
47ce0fd448
Add "populatable" for master views (populating new objects with progress)
2017-09-23 16:27:22 -05:00
Lance Edgar
8a945f8baf
Pass form along to before_create_flush()
in master3
2017-09-23 16:26:56 -05:00
Lance Edgar
e283288a26
Fix deform widget resource inclusion for master/create template
2017-09-23 16:26:22 -05:00
Lance Edgar
52747ea6bd
Auto-enhance all select widget fields for deform
2017-09-23 16:26:03 -05:00
Lance Edgar
7cb4664018
Add ability to override schema node for custom deform fields
2017-09-23 16:25:37 -05:00
Lance Edgar
3361adf08a
Copy select field template from deform
...
this is before any modifications, straight from deform
2017-09-23 14:12:27 -05: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
8d78fad621
Fix data type/size issue with CSV download
2017-09-16 18:42:18 -05:00
Lance Edgar
c497604a30
Update changelog
2017-09-15 21:03:15 -05:00
Lance Edgar
3564ab0e1c
Tweak title for master view row template
2017-09-15 21:02:13 -05:00
Lance Edgar
9ff6df83e5
Add generic support for downloading list results as CSV
2017-09-14 21:57:37 -05:00
Lance Edgar
f6d9f7a913
Fix user field rendering when no person associated
2017-09-03 13:00:44 -05:00
Lance Edgar
b76f568d7d
Update changelog
2017-08-30 20:09:34 -05:00
Lance Edgar
45d4329630
Log debug instead of error when package diff render fails
...
we probably don't want email noise about this..
2017-08-20 13:12:55 -05:00
Lance Edgar
f74c93e3e7
Fix some bugs for rendering upgrade package diffs
...
in particular, when a new package gets installed and there is no "old"
version for it
2017-08-20 13:03:30 -05:00
Lance Edgar
ee606275ad
Update changelog
2017-08-18 11:23:05 -05:00
Lance Edgar
2448d71edd
Convert customer groups view to master3
2017-08-17 20:28:54 -05:00
Lance Edgar
7dbdaf1f8a
Convert categories view to master3
2017-08-17 20:25:21 -05:00
Lance Edgar
34bc59f96f
Convert brands view to master3
2017-08-17 20:20:15 -05:00
Lance Edgar
e3de40bdfe
Convert bouncer view to master3
...
also move common file field logic from upgrades into master3
2017-08-17 20:13:42 -05:00
Lance Edgar
2db9d31386
Use shared logic for executing upgrade
...
now that it's part of the handler
2017-08-17 18:16:28 -05:00
Lance Edgar
639644375d
Give the "More" link a but of extra space from other actions
2017-08-17 18:00:22 -05:00
Lance Edgar
c038d74302
Show all grid actions by default, if there are 3 or less
2017-08-17 17:25:18 -05:00
Lance Edgar
63e336d4bb
Override deform template for checkbox field; fix label behavior
2017-08-17 17:21:07 -05:00
Lance Edgar
0d144ff58b
Convert subdepartments view to master3
2017-08-17 00:45:11 -05:00
Lance Edgar
bbfa15845a
Convert departments view to master3
2017-08-17 00:45:08 -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
Lance Edgar
98ca378302
Add extra perms for creating inventory batch w/ different modes
2017-08-16 22:26:52 -05:00
Lance Edgar
860f990a2e
Fix mobile inventory template
2017-08-16 22:11:30 -05:00
Lance Edgar
422b7681f4
Update changelog
2017-08-16 20:46:00 -05:00
Lance Edgar
e945ebe325
Fix auto-disable button on form submit, per Chrome issues
...
dang it chrome, why you gotta be like that
2017-08-16 19:10:39 -05:00
Lance Edgar
178b9f2bcb
Add LocalDateTimeFieldRenderer
for formalchemy
2017-08-16 18:32:17 -05:00
Lance Edgar
d83990bb58
Update changelog
2017-08-15 16:52:27 -05:00
Lance Edgar
0469ddea7a
Fix permission used for mobile receiving item lookup
2017-08-15 16:49:49 -05:00
Lance Edgar
b309df005c
Tweak how pyramid config is created during app startup, for tests
...
still not sure if this is quite right, but seems to work for now
2017-08-15 16:13:35 -05:00
Lance Edgar
ec4e52fa1a
Add mechanism for user to bulk-change status for purchase credits
...
trying to stay pretty generic yet...
2017-08-15 12:58:16 -05:00
Lance Edgar
0516d44842
Let handler delete files when deleting upgrade
2017-08-14 01:05:21 -05:00
Lance Edgar
56910ea4c1
Add generic changelog link for rattail/tailbone packages
...
i.e. production changelog, when not running from src
2017-08-13 21:23:11 -05:00
Lance Edgar
cbf3a9e939
Update changelog
2017-08-13 20:36:14 -05:00