Commit graph

2622 commits

Author SHA1 Message Date
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
Lance Edgar
ff576a3e8e Improve receiving batch workflows a bit
- allow receiving from invoice file
- populate logic branches according to workflow
- add proper support for populating from PO
2021-01-31 12:08:42 -06:00
Lance Edgar
365399cde6 Let PurchaseBatchHandler define which receiving workflows are supported
the UI still must be responsible for some knowledge of all this, but it helps
to put what we can in the handler...
2021-01-30 19:47:38 -06:00
Lance Edgar
0c5924f5b6 Make handler responsible for possible receiving modes
and make that just look at config by default
2021-01-30 16:55:54 -06:00
Lance Edgar
931a82490b Purge things for legacy (jquery) mobile apps 2021-01-30 15:52:16 -06:00
Lance Edgar
55b9760e9d Misc. reporting tweaks; add "Customer Mailing" sample report 2021-01-30 13:14:50 -06:00
Lance Edgar
6f9a616dec Add render_currency() and render_datetime() for app handler 2021-01-30 13:14:32 -06:00
Lance Edgar
551c30e987 Add BatchHandler.describe_execution() method
give the user more confidence in what's about to happen
2021-01-30 13:08:15 -06:00
Lance Edgar
5809a65a64 Fix PurchaseItem.po_total when creating from ordering batch 2021-01-30 13:06:29 -06:00
Lance Edgar
ac25b435fc Add Purchase.id column to schema
auto-populated from the batch ID sequence
2021-01-30 13:05:30 -06:00
Lance Edgar
0588ee133f Update changelog 2021-01-28 14:55:33 -06:00
Lance Edgar
8949aacd0b Add basic PeopleHandler, for consistently updating names
just to get this logic in one common place, instead of e.g. in web views
2021-01-28 14:30:27 -06:00
Lance Edgar
a707f02fd0 Update changelog 2021-01-27 17:04:24 -06:00
Lance Edgar
c7f33898d4 Let win32 share the 'auth' extra
since it's just passlib now, and that seems to work fine
2021-01-27 16:48:31 -06:00
Lance Edgar
f48a248ee0 Update changelog 2021-01-27 14:15:17 -06:00
Lance Edgar
dfd4fd3b91 Add simple rattail checkdb command
almost certainly needs improvement, but i need it released for sake of testing
Theo dev bootstrap
2021-01-27 14:14:06 -06:00