Commit graph

2112 commits

Author SHA1 Message Date
Lance Edgar
b4e70d43be Fix CSV handheld batch parser, to allow decimal amounts 2017-01-12 14:13:39 -06:00
Lance Edgar
bd39a9b019 Update changelog 2017-01-11 13:08:28 -06:00
Lance Edgar
42332b2aa3 Fix bugs for datasync error email preview 2017-01-09 13:32:41 -06:00
Lance Edgar
0f803bb38c Various fablib tweaks... 2017-01-08 09:55:47 -06:00
Lance Edgar
4c387ec19e Update changelog 2017-01-06 17:35:40 -06:00
Lance Edgar
06e8818db2 Fix typo in label batch handler 2017-01-06 17:34:48 -06:00
Lance Edgar
533f330b65 Fix set_timezone() fabric function, to handle symlink
Apparently the `/etc/localtime` path is sometimes a symlink, and the
previous logic was corrupting the timezone data...yikes
2017-01-06 14:52:03 -06:00
Lance Edgar
90aadd944a Update changelog 2017-01-03 10:03:53 -06:00
Lance Edgar
8e9ceb8723 Add get_received_quantity() convenience method for purchasing batch 2017-01-02 12:30:33 -06:00
Lance Edgar
011579d326 Add PurchaseCredit.product_discarded, method for making credits from batch 2016-12-30 12:32:18 -06:00
Lance Edgar
c29a08d318 Update changelog 2016-12-30 07:57:58 -06:00
Lance Edgar
ae41975dd3 Tweak purchase batch handler to allow customizing how row totals are refreshed 2016-12-30 07:47:46 -06:00
Lance Edgar
32976df8d0 Add Purchase.po_line_number for improved PO update support 2016-12-30 07:47:14 -06:00
Lance Edgar
5ba9ac8e47 Update changelog 2016-12-20 16:58:47 -06:00
Lance Edgar
81fdea95b6 Allow custom logic for unit cost cost; tweak enum for 'ordering' batch type 2016-12-20 16:08:44 -06:00
Lance Edgar
e5ba14e089 Disable some more importing tests...
Geez man this is ridiculous
2016-12-19 13:50:51 -06:00
Lance Edgar
230a4cc03e Disable some tests, for now at least...
These just refuse to pass consistently on buildbot, and they're probably
not very good tests anyway...
2016-12-19 13:46:45 -06:00
Lance Edgar
ad06d1836b Update changelog 2016-12-19 13:37:13 -06:00
Lance Edgar
6b00786bff Fix importer method signature 2016-12-19 12:20:23 -06:00
Lance Edgar
c4df33e331 Tweak log message for importer results 2016-12-19 12:20:23 -06:00
Lance Edgar
7b78458b87 Update changelog 2016-12-17 00:56:14 -06:00
Lance Edgar
a6b4d039b1 Disable some problematic tests...
What the F man..
2016-12-16 21:22:46 -06:00
Lance Edgar
bfd89f0879 More tox.ini tweaks, yay 2016-12-16 21:09:12 -06:00
Lance Edgar
82a06bd44f Tweak tox.ini again... 2016-12-16 21:07:14 -06:00
Lance Edgar
ccee03c651 Tweak tox.ini to simplify a bit 2016-12-16 21:04:05 -06:00
Lance Edgar
6dd3821c88 Use decimal for case/unit quantities in handheld/inventory batches 2016-12-16 16:19:36 -06:00
Lance Edgar
3ed5ef5f4e Update changelog 2016-12-16 12:43:42 -06:00
Lance Edgar
6fc055609d Improve logic some more, for importing ProductCost.preference 2016-12-15 18:42:40 -06:00
Lance Edgar
b1d761c404 Fix logic for importing 'preferred' pseudo-field for ProductCost 2016-12-15 16:30:52 -06:00
Lance Edgar
c6e818d9d5 Add Product.scancode and uom_abbreviation to schema 2016-12-15 15:09:48 -06:00
Lance Edgar
fa13c62e0c Add basic support for "extension fields" to ProductImporter
This probably needs to get moved upward in the chain, if useful.

This commit also tweaks the caching of category data for product import
2016-12-14 22:05:46 -06:00
Lance Edgar
3d6ee12c0f Clean up Product model code a bit 2016-12-14 22:05:29 -06:00
Lance Edgar
874ba69813 Add Importer.progress_loop() convenience method 2016-12-14 22:04:46 -06:00
Lance Edgar
6055b9e3e8 Tweak purchase batch handler logic to account for "product not found" 2016-12-13 22:24:22 -06:00
Lance Edgar
fbde295e9c Add db.util.make_full_description() convenience function 2016-12-13 22:23:56 -06:00
Lance Edgar
74e1923985 Add empty_zero kwarg for util.pretty_quantity() 2016-12-13 22:23:29 -06:00
Lance Edgar
423c26c09e Update changelog 2016-12-12 15:23:16 -06:00
Lance Edgar
db027b30d9 Tweak some things to make older SQLAlchemy happy
These changes didn't seem to have any negative effects with new SA either
2016-12-12 12:16:23 -06:00
Lance Edgar
905609ae00 Add model title for datasync changes 2016-12-11 21:19:41 -06:00
Lance Edgar
53f682ddd3 Add User.get_short_name() convenience method 2016-12-11 17:57:56 -06:00
Lance Edgar
c4135ca222 Update changelog 2016-12-11 10:50:12 -06:00
Lance Edgar
ecf9382fd2 Add config for feedback email, let config dictate that's the only one sent
Mostly for sake of demo mode, but maybe useful elsewhere?
2016-12-10 14:53:29 -06:00
Lance Edgar
7fb4728806 Remove email configs for tempmon
Those now live in rattail-tempmon
2016-12-10 14:13:58 -06:00
Lance Edgar
0f2cf3f3f7 Add way to prevent [STAGE] prefix magic when editing in tailbone 2016-12-10 14:13:32 -06:00
Lance Edgar
f5eef15cf1 Use 'rattail.emails' as fallback for tailbone view 2016-12-10 14:13:08 -06:00
Lance Edgar
5a27d42bf2 Update changelog 2016-12-10 12:48:39 -06:00
Lance Edgar
9dfa1d7d9d Remove tempmon mail templates
Those are now in rattail-tempmon instead
2016-12-10 12:43:34 -06:00
Lance Edgar
661713ff42 Add from_utc arg to time.localtime() function 2016-12-10 12:43:18 -06:00
Lance Edgar
b5b9feed44 Update changelog 2016-12-10 09:20:04 -06:00
Lance Edgar
ebb395a11e Add PurchaseCredit and friends to schema
Also allow missing cost when refreshing purchase batch row
2016-12-10 09:05:21 -06:00