Commit graph

292 commits

Author SHA1 Message Date
Lance Edgar cb63644c7d Add support for Rattail -> CORE export/sync for Member data
also refactor CORE -> Rattail logic to use `api.set_member()` etc.
2020-03-17 16:29:35 -05:00
Lance Edgar 8d47a1449c Add core_office_customer_account_url() convenience/config function 2020-03-17 12:46:13 -05:00
Lance Edgar 35c74ff996 Add data version importers for CorePerson, CoreVendor 2020-03-16 20:44:22 -05:00
Lance Edgar 8f9f77b6b7 Add proper importing for Customer/Person data from CORE API
includes datasync support.  i think it even works right, but we'll see
2020-03-16 19:45:54 -05:00
Lance Edgar 4a409bb80a Add new CorePerson data model, for use with customer sync 2020-03-16 16:57:07 -05:00
Lance Edgar 29166f4b1e Rename the old CORE Customer model, to CustData
it now has a new Customer model, so we use that where we can
2020-03-16 16:56:42 -05:00
Lance Edgar fe986f8e4d No need to convert cardNo to an int, since it already is 2020-03-16 16:05:48 -05:00
Lance Edgar 85c45ef57e Tweak CORE DB -> Rattail for Product, to match CORE API -> Rattail 2020-03-16 15:44:41 -05:00
Lance Edgar 36b8afb03b Add support for Customer data in CORE API -> Rattail import/sync 2020-03-15 19:29:47 -05:00
Lance Edgar c44dba6456 Fall back to empty string for some product fields, in Rattail -> CORE 2020-03-15 16:03:24 -05:00
Lance Edgar cd93d3e36b Add support for Department, Subdepartment, Product in Rattail -> CORE API 2020-03-15 15:54:15 -05:00
Lance Edgar ab8894ef0d Add importer, datasync for CORE-POS (API) -> Rattail 2020-03-15 14:28:22 -05:00
Lance Edgar 9aefbc872e Rename rattail import-corepos command to import-corepos-db
to prepare for `import-corepos-api`
2020-03-15 12:37:31 -05:00
Lance Edgar ffd451a700 Add convenience function for core_office_url() config 2020-03-14 18:38:12 -05:00
Lance Edgar af1e38aa18 Oerhaul the Vendor import/export between Rattail and CORE
also, add new DB schema specific to this integration, to hold PKs etc.
2020-03-04 19:05:55 -06:00
Lance Edgar f9071ac6e9 Remove DB-related things from the Rattail -> CORE datasync consumer
since that should only use API, going forward
2020-03-04 13:29:47 -06:00
Lance Edgar 4180382250 Add support for phone, fax, email in Rattail -> CORE export 2020-03-04 13:05:20 -06:00
Lance Edgar 75ba08b9fc Move "direct DB" CORE importer logic, to subpackage
i.e. `rattail_corepos.corepos.importing.db` is now the place for direct DB
importers, and `rattail_corepos.corepos.importing` will become the place for
proper API-based importers
2020-03-03 23:25:37 -06:00
Lance Edgar 0298e63384 Add initial Rattail -> CORE-POS export logic
only allows "update" for Vendor model so far.  more to come after testing...
2020-03-03 21:45:11 -06:00
Lance Edgar 6f03461114 Add datasync watcher for trigger-populated "changes" table in CORE 2020-03-01 20:00:45 -06:00
Lance Edgar caef131d7c Prefer null over empty string, for vendor contact info 2020-03-01 19:59:22 -06:00
Lance Edgar 68a0781795 Use twine to upload released package to PyPI 2020-02-27 21:56:42 -06:00
Lance Edgar ba313b211e Update changelog 2020-02-27 21:55:14 -06:00
Lance Edgar dcb3326026 Officially stop supporting Python 2.x
can refactor actual code later as needed
2020-02-27 21:55:04 -06:00
Lance Edgar c016c6aa6e Set regular price type when importing CORE -> Rattail 2020-02-27 21:53:21 -06:00
Lance Edgar 2b8478ef0b Fallback to default handler when no config available
e.g. when showing help for the command
2020-02-27 21:52:50 -06:00
Lance Edgar fa1e0c93e2 Provide default node title for CSV export
no need to throw an error if config doesn't define one
2019-10-28 01:26:47 -05:00
Lance Edgar 131e5d7c1f Add importer models for MemberDate, MemberContact 2019-10-25 16:30:18 -05:00
Lance Edgar aa356b652e Cleanup attribute names for CORE MemberInfo model 2019-10-25 15:33:57 -05:00
Lance Edgar e76aa9a966 Change the sections used for corepos db config 2019-10-10 20:13:39 -05:00
Lance Edgar 8da0f1b17f Cleanup attribute names for CORE Employee model 2019-08-14 21:02:46 -05:00
Lance Edgar c88277f478 Cleanup attribute names for CORE Product model 2019-08-14 20:48:05 -05:00
Lance Edgar 66fce9b066 Remove unused attribute 2019-07-30 23:30:19 -05:00
Lance Edgar 0b1a8f9617 Add basic crepes import-csv command, for CSV -> CORE import 2019-07-29 15:33:05 -05:00
Lance Edgar 83b1f93d99 Add crepes export-csv command, for data export to CSV files 2019-07-29 12:09:56 -05:00
Lance Edgar 9d2411bccb Add commands for import/export of data between CORE systems
just a staring point for now, only "operational" data for the most part
2019-07-28 14:52:50 -05:00
Lance Edgar 9ede5b339d Cleanup attribute names for CORE Subdepartment model 2019-07-25 16:14:24 -05:00
Lance Edgar 2a37bb5a49 Cleanup attribute names for CORE Department model 2019-07-23 19:44:32 -05:00
Lance Edgar bfb6a4c7ec Tweak vendor importer per renamed attributes 2019-07-18 09:44:51 -05:00
Lance Edgar fcd3c6e49d Add "import batch" support for Square -> CORE-POS (TransactionDetail) 2018-11-22 20:36:27 -06:00
Lance Edgar 4193503719 Add basic transaction importer for Square -> CORE-POS 2018-11-22 16:47:03 -06:00
Lance Edgar 810d4726c3 Initial commit 2018-06-01 15:14:49 -05:00