Commit graph

283 commits

Author SHA1 Message Date
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 6f7fa65c09 bump: version 0.3.1 → 0.3.2 2024-07-02 01:34:55 -05:00
Lance Edgar d2c8274afd fix: avoid deprecated function for get_engines() config 2024-07-01 22:11:00 -05:00
Lance Edgar 7dde017c58 bump: version 0.3.0 → 0.3.1 2024-07-01 13:59:25 -05:00
Lance Edgar b903cf97fa fix: remove legacy command definitions 2024-07-01 12:35:47 -05:00
Lance Edgar 6ddafa4041 docs: use more specific project homepage url 2024-06-14 19:49:33 -05:00
Lance Edgar 40598d76e8 bump: version 0.2.0 → 0.3.0 2024-06-10 16:09:38 -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 0813f2b7e3 Update subcommand entry point group names, per wuttjamaican 2023-11-21 14:40:18 -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
Lance Edgar dbeed929fc Update changelog 2023-10-07 18:59:56 -05:00
Lance Edgar cf90ca5704 Add importer for tax rates from CORE 2023-10-07 16:28:12 -05:00
Lance Edgar 6ef2e67f76 Rename config section to [corepos.db.office_arch]
to match module rename
2023-10-05 11:53:12 -05:00
Lance Edgar aa1b53d96c Improve the anonymization logic some more
hopefully this scrubs all personal data from a `core_op` DB
2023-10-04 18:52:07 -05:00
Lance Edgar 478126f1e3 Improve the core-office anonymize command somewhat
API is not good enough for this, need to write direct SQL instead

this "mostly" anonymizes `custdata` and `meminfo` but still needs to
also anonymize probably `CustomerAccounts` and `Customers`, as well as
`employees` and possibly others..?
2023-10-03 23:17:09 -05:00
Lance Edgar 117442f8db Add employee importer for CORE -> Rattail, and CORE cashier auth handler 2023-10-01 19:48:52 -05:00