Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar
71b26f8864 Update changelog 2023-08-30 22:07:59 -05:00
Lance Edgar
0b268dc868 Remove usage of deprecated rattail.db.api functions
now using handlers all around instead
2023-08-30 21:49:13 -05:00
Lance Edgar
6c366241b1 Add get_store() method for OrgHandler 2023-08-30 21:21:22 -05:00
Lance Edgar
81672e2ded Let "new product" batch override type-2 UPC lookup behavior 2023-08-30 20:09:46 -05:00
Lance Edgar
8a61574221 Add generic base class for web API clients
tired of re-inventing this wheel, surely they can standardize somehow?
guess we'll see
2023-08-29 23:18:28 -05:00
Lance Edgar
0bd52c7f26 Update changelog 2023-08-29 22:19:59 -05:00
Lance Edgar
4d6bc9f9d6 Add setting for "max one member per person"
this should possibly be True by default? but for now we'll leave it
False by default, since that has "better" support thus far..
2023-08-28 20:40:56 -05:00
Lance Edgar
94a28b04ef Version import should add "DELETE" record instead of deleting records
..right?  we'll see if anything breaks
2023-08-25 10:39:28 -05:00
Lance Edgar
0b3b7382e9 Add clientele methods to deactivate shopper, check its active history 2023-08-24 21:59:41 -05:00
Lance Edgar
994847acdd Fix web config error in rattail project template 2023-08-24 18:26:42 -05:00
Lance Edgar
8c66d6f161 Add new OrgHandler class, deprecate some db.api functions 2023-08-18 15:36:02 -05:00
Lance Edgar
ce8b0faf5d Set appropriate attr when assigning PO for receiving batch
if PO lives outside of Rattail, different attr must be used to track reference
2023-08-17 18:10:38 -05:00
Lance Edgar
9e15b6c426 Remove autoincrement kwargs for latest db migration
to avoid alembic warnings
2023-08-09 11:16:49 -05:00
Lance Edgar
416971b648 Update changelog 2023-08-08 18:42:01 -05:00
Lance Edgar
d165027c45 Fix nullable for member equity payment version table 2023-08-08 18:10:55 -05:00
Lance Edgar
5371c80ff3 Improve UOM choices for product info
better represent items sold by weight, for new/edit custorder
2023-08-08 14:11:10 -05:00
Lance Edgar
f3b7db92e7 Assume order quantities are known for multi-invoice receiving 2023-08-07 19:05:06 -05:00
Lance Edgar
0456b290c0 Preserve invoice number/date in credits for multi-invoice receiving
and make single-invoice work the same way
2023-08-07 13:49:58 -05:00
Lance Edgar
7d4f90ab1c Collect telemetry data for python by default 2023-08-05 21:47:51 -05:00
Lance Edgar
c01043727d Add support for collecting 'python' telemetry data
just the envroot and python version so far..
2023-08-05 21:14:02 -05:00
Lance Edgar
df40178acc Fix config ambiguity for telemetry w/ new RattailConfiguration 2023-08-05 20:36:17 -05:00
Lance Edgar
36f0c1ca00 Raise error if load_object() called with no spec 2023-08-04 18:25:38 -05:00
Lance Edgar
32d37c6996 Fix typo bug in vendorinvoice batch 2023-08-04 13:11:51 -05:00
Lance Edgar
f5060f5b78 Update changelog 2023-07-15 19:30:22 -05:00
Lance Edgar
1134b97d7d Track invoice number for each row in receiving batch
in case of receiving from multiple invoices
2023-07-07 17:18:32 -05:00
Lance Edgar
49bc2716e6 Update changelog 2023-07-07 15:37:31 -05:00
Lance Edgar
c4833d1eef Add rattail auto-receive cmd, as versioning workaround
when doing "auto-receive" for a receiving batch, need to disable
versioning as the process is too slow with it enabled

