Lance Edgar
da4d4a7e1a
Add Role.sync_users
flag and make importer logic honor it
2021-11-13 15:02:06 -06:00
Lance Edgar
ce57798160
Update changelog
2021-11-11 18:37:57 -06:00
Lance Edgar
e1b21d9ce1
Add no-op parse_date()
method for ExcelReaderXLSX
class
2021-11-11 17:21:45 -06:00
Lance Edgar
2ed0c361d4
Update changelog
2021-11-11 12:10:17 -06:00
Lance Edgar
229f9ab5ed
Add basic model, status enum for PendingProduct
2021-11-10 12:38:21 -06:00
Lance Edgar
7782555078
Update changelog
2021-11-08 18:31:56 -06:00
Lance Edgar
6836be425d
Add simple ExcelInvoicParser
class
...
doesn't do a whole lot but everything helps i guess
2021-11-07 17:55:21 -06:00
Lance Edgar
f78c23ff16
Let purchase batch handler declare supported invoice parsers
2021-11-07 17:09:33 -06:00
Lance Edgar
5b38dc92b7
Tweak how we interpret template dir for invoice2data
2021-11-07 15:43:54 -06:00
Lance Edgar
e9011c0275
Add basic support for invoice2data
for InvoiceParser
...
also add `config` arg to InvoiceParser constructor - finally
2021-11-07 14:18:35 -06:00
Lance Edgar
331828e9ce
Add support for finding past items, for new custorder
...
also misc. tweaks for new custorder feature
2021-11-06 20:31:02 -05:00
Lance Edgar
c2e9fa513d
Add get_past_products()
method for custorder batch handler
...
also add more to `get_product_info()`
2021-11-06 19:58:27 -05:00
Lance Edgar
dc0c65ea7b
Add some "case price" logic for custorder batch
2021-11-06 17:35:51 -05:00
Lance Edgar
c3487917ce
Only show POD image if so configured; use "image not found" fallback
...
also update a random docstring
2021-11-06 17:35:15 -05:00
Lance Edgar
892668f7f1
Update changelog
2021-11-05 18:44:50 -05:00
Lance Edgar
8c58b14919
Add "generic" vendor catalog parser
...
we'll see how generic it really is once more people try to use it...
2021-11-05 18:40:02 -05:00
Lance Edgar
71e5ac4ef0
Add progress_loop()
method for app and generic handlers
2021-11-05 16:00:04 -05:00
Lance Edgar
bb1a9ab6a3
Fix class name in NotImplementedError msg
2021-11-05 15:09:37 -05:00
Lance Edgar
a8fa544377
Update changelog
2021-11-04 21:23:43 -05:00
Lance Edgar
d720f0f0ab
Add setting for "product price may be questionable" for custorders
2021-11-03 20:19:23 -05:00
Lance Edgar
b80cb4af94
Add some product info fetchers to custorder batch handler
...
for easier customization
2021-11-03 19:13:42 -05:00
Lance Edgar
2fa90aa41d
Update changelog
2021-11-02 11:14:26 -05:00
Lance Edgar
f4dd326d02
Add "cannot calculate price" row status for new product batch
2021-10-31 11:56:25 -05:00
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