Commit graph

1528 commits

Author SHA1 Message Date
Lance Edgar 42982a69ea Treat unknown UPC as "product not found" for inventory batch
i.e. as opposed to collecting info about the product
2018-03-21 10:52:30 -05:00
Lance Edgar fde5398455 Use 'today' as fallback date for ordering worksheet 2018-03-21 10:42:50 -05:00
Lance Edgar 79b1502920 Update changelog 2018-03-15 16:39:24 -05:00
Lance Edgar bce6662eae Fix autodisable button bug for forms marked as such 2018-03-15 15:54:16 -05:00
Lance Edgar 69f04beb6d Fix text area behavior for email recipient fields 2018-03-12 18:27:50 -05:00
Lance Edgar 85f108d10e Update changelog 2018-03-12 17:58:41 -05:00
Lance Edgar 652f51d484 Add support for making new product on-the-fly during mobile ordering
let's face it, that will be necessary sometimes.  this feature still needs some
work before can be called complete though...
2018-03-06 19:29:15 -06:00
Lance Edgar 6ec0ddb94e Remove the "add vs. subtract" mode for desktop inventory workflow form
hopefully we can always assume the "mode" based on other things
2018-03-06 16:26:53 -06:00
Lance Edgar 802f4bfd6b Add disable_submit_button() global JS function
managed to find another use for this, so split it out
2018-03-06 16:26:15 -06:00
Lance Edgar 5765533491 Add changelog link for rattail-tempmon in upgrade diff 2018-03-05 20:26:22 -06:00
Lance Edgar aeccf5c5f6 Fix default create logic for vendors, products
online demo triggered errors for this.  might as well have basic support
2018-03-05 20:20:35 -06:00
Lance Edgar 90f0fcfea6 Expose vendor item code for purchase credits
also, fix some issues with mobile receiving logic
2018-03-01 15:16:40 -06:00
Lance Edgar 91bb38573b Add desktop support for creating inventory batches
with a workflow form of sorts
2018-02-28 21:53:39 -06:00
Lance Edgar 52e9717288 Update changelog 2018-02-27 19:12:46 -06:00
Lance Edgar bd45833395 Test commit 2018-02-26 00:49:21 -06:00
Lance Edgar c7c241fe7a Update trove classifiers to reflect python 3, beta status 2018-02-25 21:25:52 -06:00
Lance Edgar 73f73e0236 Add python 3.5 support for tox; run all tests before a release 2018-02-24 17:15:49 -06:00
Lance Edgar 021848524a Fix field type for Trainwreck view 2018-02-22 21:04:00 -06:00
Lance Edgar 2c2df9f01e Fix bug in users view when person field not present 2018-02-22 13:25:20 -06:00
Lance Edgar f2a60f683c Add logic for editing default phone/email in base master view
and refactor customer, vendor views to use it
2018-02-22 12:27:08 -06: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 0a165c5b93 Don't set order date for new ordering batch when created via mobile
that really should be set upon batch execution instead
2018-02-22 11:19:33 -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 d75fe88c44 Expose ship_method and notes_to_vendor for purchase, ordering batch 2018-02-22 11:16:33 -06:00
Lance Edgar 37a788a141 Use Form.submit_label if present, or fall back to save_label
latter should probably be deprecated / removed at some point
2018-02-22 11:14:21 -06:00
Lance Edgar e1a9da0716 Always show flash-error-style message when form has errors
probably will regret this and change it back soon, we'll see
2018-02-22 11:13:29 -06:00
Lance Edgar ff7341d272 Add Form.mobile flag and set link button styles accordingly 2018-02-22 11:12:51 -06:00
Lance Edgar 046a70c5f6 Add NumberInputWidget for <input type="number" /> 2018-02-21 19:51:31 -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 1b059c5293 Refactor ordering worksheet to use shared logic 2018-02-19 18:19:19 -06:00
Lance Edgar b529a005d8 Remove some redundant / unused code 2018-02-19 17:09:12 -06:00
Lance Edgar 12dd6ae6b0 Use all "normal" product form fields, for mobile view 2018-02-19 15:31:02 -06:00
Lance Edgar e93e1b91a9 Update changelog 2018-02-15 18:49:16 -06:00
Lance Edgar 5c1008a0df More tweaks for python 3 2018-02-15 12:48:14 -06:00
Lance Edgar 135e98cde1 Fix encoding bug for python 3, when downloading CSV results 2018-02-14 15:27:55 -06:00
Lance Edgar 79634d402e Update changelog 2018-02-14 14:18:38 -06:00
Lance Edgar cb2234cef5 Fix encoding for robots.txt view response 2018-02-14 10:31:04 -06:00
Lance Edgar cfb6cf5ab4 Tweak rendering for python 3 2018-02-14 09:52:19 -06:00
Lance Edgar 0a16cc2ded Add tailbone version to base stylesheet URLs
hopefully this forces clients to refresh after upgrade?
2018-02-13 00:10:32 -06:00
Lance Edgar a0d9b5ddf4 Add generic 'login_as_home' setting
i.e. redirect anonymous users to login instead of showing home page
2018-02-12 22:18:59 -06:00
Lance Edgar 2ab00bfd78 More python 3 tweaks 2018-02-12 22:17:38 -06:00
Lance Edgar f411dcde24 Remove pyramid_debugtoolbar dependency 2018-02-12 21:25:58 -06:00
Lance Edgar 585db147ac Tweak dependencies per rattail changes 2018-02-12 19:39:04 -06:00
Lance Edgar 17d99e16b9 More tweaks for python 3 2018-02-12 19:22:05 -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 189bc1faa8 Officially remove pyramid_simpleform dependency 2018-02-12 12:16:56 -06:00
Lance Edgar d9ff59afda Refactor grid filters to use colander/deform 2018-02-12 12:15:07 -06:00