Commit graph

3398 commits

Author SHA1 Message Date
Lance Edgar
0adfa5a891 Fix str vs. unicode issue for Product model 2017-02-17 17:24:35 -06:00
Lance Edgar
1019ae370d Update changelog 2017-02-16 16:16:55 -06:00
Lance Edgar
16ce5a1708 Fix str() methods for various data models
per py3k effort
2017-02-16 16:15:18 -06:00
Lance Edgar
9ed1a5eaf4 Update changelog 2017-02-15 14:15:22 -06:00
Lance Edgar
0566fc73ff Remove unwanted Object.__str__() method
This was my poor attempt at doing what six does better
2017-02-15 14:07:49 -06:00
Lance Edgar
d5f7df7b63 Update changelog 2017-02-14 20:37:37 -06:00
Lance Edgar
949daf5b2c Add User._messages backref for convenience 2017-02-13 19:51:19 -06:00
Lance Edgar
06c63122f2 Add global NOTSET singleton 2017-02-13 19:22:59 -06:00
Lance Edgar
7f7fec4e82 Add ExportMixin and file path getters on config object 2017-02-12 16:07:21 -06:00
Lance Edgar
fecf306409 Update changelog 2017-02-11 19:08:34 -06:00
Lance Edgar
207e98417d Add pretty_hours() and hours_as_decimal() to util module 2017-02-11 17:45:39 -06:00
Lance Edgar
2cbbf4a89e Update changelog 2017-02-10 14:42:34 -06:00
Lance Edgar
9c4eeb2341 Remove broken test (which didn't do much anyway) 2017-02-10 12:51:27 -06:00
Lance Edgar
f718abdc49 Tweak str() output for DepositLink 2017-02-10 12:46:55 -06:00
Lance Edgar
44e409fa46 Add special importer logic for '_deleted_' flag
If the host data for a given record contains a '_deleted_' flag which is
effectively true (i.e. bool(host_data['_deleted_']) == True) then the
importer will *not* create a new "local" object for the record, but
otherwise will still update any existing local object.  This '_deleted_'
field need not be declared by the importer, support is automatic.
2017-02-10 10:01:40 -06:00
Lance Edgar
fcfdbdfc72 Make DepositLink.code a string 2017-02-10 10:01:28 -06:00
Lance Edgar
3f1e043559 Add ProductPrice.active_now() convenience method 2017-02-09 20:41:29 -06:00
Lance Edgar
2b2d738da9 Update changelog 2017-02-09 19:00:29 -06:00
Lance Edgar
025731d8a2 Remove tests for deprecated db.sync module
Need to just get rid of that module at some point..
2017-02-08 15:32:33 -06:00
Lance Edgar
0a59db38e6 Add unit/pack concept to Product schema, make Tax.code a string 2017-02-08 15:28:33 -06:00
Lance Edgar
5ba0018d28 Add RattailConfig.get_store() convenience method 2017-02-04 15:19:51 -06:00
Lance Edgar
de61364c8e Add basic str() method for WorkedShift model 2017-02-04 12:25:57 -06:00
Lance Edgar
c182ee80e2 Update changelog 2017-02-03 16:54:27 -06:00
Lance Edgar
76d333a346 Add User.is_admin() convenience method 2017-02-02 21:43:27 -06:00
Lance Edgar
997145200b Add vendor column to pricing batch rows
Seems helpful for reference...
2017-02-02 15:33:36 -06:00
Lance Edgar
572a963be1 Add 'warn_only' flag for fablib.ssh.cache_host_key()
Turns out we don't really need to fully connect via SSH, to achieve our
goal of caching the host key..
2017-02-02 12:55:49 -06:00
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