Lance Edgar
a3bfdaa27c
Add email template/config for uncaught exception
...
for use with POS GUI
2023-09-29 11:44:06 -05:00
Lance Edgar
a1cd68f5cb
Grow diff percent column for pricing batch
...
sometimes cost values may be way off, and result in wild diffs
2023-09-28 11:46:13 -05:00
Lance Edgar
ff45838191
Add simplistic "change back" if tender overpays for POS batch
...
still need a way to (better) notify caller of what happened? or maybe
the rows are enough
2023-09-27 20:34:29 -05:00
Lance Edgar
ab0c2d5b76
Fix error when removing customer from POS batch
2023-09-27 19:02:37 -05:00
Lance Edgar
802594eb13
Add tenders, more columns for POS batch/rows
...
just basic tenders so far, probably need to expand that later
2023-09-27 17:12:52 -05:00
Lance Edgar
41f31d3885
Add generic search methods for products handler
2023-09-26 15:03:18 -05:00
Lance Edgar
cf4902b648
Do not allow executing custorder batch if no customer set
2023-09-26 09:32:33 -05:00
Lance Edgar
c830c614c2
Cannot assume that Session exists when making config
...
sqlalchemy is not always installed
2023-09-26 07:30:03 -05:00
Lance Edgar
aa82556f79
Let batch handler say how to render txn/cust display on POS screen
2023-09-25 21:55:24 -05:00
Lance Edgar
f4dd805f12
Update changelog
2023-09-25 18:05:30 -05:00
Lance Edgar
e180d782d3
Fix broken test
...
now that we *do* provide a default for app_title
2023-09-24 20:07:04 -05:00
Lance Edgar
5fe1759025
Add basic POS feedback email template
2023-09-24 19:28:34 -05:00
Lance Edgar
c3abd11309
Change how we get the app/node title
...
app handler must be responsible for these (and probably more..)
2023-09-24 19:02:43 -05:00
Lance Edgar
e3e03348be
Stop encouraging unfinished beaker config caching
2023-09-24 17:47:00 -05:00
Lance Edgar
ea1f7021d2
Update changelog
2023-09-24 14:46:50 -05:00
Lance Edgar
83e9bc03d9
Add new customer to session when first making it
...
i guess previously i thought make_customer() should not *necessarily*
add it to session, but in practice it can cause issues if we don't.
hopefully now there aren't yet more issues b/c we do..
2023-09-24 14:44:50 -05:00
Lance Edgar
312238f9fb
Tweak defaults for Rattail (self) -> Rattail importers
2023-09-24 08:03:59 -05:00
Lance Edgar
b4be760a2b
Fix default behavior of start/end dates for importers
...
if command etc. does not specify start/end date, then we really can't
default to e.g. "today" b/c that would typically filter out most of
the data. if a given importer needs to do such a thing, it should do
so explicitly
so an importer should always have `start_date` and `end_date` attrs
set but they may be None (same for start/end time)
2023-09-24 08:01:53 -05:00
Lance Edgar
308dc9ca8e
Add customer search methods to clientele handler, for POS sake
2023-09-23 21:25:04 -05:00
Lance Edgar
e894ceac4c
Add initial model, handler for POS batch
...
lots more to come yet, savepoint
2023-09-23 11:54:34 -05:00
Lance Edgar
77aa6e4914
Ues configuration
by default going forward for new projects
2023-09-23 08:28:14 -05:00
Lance Edgar
607532fe02
Generate setup.cfg
instead of setup.py
for new projects
2023-09-20 16:24:39 -05:00
Lance Edgar
4e9c7ced03
Update changelog
2023-09-20 00:02:49 -05:00
Lance Edgar
7625dca00c
Fix product handler method reference
2023-09-20 00:02:13 -05:00
Lance Edgar
06f383fc95
Update changelog
2023-09-19 16:36:10 -05:00
Lance Edgar
c94774fbb7
Try using backslash to escape newlines in SIL strings
...
thanks https://stackoverflow.com/a/54336425
2023-09-19 15:40:29 -05:00
Lance Edgar
b81c33cda8
Fix method name bug for label batch
2023-09-19 15:24:32 -05:00
Lance Edgar
fc8cc16892
Update changelog
2023-09-19 09:41:03 -05:00
Lance Edgar
2d299039c9
Cleanup embedded newlines for SIL output values
2023-09-19 09:40:14 -05:00
Lance Edgar
8bb9195db1
Do not process update if local data is empty for consumer/importer
2023-09-19 08:05:55 -05:00
Lance Edgar
76df34cf72
Generic web API should accept data
kwarg for PATCH
2023-09-19 08:01:08 -05:00
Lance Edgar
493c32492c
Update changelog
2023-09-19 06:50:59 -05:00
Lance Edgar
3befa3a6f9
Fix support for POST and PATCH in GenericWebAPI
2023-09-18 23:01:39 -05:00
Lance Edgar
d6c9b747bd
Do not cache empty data when normalizing local for importer
...
i.e. normalize_local_object() should be allowed to return None in
order to omit some object(s) from cache
2023-09-18 21:42:19 -05:00
Lance Edgar
1a5a88eb17
Update changelog
2023-09-18 18:40:06 -05:00
Lance Edgar
605ea2be7b
Avoid using deprecated "db.api" functions everywhere possible
2023-09-18 18:12:34 -05:00
Lance Edgar
d95e4eb768
Warn if using deprecated logic to get new SIL batch ID
2023-09-18 15:11:21 -05:00
Lance Edgar
9d618c7652
Update changelog
2023-09-17 21:20:11 -05:00
Lance Edgar
e64888ebcd
Add setting to auto-make credits for "presumed missing" items in receiving
...
previously we always created these credits, now we do not by default
2023-09-17 18:29:22 -05:00
Lance Edgar
3464c6bad5
Tweak header for project template code
2023-09-17 18:29:00 -05:00
Lance Edgar
cb5bc00caf
Update changelog
2023-09-17 10:57:14 -05:00
Lance Edgar
1ec972305a
Add stacklevel=2
for all deprecation warnings
2023-09-17 10:50:02 -05:00
Lance Edgar
c8a1fcd65c
Update changelog
2023-09-16 13:06:05 -05:00
Lance Edgar
f9ff2a97cf
Do not gzip a sql backup if already gzipped!
2023-09-16 12:45:47 -05:00
Lance Edgar
d78b3b108a
Bypass temp file for postgres backups; dump straight to gzip
...
hopefully cut down on disk usage when doing the dump
2023-09-15 22:35:30 -05:00
Lance Edgar
a7c6c091f2
Add get_equity_full_investment_amount()
method for membership handler
2023-09-15 12:56:50 -05:00
Lance Edgar
bd4334e3d9
Update changelog
2023-09-15 10:33:10 -05:00
Lance Edgar
62026469c8
Add handlers
dict for app providers
...
they will each keep track of their own handlers, instead of adding to
main app..possibly should change that in the future, we'll see?
2023-09-14 13:20:01 -05:00
Lance Edgar
69ff5f73db
Add initial support for rattail "providers"
...
so integration projects etc. can supplement the main AppHandler
without subclassing it
2023-09-14 12:55:56 -05:00
Lance Edgar
08c5da5de3
Update changelog
2023-09-13 13:29:45 -05:00