Commit graph

2622 commits

Author SHA1 Message Date
Lance Edgar d160a7c965 Update changelog 2020-08-10 19:36:52 -05:00
Lance Edgar aec5ec559f Grow column for permission name 2020-08-10 19:35:48 -05:00
Lance Edgar 46dfb3f4de Add basic TXT template for user feedback emails
hopefully compatible with systems which support markdown..we'll see
2020-08-10 15:35:25 -05:00
Lance Edgar 6c8932be4d Tweak how/when we set "manually priced" status for pricing batch rows 2020-08-09 16:17:14 -05:00
Lance Edgar 2b2a27bf6a Add PricingBatchRow.old_true_margin column to schema 2020-08-09 15:50:02 -05:00
Lance Edgar 7708f1574e Update changelog 2020-08-09 15:05:16 -05:00
Lance Edgar e7ad5c1fdd Add association proxy for Employee.users 2020-08-09 14:43:56 -05:00
Lance Edgar 0590399cf9 Fix encoding bugs on python 2 2020-08-02 22:13:16 -05:00
Lance Edgar 409cbc2b5b Add first_email(), first_phone() etc. for ContactMixin 2020-08-02 19:10:10 -05:00
Lance Edgar 42d20a7c0b Add data models for "customer order" batches 2020-08-02 19:10:07 -05:00
Lance Edgar b44f45b8fd Add new base classes for customer order/item models
so that we can batch things out next
2020-08-01 23:29:19 -05:00
Lance Edgar e1f58209d4 Always import the data model early, when running commands
had a situation where an association proxy didn't get wired up b/c even though
a custom data model was configured, it ultimately wasn't imported before a CORE
API -> Rattail data import run, which needed some extension (PK) fields
2020-07-30 21:12:48 -05:00
Lance Edgar a1e93923e6 Update changelog 2020-07-30 18:13:15 -05:00
Lance Edgar 71811e560d Add base classes for "purging" subcommands
hopefully solves a common pattern...
2020-07-30 18:12:51 -05:00
Lance Edgar 637b9a3266 Update changelog 2020-07-29 21:57:50 -05:00
Lance Edgar f7aa709ae0 Add BatchHandler.do_delete() method 2020-07-29 01:38:43 -05:00
Lance Edgar d0deae5dd3 Add BatchHandler.delete_extra_data() method
and update related logic to use it etc.
2020-07-29 01:22:50 -05:00
Lance Edgar e16175fbe1 Update changelog 2020-07-29 00:10:38 -05:00
Lance Edgar f85e80043c Be smarter about deleting rows, when deleting batch
this seems to be more efficient than the previous attempt...
2020-07-29 00:09:53 -05:00
Lance Edgar 11a1c8ca07 Update changelog 2020-07-28 20:42:26 -05:00
Lance Edgar b14789a105 Tweak logic for purging batches to avoid warnings, duplicate progress
must make sure the row is "detached" from the batch before deleting it,
otherwise SQLAlchemy warns about incorrect number of rows being deleted
2020-07-28 20:30:56 -05:00
Lance Edgar 65330c5cae Update changelog 2020-07-26 14:01:04 -05:00
Lance Edgar c07c9d3fb4 Log info instead of debug, to show count of problems found 2020-07-24 14:09:10 -05:00
Lance Edgar 06ea22ae58 Add cache_model() convenience method for problem reports 2020-07-20 16:19:49 -05:00
Lance Edgar 3d85857ea1 Fix a test per recent importer change 2020-07-19 20:11:14 -05:00
Lance Edgar 47134ca747 Add can_delete_object() method for importers 2020-07-19 18:51:36 -05:00
Lance Edgar 360f99ae2f Let config define arbitrary kwargs for datasync watcher 2020-07-09 16:59:56 -05:00
Lance Edgar 60c52f1c40 Remove unused "fablib" line from manifest 2020-07-07 20:43:17 -05:00
Lance Edgar 69ecb3a19e Don't create empty department, when importing subdepartment
i.e. if department_number is null
2020-07-06 21:07:45 -05:00
Lance Edgar 8128747085 Grow Product.item_id to allow 50 chars
surely that's big enough...
2020-06-29 16:56:29 -05:00
Lance Edgar c7617c2b10 Update changelog 2020-06-18 14:04:24 -05:00
Lance Edgar 14d3c74220 Add email_output() method for report handler, plus common template 2020-06-18 13:56:44 -05:00
Lance Edgar 2f705ac720 Use OrderedDict in some importer tests, for consistency
otherwise python2 can bite us sometimes
2020-06-16 17:17:55 -05:00
Lance Edgar d4ce9177ea Use OrderedDict in some importer tests, for consistency
otherwise python2 can bite us sometimes
2020-06-16 17:10:42 -05:00
Lance Edgar 4b039570fe Use python3 for coverage, docs via tox 2020-06-16 16:53:54 -05:00
Lance Edgar 21172121aa Add a test for config.parse_list() with single quotes 2020-06-16 16:40:36 -05:00
Lance Edgar ebd65a8ef9 Remove 'fixture' use within tests; plus fix some tests 2020-06-16 16:39:41 -05:00
Lance Edgar 8a6c147cf4 Update changelog 2020-05-28 12:20:43 -05:00
Lance Edgar a095f14eea Add some indexes, to optimize profile view 2020-05-28 12:08:49 -05:00
Lance Edgar 1c75fc05a0 Add require kwarg for Person.only_customer() method 2020-05-20 19:08:28 -05:00
Lance Edgar b7d073d1d1 Update changelog 2020-05-20 15:52:08 -05:00
Lance Edgar d1ec6389b1 Add "safe" param logic for decimal report params 2020-05-19 12:40:53 -05:00
Lance Edgar c0ebe243df Add "shelved" flag for pricing batches 2020-05-18 14:41:50 -05:00
Lance Edgar 92df60b5f8 Update changelog 2020-04-17 12:17:30 -05:00
Lance Edgar 6bfc0ba59f Change method call to allow for simpler signature 2020-04-15 20:52:18 -05:00
Lance Edgar b4475a584c Add generic FromFile importer base class 2020-04-15 19:14:38 -05:00
Lance Edgar bbb76c500f Add support for extra header rows, for Excel reader
data doesn't always start right after main header row
2020-04-15 19:12:27 -05:00
Lance Edgar 0a1e9d1229 Update changelog 2020-04-06 13:16:41 -05:00
Lance Edgar b5d343c6ce Add setting to disable old/legacy jQuery mobile app 2020-04-04 20:52:04 -05:00
Lance Edgar d26c67fabc Add "quick entry" logic for inventory batch handler
moved from tailbone
2020-03-29 15:20:19 -05:00