Commit graph

284 commits

Author SHA1 Message Date
Lance Edgar 6072a359fd fix: avoid deprecated base class for config extension 2024-08-16 10:14:07 -05:00
Lance Edgar 802c8ab87b fix: work around, log error when datasync can't locate member 2024-08-14 09:12:32 -05:00
Lance Edgar c3441f700d fix: improve core-office anonymize command logic
- prefer setting `custdata` names over `meminfo`
- use custdata name for basis of `meminfo.email`
- use "real" random zipcode
- fix attr assignment for `meminfo.zip`
2024-08-10 12:00:48 -05:00
Lance Edgar 339c718b32 fix: fix DELETE triggers for meminfo, employees
whoops not sure how those got missed
2024-08-06 11:41:02 -05:00
Lance Edgar 6cece2c41e fix: avoid deprecated AppProvider.load_object() method 2024-07-18 08:32:45 -05:00
Lance Edgar b7ad6ba37f fix: fix CORE op model reference 2024-07-14 08:36:41 -05:00
Lance Edgar 345d5348c3 fix: refactor config.get_model() => app.model
per rattail changes
2024-07-13 09:52:53 -05:00
Lance Edgar 03bc03c9b8 fix: avoid error when CORE API gives record with no upc 2024-07-10 10:22:46 -05:00
Lance Edgar 1adf3cece0 fix: add logic to auto-create user for CORE POS cashier login
config can now declare two things:

- whether to auto-create users (if needed) when CORE login succeeds
- which role the auto-created users should be assigned to

this is designed for usage with WuttaPOS, so existing/active cashiers
in CORE can login to WuttaPOS with minimal friction
2024-07-04 21:37:23 -05:00
Lance Edgar e56cdf1802 fix: fix employee status when importing from CORE API 2024-07-04 21:33:38 -05:00
Lance Edgar 1b04b4097c fix: add Employee support for CORE API -> Rattail import/datasync 2024-07-04 18:29:05 -05:00
Lance Edgar 4752409a45 fix: misc. improvements for CORE API importer, per flaky data
handle some edge cases better; let config dictate whether some
warnings should be logged etc.
2024-07-04 13:23:51 -05:00
Lance Edgar dca2c1bfe2 fix: add command to install mysql triggers for CORE office_op DB
for use with datasync.  this also adds datasync support for
ProductCost preference
2024-07-03 18:25:18 -05:00
Lance Edgar 2f22be6e7e fix: improve ProductCost sorting for import from CORE API
this hopefully ensures a more consistent preference order, fewer diffs
2024-07-02 22:44:55 -05:00
Lance Edgar eb9a1ae4f0 fix: include person_uuid for Member import from CORE API
so we correctly associate Customer / Person / Member
2024-07-02 13:58:47 -05:00
Lance Edgar d2c8274afd fix: avoid deprecated function for get_engines() config 2024-07-01 22:11:00 -05:00
Lance Edgar b903cf97fa fix: remove legacy command definitions 2024-07-01 12:35:47 -05:00
Lance Edgar 06c38c0ce2 feat: switch from setup.cfg to pyrpoject.toml + hatchling 2024-06-10 16:09:22 -05:00
Lance Edgar 7dd249a38a Update changelog 2024-05-29 10:12:26 -05:00
Lance Edgar ea147e8c0d Add typer equivalents for rattail commands 2024-05-16 19:16:08 -05:00
Lance Edgar 93c7b254a3 Migrate the crepes commands to use typer 2024-05-15 23:12:49 -05:00
Lance Edgar 2b0ca89fb8 Migrate the core-office commands to use typer 2024-05-15 23:01:26 -05:00
Lance Edgar 98e8e8128d Migrate the trainwreck commands to use typer 2024-05-15 20:49:14 -05:00
Lance Edgar 76b183676d Misc. fixes for CORE API -> Theo importers
based on a certain sample data set, not sure why these didn't come up
before?  oh well
2024-05-09 20:52:08 -05:00
Lance Edgar 421a58efc2 Add get_model_office_arch() method for corepos handler 2024-05-08 20:14:33 -05:00
Lance Edgar 8eb097867e Add basic support for importing from CSV to office_arch.bigArchive
still requires CSV file header column names to match the SA model,
and *not* the underlying mysql names
2024-05-08 14:54:16 -05:00
Lance Edgar db8f872eef Update changelog 2024-01-17 11:27:50 -06:00
Lance Edgar f07c767826 Truncate "blue line" text if necessary when updating CORE 2024-01-17 11:26:42 -06:00
Lance Edgar e332872f46 Update changelog 2023-11-30 15:17:47 -06:00
Lance Edgar 17e08c9f3c Update changelog 2023-11-18 12:12:20 -06:00
Lance Edgar e6c1b2d9ba Add function for writing value to fannie config file 2023-11-18 12:11:39 -06:00
Lance Edgar ebef0f6be1 Update changelog 2023-11-15 11:43:37 -06:00
Lance Edgar 439bd50deb Add account_holder_full_name for CORE -> Rattail customer import 2023-11-15 11:38:33 -06:00
Lance Edgar 5fa28a1843 Update changelog 2023-11-05 18:16:03 -06:00
Lance Edgar e37146d796 Add corepos handler method to make arch session 2023-11-05 18:15:30 -06:00
Lance Edgar dd68081f9e Update changelog 2023-11-05 14:15:52 -06:00
Lance Edgar 1004c63e37 Equity batch rows should really get deleted
and not just marked for such.  this is because in some cases equity
payments must be "merged" and therefore some must be deleted, which
requires there be no references to them e.g. in batches
2023-11-05 14:13:22 -06:00
Lance Edgar 295c20d61f Update changelog 2023-11-01 08:16:26 -05:00
Lance Edgar 81e5837e10 Make POS batch write more accurate dtransactions
still not complete by any means, but basics should work correctly now
2023-10-20 14:37:52 -05:00
Lance Edgar b6e21f52ee Import Store, ProductCost from CORE DB
and tweak API importer accordingly
2023-10-20 14:37:25 -05:00
Lance Edgar 67861522eb Import the Product.not_for_sale flag from CORE-POS 2023-10-19 19:13:22 -05:00
Lance Edgar 5ac3a3d82c Import product sale pricing from CORE
this almost certainly needs improvements for POS sake
2023-10-18 21:28:17 -05:00
Lance Edgar b60cfa777f Update changelog 2023-10-15 17:55:33 -05:00
Lance Edgar 98da72ea14 Avoid false match when importing equity payments from CORE 2023-10-15 17:54:46 -05:00
Lance Edgar a598796618 Update changelog 2023-10-14 17:48:15 -05:00
Lance Edgar 2f3926f899 Include person_uuid when importing members from CORE DB
otherwise can cause duplicate person records, e.g. if customers also
are imported from CORE
2023-10-14 17:46:49 -05:00
Lance Edgar 4ce7d3293e Update changelog 2023-10-12 10:40:05 -05:00
Lance Edgar d08c475223 Add customer, member importers from CORE DB
API is just not cutting it, need more flexibility
2023-10-12 10:34:46 -05:00
Lance Edgar 124a510c17 Import tax rate, food stamp flag for departments from CORE 2023-10-11 18:36:51 -05:00
Lance Edgar 8929d678fa Avoid error if CORE has invalid products.tax FK 2023-10-08 17:35:46 -05:00