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
Lance Edgar
6802b16f68
Update changelog
2021-03-05 12:50:37 -06:00
Lance Edgar
7d88e2d0fc
Add date_created
field for "delete product" batch row
...
can help avoid deleting "new" items
2021-03-05 12:49:38 -06:00
Lance Edgar
da73c89a2e
Use rsync include/exclude config as fallback for borg
...
since up til now that was the only config used
2021-03-05 09:47:23 -06:00
Lance Edgar
f81d6022eb
Let include/exclude lists differ for rsync vs. borg, in backup command
...
also let rsync run before (default) or after borg
2021-03-05 09:30:55 -06:00
Lance Edgar
e3b9b60269
Update changelog
2021-03-02 09:29:11 -06:00
Lance Edgar
bff25170ad
Add "pending customer orders" status for delete product batch row
2021-03-01 17:34:04 -06:00
Lance Edgar
ed9e898734
Move some enum values to rattail-onager
2021-02-24 17:00:01 -06:00
Lance Edgar
d54e7b7f6e
Update changelog
2021-02-19 13:57:06 -06:00
Lance Edgar
14f12d0288
Add "full" support for Trainwreck <-> Trainwreck import/export commands
2021-02-19 13:55:11 -06:00
Lance Edgar
041cd8ef63
Add trainwreck enum entry for CORE-POS
2021-02-18 20:02:18 -06:00
Lance Edgar
ee4a29bca0
Update changelog
2021-02-18 11:49:55 -06:00
Lance Edgar
dd10594b9a
Add proper "default" model for Trainwreck
...
custom app can still define a custom model but now they don't have to. alembic
versions are managed for default model. this also adds default model support
for basic trainwreck importers
2021-02-17 20:16:28 -06:00
Lance Edgar
d0799432f1
Misc. tweaks for vendor catalog batch
...
- add vendor_id, vendor_name to allow for non-native vendor association
- make common logic for calculating cost diff, status per row
2021-02-15 12:53:37 -06:00
Lance Edgar
b650766992
More improvements to "delete products" batch
...
to handle some common logic
2021-02-13 12:29:08 -06:00
Lance Edgar
6a5355b430
Describe execution for generic handheld batch
2021-02-12 16:26:34 -06:00
Lance Edgar
64ce890850
Describe execution for generic product batch
2021-02-12 15:57:07 -06:00
Lance Edgar
61e29b8076
Update changelog
2021-02-10 17:48:50 -06:00
Lance Edgar
bc6e3344c1
Relax validation of phone numbers a bit
...
that old formencode logic is just not what we want apparently. it was crying
foul for a string like '(xxx) yyy-zzzz' ..sheesh
2021-02-10 17:45:22 -06:00
Lance Edgar
e47bd96e2b
Update changelog
2021-02-10 11:52:26 -06:00
Lance Edgar
da72619843
Fix some log messages
...
had mixed formatting styles in one of those...
2021-02-09 14:19:17 -06:00
Lance Edgar
8ccff33803
Always use versioning workarounds for vendor catalog batches
...
also stop setting "legacy" update status for rows
2021-02-09 13:45:19 -06:00
Lance Edgar
48dd7445c9
Fix execution description for purchase batches
...
we are rendering these as markdown, so whitespace matters
2021-02-09 13:36:15 -06:00
Lance Edgar
b01a99bf7a
Add XLSX-flavored ExcelReader class
...
how on earth have we got by without that until now?
2021-02-09 13:35:36 -06:00
Lance Edgar
8117f54790
Rename tables for purchase batches
...
`purchase_batch` => `batch_purchase`
also fixes FK constraint name for e.g. `purchase_fk_buyer`
2021-02-05 19:55:12 -06:00
Lance Edgar
73a583dda9
Update changelog
2021-02-04 11:00:34 -06:00
Lance Edgar
6dd46ed308
Add BatchHandler.is_mutable()
...
should have added this a long time ago probably..
2021-02-02 18:57:29 -06:00
Lance Edgar
a1d895a74c
Rename tables for customer order batches
...
`custorder_batch` => `batch_custorder`
2021-02-02 15:55:16 -06:00
Lance Edgar
88b7c987fb
Rename tables for label batches
...
`label_batch` => `batch_labels`
2021-02-02 15:55:14 -06:00
Lance Edgar
8baedcbd43
Rename tables, models for vendor invoice batches
...
`vendor_invoice` => `batch_vendorinvoice`
2021-02-02 15:55:10 -06:00
Lance Edgar
8ff8843040
Rename tables, models for vendor catalog batches
...
`vendor_catalog` => `batch_vendorcatalog`
2021-02-02 15:55:07 -06:00
Lance Edgar
01907564b5
Add make_temp_dir()
and make_temp_path()
for app handlers
2021-02-01 17:15:03 -06:00
Lance Edgar
3d63e01709
Update changelog
2021-02-01 13:57:16 -06:00
Lance Edgar
26928bc0d1
Add ProductsHandler.get_image_url()
etc.
...
plus misc. tweaks for sake of new "scanning" feature for ordering batches
2021-01-31 20:32:14 -06:00