Lance Edgar
35e40b4c4e
Add basic db cache mechanism for RattailConfig
...
refs #8
2022-07-31 20:31:38 -05:00
Lance Edgar
6edc9b10d0
Update changelog
2022-07-29 10:58:27 -05:00
Lance Edgar
8361148b2c
Avoid more sessions in datasync, when fetching config from DB
...
ugh, there are probably even more somewhere..?
2022-07-27 14:02:53 -05:00
Lance Edgar
5e978e8f7b
Update changelog
2022-07-27 10:20:13 -05:00
Lance Edgar
e2e3900ea7
Add basic python3 support for rattail import-sample
cmd
2022-07-26 14:25:04 -05:00
Lance Edgar
5685603721
Add --list-types
arg for make-config
cmd
...
also remove config templates for with[out]-versioning, since those are
no longer needed thanks to global cmd args of same name
2022-07-26 14:25:04 -05:00
Lance Edgar
6d8e1e9ffd
Avoid extra sessions in datasync, when fetching config from DB
...
finally, tracked down why extra sessions were happening..i think.
there may be more instances of this problem elsewhere; will fix as
they're encountered
refs #6 , #7
2022-07-26 14:24:59 -05:00
Lance Edgar
9820a0f0f4
Update changelog
2022-07-25 11:41:38 -05:00
Lance Edgar
033102807e
Update invoice parser for KeHE, per new format
2022-07-25 11:13:55 -05:00
Lance Edgar
d094569b0b
Add can_auto_receive()
method for purchase batch handler
2022-07-24 22:28:44 -05:00
Lance Edgar
2cbd84768e
Add AppHandler.today()
method
2022-07-24 21:09:01 -05:00
Lance Edgar
c6756e8416
Improve how receiving batch is created from purchase
2022-07-24 21:08:46 -05:00
Lance Edgar
e77ce7f536
Maybe omit rows w/ no qty when making purchase from ordering batch
...
probably this should be the default behavior, but for now i'm leaving
legacy behavior as default
2022-07-24 15:04:16 -05:00
Lance Edgar
1b69309698
Add primary
flag for ContactMixin.add_email()
and add_phone()
2022-07-24 13:21:01 -05:00
Lance Edgar
780f7813cf
Update changelog
2022-07-22 15:46:09 -05:00
Lance Edgar
ca503cefa4
Reverse default flags for auto-creating brand in product importers
...
this preserves former behavior by default, and probably makes more sense
2022-07-22 12:46:56 -05:00
Lance Edgar
032dcc3467
Update changelog
2022-07-22 12:40:27 -05:00
Lance Edgar
f34703ea3d
Add flags for auto-creating brand in product importers
...
if brands are tracked with foreign system key, then auto-create is
probably not suitable since new brand won't get the key
2022-07-22 12:38:16 -05:00
Lance Edgar
dfadd3fbe2
Make caching products optional, when creating vendor catalog batch
2022-07-19 15:50:10 -05:00
Lance Edgar
f97c452f8e
Add upc_check_digits_needed()
method for products handler
2022-07-19 13:18:53 -05:00
Lance Edgar
27d18c42c9
Update changelog
2022-07-19 10:40:36 -05:00
Lance Edgar
c987be5b3e
Add retry loop for starting transaction in datasync consumer
2022-07-19 10:39:41 -05:00
Lance Edgar
9e8fe47020
Add get_last_patronage_date()
method for membership handler
2022-07-19 09:51:53 -05:00
Lance Edgar
5576664d1a
We always want "unit name" for UOM choices
2022-07-18 22:50:16 -05:00
Lance Edgar
da7eeb909e
Update changelog
2022-07-18 22:30:01 -05:00
Lance Edgar
f818af8e5f
Stash data when generating report output
2022-07-18 22:27:31 -05:00
Lance Edgar
68a17f6d52
Only remove egg-info dir if it exists, when releasing
2022-07-18 12:39:46 -05:00
Lance Edgar
331a31b2b6
Update changelog
2022-07-18 12:38:19 -05:00
Lance Edgar
7c9153575a
Properly encode output for str(Brand)
2022-07-18 12:21:56 -05:00
Lance Edgar
b5688a09dd
Add is_active_for_store()
method to products handler
...
with some basic logic, which assumes a volatile cache table has
accurate data...
2022-07-08 14:02:17 -05:00
Lance Edgar
01b538ca90
Add basic pricing.calculate_markup()
function
2022-07-08 12:48:39 -05:00
Lance Edgar
a732a76c59
Add web app setting for default grid pagesize
2022-07-01 11:58:53 -05:00
Lance Edgar
a45fe4b26f
Update changelog
2022-06-24 14:19:26 -05:00
Lance Edgar
2e37e809b4
Add basic date parsing for ExcelReaderXLSX
...
at least *try* to parse, if given a string value
2022-06-24 14:18:01 -05:00
Lance Edgar
f458072e24
Add basic autocompleter for subdepartments
2022-06-14 17:52:47 -05:00
Lance Edgar
aca6ed6f97
Update changelog
2022-06-14 13:59:00 -05:00
Lance Edgar
72d1b070bd
Add basic start date support for "future" pricing batch
2022-06-14 13:48:22 -05:00
Lance Edgar
03c3bdeda0
Use build
module instead of invoking setup.py
for release
...
cf. https://github.com/NeonGeckoCom/neon-messagebus-mq-connector/issues/16
2022-06-08 17:48:50 -05:00
Lance Edgar
79ac4cecb0
Update changelog
2022-06-02 17:05:53 -05:00
Lance Edgar
4617bea9bd
Update changelog
2022-06-02 16:48:58 -05:00
Lance Edgar
b4fd338c93
Stop using deprecated kwargs for product lookup
2022-06-02 16:47:59 -05:00
Lance Edgar
7372a9b7ff
Allow suppression of warnings when removing duplicate key values
...
i.e. an importer can invoke this method with `warn=False` (within the
`normalize_host_data()` method) to remove duplicates ahead of time;
whereas normal importer logic will still remove duplicates but would
include the warnings
2022-05-24 18:39:22 -05:00
Lance Edgar
821624fb01
Update changelog
2022-05-15 16:46:42 -05:00
Lance Edgar
eb34f065a4
Add render_vendor()
method for VendorHandler
2022-05-15 16:43:51 -05:00
Lance Edgar
2bbf2a0eb5
Update changelog
2022-05-14 17:19:19 -05:00
Lance Edgar
0bd21dcf28
Tweaks for rattail -> rattail datasync
...
should fix a couple of issues..
2022-05-14 17:09:06 -05:00
Lance Edgar
18bd027231
Update changelog
2022-05-03 13:43:13 -05:00
Lance Edgar
dc785bffed
Tweak some string encoding for python2
2022-05-03 13:35:38 -05:00
Lance Edgar
3ebb4e5bff
Update changelog
2022-04-13 20:17:55 -05:00
Lance Edgar
e3da27eff3
Tweak how output is decoded, for run-n-mail
command
...
hopefully this is better..still not quite sure if/how to know what the
actual encoding in use would be. this now will assume 'utf_8' i
believe, hopefully that is a sane assumption
2022-04-13 15:16:30 -05:00