Commit graph

3270 commits

Author SHA1 Message Date
Lance Edgar bb2d1cca60 Replace "importing" docs overview w/ link to rattail-manual 2021-07-21 18:27:47 -05:00
Lance Edgar 193ec4b194 Update changelog 2021-07-21 14:51:27 -05:00
Lance Edgar b105addc6d Add special datasync logic for product/price associations
i.e. for rattail -> rattail export, when a product *loses* its current
price, only the product changes, but we don't normally sync those
price uuid fields.  but now we can...though it remains to be seen if
this is sufficient or still can break somehow
2021-07-21 14:43:35 -05:00
Lance Edgar c2a292c42b Raise error if unknown product scanned for inventory
unless of course the batch can contain unknown products
2021-07-21 10:45:41 -05:00
Lance Edgar f7c3c8543d Update changelog 2021-07-15 14:14:27 -05:00
Lance Edgar 26b8718dc5 Auto-expand delproduct batch to include unit + all packs
also add `pack_size` for batch rows
2021-07-15 14:12:15 -05:00
Lance Edgar aac6f08690 Update changelog 2021-06-18 17:52:04 -05:00
Lance Edgar 4ccdbcfbf5 Exclude suggested_price_uuid for rattail->rattail Product import
whoops, missed that one i guess
2021-06-18 17:38:24 -05:00
Lance Edgar 7639305a10 Fix template context for importer diff warning email preview 2021-06-18 13:40:31 -05:00
Lance Edgar d02157b17c Update changelog 2021-06-18 10:19:58 -05:00
Lance Edgar 1b0e8e0d1d Let config set flags for product importing 2021-06-18 10:18:52 -05:00
Lance Edgar c0c2eb1c38 Update changelog 2021-06-18 09:32:12 -05:00
Lance Edgar a3b7c8514b Lower log level when product not found
yikes, just got a ton of email from that little mistake
2021-06-18 09:25:57 -05:00
Lance Edgar d887a58500 Avoid blank upc when caching products 2021-06-18 09:10:31 -05:00
Lance Edgar 471be90261 Update changelog 2021-06-17 20:05:03 -05:00
Lance Edgar ffbb7a6675 Add --no-collect-changes arg for importer commands
to cut down on memory usage, when absolutely necessary
2021-06-17 19:33:07 -05:00
Lance Edgar 046fcaf663 Update changelog 2021-06-11 13:33:37 -05:00
Lance Edgar 21a394a8b1 Small tweaks when generating new project 2021-06-11 13:31:32 -05:00
Lance Edgar 9cf4baeffa Add PeopleHandler.ensure_address() method 2021-06-11 13:30:27 -05:00
Lance Edgar e751f90290 Tweak basic project template, per LOC SMS integration 2021-05-24 16:20:51 -05:00
Lance Edgar d03f4b24ab Fix bug when refreshing single label batch row 2021-05-18 12:46:13 -05:00
Lance Edgar 54badc041f Fix key references in datasync profile constructor
ugh....
2021-05-13 13:14:21 -05:00
Lance Edgar 28475a1a22 Fix config references in datasync profile constructor 2021-05-13 13:10:35 -05:00
Lance Edgar 4fe7188918 Fix how cost diffs are checked for vendor catalog batch
bug was introduced in d0799432f1
2021-05-12 22:44:56 -05:00
Lance Edgar 4dc48c1dd8 Accept extra kwargs for util.capture_output() 2021-05-12 22:27:36 -05:00
Lance Edgar 7a257cc908 Require config and key args for ConfigProfile constructor 2021-05-12 22:27:08 -05:00
Lance Edgar c00025f049 Assume empty string means null, in datetime conversion for CSV import 2021-05-07 12:06:03 -05:00
Lance Edgar 9319b85bbb Update changelog 2021-04-28 17:51:23 -05:00
Lance Edgar 2f73378172 Delay some imports to avoid circular reference 2021-04-28 14:38:37 -05:00
Lance Edgar 05badbb7bc Add batch_id_str() convenience function 2021-04-28 13:59:42 -05:00
Lance Edgar bb650a9287 Add "has inventory" status for delete item batch (rows) 2021-04-28 13:59:38 -05:00
Lance Edgar 1ec7c2289d Only make batch data dir if it doesn't exist
this came up for a batch which had 2 input files
2021-04-27 18:29:35 -05:00
Lance Edgar 7340fcb226 Update changelog 2021-04-27 09:46:13 -05:00
Lance Edgar bb5d13348d Allow "batch importers" to avoid collecting changes for processing
this is for sake of memory consumption, in particular when product images are
exported to file system, when there is never a need for warning email etc.
2021-04-27 09:43:02 -05:00
Lance Edgar b7d494fade Fix tests for python 2.7 2021-04-12 12:24:45 -05:00
Lance Edgar 2a57cb197f Update changelog 2021-04-12 11:51:46 -05:00
Lance Edgar b3e227f5aa Add render_date() method for app handler 2021-04-07 12:29:51 -05:00
Lance Edgar ab90b0d114 Don't use log.warn()
b/c it is deprecated
2021-04-06 15:25:59 -05:00
Lance Edgar 4b664e089f Update changelog 2021-03-30 11:49:27 -05:00
Lance Edgar 4f703ba4ce Freeze version of SQLAlchemy to 1.3.x
we should support 1.4.x ASAP but for now tailbone still requires an older
zope.sqlalchemy which in turn can't handle SA 1.4.x
2021-03-19 12:50:46 -05:00
Lance Edgar a91723d5f5 Only cache departments which have a number
when setting up for delproduct batch activity
2021-03-19 10:38:11 -05:00
Lance Edgar 4059ad33bc Add Store.archived flag to schema 2021-03-19 10:37:36 -05:00
Lance Edgar 59a3f5e9ea Update changelog 2021-03-11 11:48:30 -06:00
Lance Edgar 953bab7d6a Add misc. more fields to base Trainwreck schema 2021-03-09 19:21:38 -06:00
Lance Edgar db0094c00a Add inactivity_months field for delete product batch 2021-03-09 11:43:27 -06:00
Lance Edgar 82fa2cdd73 Fix how rsync excludes are used as fallback for borg backup 2021-03-07 10:17:24 -06:00
Lance Edgar 0cdcef2b2e Better handle cost diff when old value is null, for catalog batch 2021-03-07 10:09:22 -06:00
Lance Edgar 22fafc7382 Create the data/uploads folder when making app dir 2021-03-07 10:08:40 -06:00
Lance Edgar 2d87b84a96 Add trainwreck alembic files to project manifest 2021-03-05 16:28:19 -06:00
Lance Edgar 94aca78c88 Fix preview for user_feedback emails 2021-03-05 15:23:17 -06:00