Lance Edgar
dfc39f7d7d
Add 'createdb' flag for fablib.postgresql.create_user()
2017-02-01 19:24:49 -06:00
Lance Edgar
20a670204d
Update changelog
2017-01-30 17:13:02 -06:00
Lance Edgar
935ad21945
Add set_status_per_diff()
for pricing batch handler
...
Once the price is calculated and diff is known, this part can be shared
2017-01-30 17:07:05 -06:00
Lance Edgar
9ab29ebb66
Add min diff threshold for pricing batches
2017-01-30 16:07:13 -06:00
Lance Edgar
9c78f7b487
Update changelog
2017-01-29 11:33:15 -06:00
Lance Edgar
a1c56fd968
Add option for auto-deleting empty batch, when created via filemon
...
This should help to cut down on batch "noise"
2017-01-25 16:26:44 -06:00
Lance Edgar
b6f195b7e1
Add basic support for cloning an existing batch as new batch
...
This likely needs to be made more robust at some point..for now this
should work okay though.
2017-01-24 21:36:08 -06:00
Lance Edgar
4f7b02d3e6
Only install emacs if it not yet installed
...
Sometimes a slightly different method of installation has already
happened, in which case we don't want to override that (e.g. Emacs may
already be installed with X support).
2017-01-20 21:18:32 -06:00
Lance Edgar
9c2577f361
Add postgresql.get_version()
for fabric, etc.
...
Always install python-pkg-resources because that seems to need to
stay installed, and was showing up as autoremove candidate
2017-01-17 19:54:38 -06:00
Lance Edgar
31afd9f982
Update changelog
2017-01-12 14:14:27 -06:00
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