Lance Edgar
e1ba4c6dcd
Add Product.average_weight
to schema
...
for sake of Mercato export
2020-09-02 13:37:31 -05:00
Lance Edgar
f129a1bd48
Ignore bad UPC when reading products from file for label batch
2020-08-23 11:21:40 -05:00
Lance Edgar
6dc1cfd616
Update changelog
2020-08-21 13:16:57 -05:00
Lance Edgar
4c8751269b
Add base pattern logic for Shopfoo data export
2020-08-19 22:11:04 -05:00
Lance Edgar
7cc9ed3c41
Add base data model for "shopfoo" pattern
2020-08-19 20:43:00 -05:00
Lance Edgar
6444e64eb3
Allow override of header row for CSV exporters
2020-08-19 18:11:27 -05:00
Lance Edgar
06afadbe2a
Always try to set `runas_user
` etc. when making an importer
...
er, when it's being made by the handler at least
2020-08-19 17:17:17 -05:00
Lance Edgar
6ac352bc93
Add base classes for Rattail -> Rattail (local) imports
2020-08-19 14:14:55 -05:00
Lance Edgar
1d595b820c
Add --skip-if-empty
flag for rattail run-n-mail
command
2020-08-19 12:42:57 -05:00
Lance Edgar
6999671f5f
Update changelog
2020-08-17 19:27:07 -05:00
Lance Edgar
336ed4ee28
Tweak some logging message wording
2020-08-17 18:04:59 -05:00
Lance Edgar
b27fcbd7c0
Add rattail version-check
command, for consistency checks
...
just the very basics for now, not sure what all is needed yet
2020-08-17 16:14:50 -05:00
Lance Edgar
69699183ee
Update changelog
2020-08-13 12:54:29 -05:00
Lance Edgar
785a54faf4
Tweak wording for readme
...
test commit
2020-08-12 22:51:30 -05:00
Lance Edgar
8cebc88068
Fix how we obtain local system title for importers
...
we just can't go around assuming a handler is always in use
2020-08-12 15:10:33 -05:00
Lance Edgar
87f11679b9
Initial narrative docs for Configuration
...
not really complete, but gosh let's get something in place
2020-08-10 22:56:46 -05:00
Lance Edgar
f1f56a6494
Include alt code lookup for inventory "quick entry" logic
...
mostly for the sake of PLU numbers
2020-08-10 20:09:48 -05:00
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