Commit graph

2398 commits

Author SHA1 Message Date
Lance Edgar 2c551f0653 Update changelog 2019-09-10 17:59:24 -05:00
Lance Edgar c0b59ec476 Add basis for a trainwreck prune command, to prune old data
i.e. from the 'default' database typically, after it's been exported to the
appropriate 'year' database
2019-09-10 17:56:42 -05:00
Lance Edgar 3098cf9b98 Update changelog 2019-09-09 18:28:08 -05:00
Lance Edgar cb69857135 Suppress output when checking for existence of psql
for `rattail backup` command
2019-09-07 18:41:37 -05:00
Lance Edgar df339e651c Tweak command help for rattail backup
to clarify that you can still "exclude" things from rsync, even if you also
specify what to "include"
2019-09-05 20:08:18 -05:00
Lance Edgar 68da94e184 Check existence of psql command before using it, for backups 2019-09-05 17:54:08 -05:00
Lance Edgar 3e376bbc79 Preserve "zeroes" when converting handheld batch to inventory batch
i.e. don't convert zero values to None, for the new batch
2019-09-04 10:36:53 -05:00
Lance Edgar 32d4f725c7 Tweak output of str(MailingAddress)
for the case where city and state are the only fields set
2019-08-25 16:16:15 -05:00
Lance Edgar 2947746f0a Make the Customer model use ContactMixin 2019-08-25 16:01:48 -05:00
Lance Edgar 118e28cc59 Remove some web templates from project scaffold
overriding those is still okay but no longer "recommended" by default
2019-08-17 19:02:45 -05:00
Lance Edgar b65f2117fd Make sure new projects declare support for Python 3 (only) 2019-08-17 02:08:43 -05:00
Lance Edgar 6ed439c835 Add some inter-doc links 2019-08-14 23:24:49 -05:00
Lance Edgar a33bee0ba4 Update changelog 2019-08-04 19:12:08 -05:00
Lance Edgar b10e991344 Add ContactMixin class to consolidate handling of phone/email/address
probably needs some polishing yet, but a start
2019-08-03 19:57:37 -05:00
Lance Edgar 7b957d5796 Tweak a docstring 2019-07-31 12:30:32 -05:00
Lance Edgar db7a715cc1 Update changelog 2019-07-30 18:59:56 -05:00
Lance Edgar 33f0cfffcf Add basic support for rattail import-csv command
not sure how useful this will be yet, but seems promising for sample data anyway
2019-07-29 15:32:43 -05:00
Lance Edgar 2fcfae6948 Make CSV export logic more generic, so can share
i.e. now we use it for a CORE -> CSV export
2019-07-29 12:08:05 -05:00
Lance Edgar cd036dcb0b Change progress message when caching local data for importer 2019-07-29 11:39:20 -05:00
Lance Edgar 3085a87049 Add support for rattail export-csv command
this may need some tweaks yet, but may be complete already?
2019-07-28 22:04:54 -05:00
Lance Edgar e603b174bc Add "from same to same" importer base class
for use when a SQLAlchemy database with same schema is used for both host and
local sides of the importer
2019-07-28 14:49:19 -05:00
Lance Edgar 43eb721122 Fix host and local titles for Trainwreck import/export 2019-07-26 00:30:00 -05:00
Lance Edgar fd00953c9a Add basic support for Trainwreck <-> Trainwreck import/export
although custom project must still define some things w/ glue code
2019-07-25 23:11:24 -05:00
Lance Edgar a587b7bc05 Update changelog 2019-07-13 19:24:53 -05:00
Lance Edgar 3c38088bc7 Add Employee.only_person() convenience method 2019-07-10 22:20:20 -05:00
Lance Edgar d123391042 Update changelog 2019-07-09 15:16:33 -05:00
Lance Edgar bd2b0fb44a Fix main version query, to remove duplicate results
at least, i hope this just fixes that and breaks nothing else...
2019-07-08 19:23:50 -05:00
Lance Edgar f5d8802d9f Stop using deprecated RattailConfig methods
although, in one instance what we're doing now is just as bad probably
2019-07-08 19:08:24 -05:00
Lance Edgar 34a268ceee Add RattailConfig.datadir() convenience method 2019-07-03 12:33:17 -05:00
Lance Edgar e57b52a0f0 Update changelog 2019-06-16 13:27:58 -05:00
Lance Edgar eaa6c2af60 Allow session to define client IP address for data versioning
still use "local machine" as fallback, since e.g. that would make the most
sense for changes introduced from shell commands
2019-06-15 19:01:37 -05:00
Lance Edgar 9c9021a879 Update changelog 2019-06-13 13:46:19 -05:00
Lance Edgar 8fc9a5c553 Add po_total_calculated columns for purchasing batch, row 2019-06-08 13:15:55 -05:00
Lance Edgar 22bd194edb Remove unused import 2019-06-05 14:29:21 -05:00
Lance Edgar 011a4fa086 Fix WinCE batch file parsing per python 3
hopefully didn't break for python 2 either, but less concerned about that now
2019-06-05 14:24:22 -05:00
Lance Edgar 9de789cd5d Copy item ID and UPC when refreshing row for pricing batch
since we're not really responsible for locating product, it seems
2019-05-30 13:17:18 -05:00
Lance Edgar 7787fe653b Update changelog 2019-05-09 17:08:40 -05:00
Lance Edgar b771cfd055 Add cache_model() convenience method for reports 2019-05-09 17:01:55 -05:00
Lance Edgar 11a5070a9c Update changelog 2019-05-09 12:31:52 -05:00
Lance Edgar 90797a64b1 Add support for "totals" row to basic Excel report output
also reorganizes the code a little, for clarity
2019-05-07 17:49:37 -05:00
Lance Edgar ad90449d51 Store report type key and params when generating new report 2019-05-07 17:13:27 -05:00
Lance Edgar 641ba5ab96 Update changelog 2019-05-07 15:00:33 -05:00
Lance Edgar ecf23fd3be Add generic ExcelReport base class 2019-05-06 15:26:09 -05:00
Lance Edgar 2523949825 Update changelog 2019-05-05 20:15:00 -05:00
Lance Edgar 1a0d45dcd7 Add basic support for custom number formats, in Excel writer 2019-05-05 15:07:28 -05:00
Lance Edgar 217efdb94a Update changelog 2019-04-30 20:37:44 -05:00
Lance Edgar e3344ea141 Remove debug print statement 2019-04-29 09:24:19 -05:00
Lance Edgar 42585a9052 Add --kwargs argument for batch execution command line
for passing extra options to the handler when executing
2019-04-29 09:05:58 -05:00
Lance Edgar cafba6f218 Update changelog 2019-04-26 17:04:44 -05:00
Lance Edgar a43d46220a Assign continuum versioning author when executing any batch 2019-04-26 16:58:57 -05:00