this also tweaks a couple of things that came up for KeHE
2023-07-06 21:17:49 -05:00
Lance Edgar
e9728dc542 Fix docs per filemon config module rename 2023-06-28 09:06:59 -05:00
Lance Edgar
ebd442ef9c Fix imports for filemon tests 2023-06-28 08:46:03 -05:00
Lance Edgar
a6d25df9cb Update changelog 2023-06-28 08:17:35 -05:00
Lance Edgar
925de6c882 Rename module to rattail.filemon.config_
append underscore ('_') to avoid naming confusion for sake of running
filemon service on win32

there seems to be some issue with import paths in a win32 service
context.  not sure why but it also bit me long ago with `rattail.csv`
module which is why that is named `rattail.csvutil` instead.

now the problem is within `rattail.config` we do `import config as
configuration` but somehow that gets confused and tries to import the
`rattail.filemon.config` module from within the win32 service.  so
instead of getting to the bottom of that, we just rename with
underscore suffix to avoid the issue
2023-06-28 08:13:48 -05:00
Lance Edgar
9dc616635d Add rattail filemon debug command option for win32
to make troubleshooting a bit easier
2023-06-28 08:11:10 -05:00
Lance Edgar
cac1afa9d8 Disable some tests, pending new mock
should fix someday..no time to do it today
2023-06-28 07:36:20 -05:00
Lance Edgar
45a8c2d709 Allow problem report emails to have attachments
for now each report must generate their own, if needed
2023-06-27 23:14:43 -05:00
Lance Edgar
751eb8a75f Replace deprecated usage of send_email() function
use app handler instead
2023-06-27 22:50:39 -05:00
Lance Edgar
eeca234c58 Update changelog 2023-06-27 20:46:52 -05:00
Lance Edgar
1fd79a46ff Fix how win32 service commands are ran, e.g. for install
must run command as e.g. `python -m rattail.filemon.win32` instead of
`python /path/to/rattail/filemon/win32.py` - latter will throw off the
import path / mechanism somehow and cause problems
2023-06-27 20:43:36 -05:00
Lance Edgar
a5b4f02c3d Allow "arbitrary" PO attachment to purchase batch
for sake of other POS integration etc.
2023-06-27 14:14:03 -05:00
Lance Edgar
0bb9d49878 Avoid deprecated "api" functions for vendor invoice batch 2023-06-27 14:01:18 -05:00
Lance Edgar
75b77868db Fix bug when populating receiving from PO 2023-06-27 12:35:55 -05:00
Lance Edgar
7b30bc2232 Add special bulk item handling for KeHE invoice parser
when "PackSize" column value is e.g. "1/11.000 LB" then must
re-calculate unit cost, case size etc. accordingly, instead of
assuming "1" is the case size
2023-06-27 10:39:59 -05:00
Lance Edgar
4b3330f8c0 Do not trust unit cost from UNFI invoice
must calculate that instead, from "total" cost per item
2023-06-21 15:09:26 -05:00
Lance Edgar
ba1fbdbbee Update changelog 2023-06-20 11:52:26 -05:00
Lance Edgar
87e5bd3fa2 Lower log level when enabling Continuum versioning
i guess we really should not see that normally..
2023-06-19 20:56:18 -05:00
Lance Edgar
f8abebd4a6 Add basic autocomplete for Members
really just works on Person.display_name so far..
2023-06-18 21:18:30 -05:00
Lance Edgar
5f9917686c Add initial model, importers for MemberEquityPayment 2023-06-18 14:07:38 -05:00
Lance Edgar
2487b8f62b Stop limiting to just BASE_TABLE for rattail mysql-chars command 2023-06-17 23:13:20 -05:00
Lance Edgar
f0626fd8a3 Fix more issues with modifying charset for live mysql DB 2023-06-17 20:51:59 -05:00
Lance Edgar
1078ea7496 Remove fallback to customer when getting contact email
for some reason exceeded max recursion depth in production, though i
was not able to reproduce?!  anyway this seemed to fix..
2023-06-17 20:43:45 -05:00
Lance Edgar
18f7b8a43f Add --supported arg for rattail mysql-chars flag
to show what the underlying DB engine supports

this also enables "live mode" which will actually attempt to modify
live DB / tables...fingers crossed
2023-06-17 20:29:14 -05:00