Lance Edgar
46d129d868
Add "did not receive" status for purchase batch rows
...
we set this within a costing batch, when received quantities are zero
2021-10-22 21:53:05 -05:00
Lance Edgar
ae2a60183f
Update changelog
2021-10-22 19:28:52 -05:00
Lance Edgar
9933887039
Assign app
and model
attributes when ProblemReport instantiates
2021-10-22 19:27:10 -05:00
Lance Edgar
6dbf1eb4af
Update changelog
2021-10-21 17:08:13 -05:00
Lance Edgar
999a42a43f
Record 'lastrun' time when mailmon watcher succeeds
...
so we can monitor that and restart the daemon when it stops
working..which it does sporadically although we don't yet know exactly
why/when that happens..
2021-10-21 17:06:04 -05:00
Lance Edgar
6441e89561
Update changelog
2021-10-20 16:13:56 -05:00
Lance Edgar
28c9d50914
Add new 'products.neworder' autocompleter; refactor a bit
...
also improve `ProductsHandler.get_image_url()` to give a tailbone url
pointing to the product image in rattail DB, if possible
2021-10-19 18:11:55 -05:00
Lance Edgar
49a2ddc7f5
Make product
the first kwarg to get_image_url()
...
for ProductsHandler
2021-10-19 13:57:37 -05:00
Lance Edgar
37b8de9118
Add basic "price needs confirmation" support for custorder
2021-10-18 18:28:07 -05:00
Lance Edgar
75b8b3f4ae
Allow for alternate encoding in CSV importers
2021-10-17 21:29:34 -05:00
Lance Edgar
4696c4dfd1
Calculate invoice totals when overlaying onto PO for purchase batch
2021-10-17 19:54:37 -05:00
Lance Edgar
c62e080914
Add add_product()
method for custorder batch handler
...
let it be repsonsible for adding a new item to the order
2021-10-17 18:07:18 -04:00
Lance Edgar
ba8b366ba6
Restore "pending" customer when unassigning batch contact
...
unassign means "unset contact uuid" essentially, i.e. unassign the
"proper" contact. but if "pending" contact info is there, restore it
2021-10-17 17:24:40 -04:00
Lance Edgar
5eaf893b94
Consolidate "new custorder" autocomplete logic for people, customers
2021-10-16 21:28:16 -04:00
Lance Edgar
e46fbbd62c
Limit autocomplete results for customer/phone lookup in new custorder
...
otherwise it's possible for the whole thing to bog down and freeze the
browser page...
2021-10-15 17:50:18 -04:00
Lance Edgar
954d9d1ac0
Add why_not_add_product()
for custorder batch handler
...
let it declare any reason it likes for preventing the item add
2021-10-14 17:47:28 -04:00
Lance Edgar
c3efd8c549
Improve default autocomplete for products
...
so user can type e.g. "vin app brag" in whatever order
2021-10-14 17:02:43 -04:00
Lance Edgar
5147d17b31
Update changelog
2021-10-14 14:41:08 -04:00
Lance Edgar
213df0e3aa
Fix merge logic when employee needs to be transferred to new person
2021-10-14 14:40:26 -04:00
Lance Edgar
82460fd135
Update changelog
2021-10-14 14:21:30 -04:00
Lance Edgar
d98afd2c0f
Invoke auth handler when deleting a user via importer
...
plus some misc. tweaks i needed to cleanup some user accounts
2021-10-14 14:17:58 -04:00
Lance Edgar
a8d820fe99
Update changelog
2021-10-14 12:11:23 -04:00
Lance Edgar
bd964b9266
Add support for syncing roles, with users and permissions for each
...
but only those roles marked for sync. also by default the GlobalRole
is *not* included in the handler's default list, so this still
requires a bit of setup
2021-10-14 10:38:07 -04:00
Lance Edgar
a7aa6336ca
Add a docstring
2021-10-13 16:50:18 -04:00
Lance Edgar
8147b1fb0b
Update changelog
2021-10-13 12:19:00 -04:00
Lance Edgar
6a19be3edb
Add basic auth handler concept
2021-10-12 18:21:04 -04:00
Lance Edgar
756f0530b9
Try to guess unit or case cost from invoice, if only one is specified
2021-10-12 15:33:28 -04:00
Lance Edgar
a12f83d12f
Update changelog
2021-10-11 15:26:26 -04:00
Lance Edgar
623cafca6b
Increase precision for cost fields in purchase, batch
...
not sure why i thought 3 decimal places was enough..hopefully this is
big enough though
2021-10-10 20:07:33 -04:00
Lance Edgar
fdbe1c2134
Update changelog
2021-10-07 19:35:14 -04:00
Lance Edgar
ecc7726e9d
Let InventoryBatchRow.case_cost
equal zero
2021-10-07 14:52:05 -04:00
Lance Edgar
f189a95bce
Add update_pending_customer()
for custorder batch handler
...
and perhaps more importantly, `validate_pending_customer_data()`
this was needed for sake of unique email address checks
2021-10-07 13:07:29 -04:00
Lance Edgar
6626b14798
Add contact_name
for custorder and batch
...
so that we have something handy to easily sort/filter by etc.
2021-10-07 12:32:11 -04:00
Lance Edgar
dec127727e
Save pending customer reference when creating new custorder
...
i.e. when executing new custorder batch
2021-10-06 18:42:21 -04:00
Lance Edgar
8e197f347f
Add PendingCustomer
model, for sake of new custorder workflow
2021-10-06 18:22:09 -04:00
Lance Edgar
cadc330dd8
Update changelog
2021-10-06 14:53:42 -04:00
Lance Edgar
3d89915d94
Add "contact update request" workflow for new custorders
...
if user requests contact info be updated on the customer record, then
"someone" (staff) should receive an email with that info
2021-10-06 14:47:07 -04:00
Lance Edgar
63864c95f1
Add setting to allow contact info choice for new custorder
2021-10-06 12:43:01 -04:00
Lance Edgar
121e9cc6c5
Add get_contact_emails()
and should_restrict_contact_info()
...
for custorder batch
2021-10-06 12:29:14 -04:00
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