Lance Edgar
2032684a3f
Fix bug in products autocomplete
2021-10-06 11:42:49 -04:00
Lance Edgar
f5ab9d0b78
Always add new/dirty first, deleted last, for RattailWatcher
...
try to postpone processing of deletes until the end, to avoid record
dependency issues
2021-10-05 18:47:31 -04:00
Lance Edgar
1b1ee769fb
Add costing batch logic to overlay invoice onto PO data
2021-10-05 16:12:15 -04:00
Lance Edgar
087a3c55a4
Update changelog
2021-10-05 10:42:10 -04:00
Lance Edgar
d4673719c5
Improve get_context_employee()
for EmploymentHandler
2021-10-05 08:16:46 -04:00
Lance Edgar
399eeede2c
Add PeopleHandler methods for add/update of phone, email
2021-10-04 21:19:57 -04:00
Lance Edgar
194bca3ebc
Add get_contact_phones()
method for custorder batch handler
...
for presenting options to user when making new order
2021-10-04 12:18:37 -04:00
Lance Edgar
4305d0a2b4
Add get_contact_notes()
method for custorder batch handler
...
not sure if this is quite the right approach, but better than we had
before at least. may need to get certain "notes" independently,
e.g. "customer has invalid phone/email" type flags
2021-10-03 19:24:28 -04:00
Lance Edgar
936d2b058d
Update changelog
2021-10-03 17:20:59 -04:00
Lance Edgar
55ab6194bf
Tweak how we call the change recorder
...
to satisfy broken tests.. not sure if this is ideal quite yet but
seems to pass tests anyway
2021-10-03 17:11:56 -04:00
Lance Edgar
d0c0e7cdc7
Remove some assertions which aren't always true..
...
not sure what those were meant to do other than serve as a sanity
check b/c i don't know what i'm doing yet.. but for some reason they
did not hold true when running in production
2021-10-03 16:33:20 -04:00
Lance Edgar
72fe7c4cdc
Update changelog
2021-10-03 15:50:35 -04:00
Lance Edgar
aa56e4a189
Add initial version of the "mailmon" daemon
...
and refactor some filemon config etc. to leverage common logic
2021-10-03 15:26:58 -04:00
Lance Edgar
4d54a01d26
Update changelog
2021-10-01 18:37:15 -04:00
Lance Edgar
fc7161abd5
Add simple error logging when bouncer fails to login to server
2021-10-01 18:33:35 -04:00
Lance Edgar
43df20b678
Add config object to ChangeRecorder
class
2021-10-01 18:07:15 -04:00
Lance Edgar
0e9d0ebaf0
Add support for Autocomplete Handlers
...
all autocompleters needed thus far are included; this avoids the need
to implement each via Tailbone View classes etc.
2021-10-01 10:26:15 -04:00
Lance Edgar
c0f3eae14b
Update changelog
2021-09-30 16:34:06 -04:00
Lance Edgar
dca228bdcc
Try to parse invoice number from invoice file
...
also only support one workflow (invoice_with_po) for invoice costing
batch, until we get our footing
2021-09-29 16:54:22 -04:00
Lance Edgar
703ea812fc
Add basic workflow support for invoice costing (purchase) batches
2021-09-29 16:25:29 -04:00
Lance Edgar
32695bf9cd
Update changelog
2021-09-28 16:13:22 -04:00
Lance Edgar
4c5ca8aef5
Make get_first_email()
type methods skip invalid addresses
2021-09-28 16:09:31 -04:00
Lance Edgar
6db165d82a
Add format_phone_number()
method to app handler
2021-09-27 18:00:00 -04:00
Lance Edgar
44a32230ca
Update changelog
2021-09-27 13:27:49 -04:00
Lance Edgar
14166200e1
Declare model for CustomerOrderItemNote
2021-09-27 13:18:58 -04:00
Lance Edgar
25483a21a0
Add "all" enum values for custorder item status, event
...
also attach "initiated" event(s) when creating new custorder
2021-09-27 12:31:12 -04:00
Lance Edgar
39504fdec9
Update changelog
2021-09-27 10:02:18 -04:00
Lance Edgar
10417fd8be
Fix bugs in new clientele methods
2021-09-27 10:01:49 -04:00
Lance Edgar
2c7961dfb9
Update changelog
2021-09-27 09:52:52 -04:00
Lance Edgar
601596d8bf
Add cache_model()
method to app handler
...
also make cache_model() always return an OrderedDict, in case the
ordering actually matters to caller
2021-09-27 09:45:17 -04:00
Lance Edgar
785f98547e
Make custorder batch handler responsible for (un)assigning contact
...
it also will update the contact info, i.e. phone/email
2021-09-27 09:08:54 -04:00
Lance Edgar
a04f21a5ab
Update changelog
2021-09-26 17:25:24 -04:00
Lance Edgar
6ec6b1c227
Assign store, fix sequence when making a new custorder/batch
2021-09-25 18:19:21 -04:00
Lance Edgar
0e4f47838c
Always assign `app
` attribute when instantiating batch handler
2021-09-25 18:18:52 -04:00
Lance Edgar
4fdc4f5823
Add render_quantity()
method to app handler
2021-09-25 18:18:37 -04:00
Lance Edgar
895b0ad442
Update changelog
2021-09-25 15:32:50 -04:00
Lance Edgar
bd39609a3d
Add render_price()
method for products handler
...
so that it can be invoked from multiple web views
2021-09-25 15:26:20 -04:00
Lance Edgar
1ebeac923f
Add "custom" customer autocomplete for new custorder handler
...
can search by name or phone number
2021-09-24 18:27:00 -04:00
Lance Edgar
3af545e1d7
Update changelog
2021-09-21 13:51:19 -05:00
Lance Edgar
d905132236
Some tweaks for customer orders
...
- improve how case size is determined
- auto-delete items when order is deleted
2021-09-21 13:47:47 -05:00
Lance Edgar
750c5fb7b7
Flush after deleting batch rows
...
not doing so is *believed* to have caused an error once...
2021-09-16 11:58:17 -05:00
Lance Edgar
5fdc0d8ac4
Update changelog
2021-09-16 11:08:48 -05:00
Lance Edgar
f96b2f19d3
Add "request merge" logic to people handler; send email alert
2021-09-15 19:01:21 -05:00
Lance Edgar
cdde513a19
Update changelog
2021-09-15 17:08:36 -05:00
Lance Edgar
e7e4f297d7
Update changelog
2021-09-15 17:04:10 -05:00
Lance Edgar
44a5027bea
Cache the configured model when making a datasync watcher
2021-09-15 16:56:37 -05:00
Lance Edgar
3553aee28a
Add AppHandler.normalize_phone_number()
method
2021-09-14 10:17:27 -05:00
Lance Edgar
5c24fa26bc
Update changelog
2021-09-12 19:14:07 -05:00
Lance Edgar
b95ddc2e13
Let "has activity" win over "has inventory" for delproduct row status
...
i.e. if an item has activity *and* inventory, then it's more helpful
to know about the activity; if it has no activity then the inventory
check will still happen of course
2021-09-12 19:00:48 -05:00
Lance Edgar
16d8bd879a
Add way to customize product autocomplete for new custorder
2021-09-09 19:14:39 -05:00