Commit graph

3431 commits

Author SHA1 Message Date
Lance Edgar
b4942c4b93 Add setting for whether 'vendor' fields should use autocomplete or dropdown 2019-02-19 21:10:49 -06:00
Lance Edgar
4b884dc782 Add CustomerNote and Customer.notes
might as well take advantage of this notes table...
2019-02-19 20:13:44 -06:00
Lance Edgar
4da37f67f3 Add Customer.add_mailing_address() convenience method
probably need to add these to other "contact" models also...
2019-02-19 18:08:53 -06:00
Lance Edgar
874cbc4462 Clean up Rattail <-> Rattail import/export handlers a bit 2019-02-18 21:27:57 -06:00
Lance Edgar
3336da3db0 Aggregate when adding truck dump child row already present in parent 2019-02-18 18:19:11 -06:00
Lance Edgar
0bf04a7272 Update changelog 2019-02-14 10:35:30 -06:00
Lance Edgar
f9bf01be5a Add include_fields() and exclude_fields() importer methods
for convenience, to tweak field list at runtime
2019-02-14 10:34:29 -06:00
Lance Edgar
8ae12ca1dc Remove some old handler-less logic for emails
pretty sure this was only referenced by tailbone, which has been updated
2019-02-13 20:52:14 -06:00
Lance Edgar
332cc6db26 Refactor datasync consumer logic, for prettier email and retry support
hopefully i didn't even break anything!
2019-02-13 14:33:34 -06:00
Lance Edgar
ab591a2343 Update changelog 2019-02-12 14:05:25 -06:00
Lance Edgar
9a26b06952 Add convenience method Person.only_customer() 2019-02-12 14:04:10 -06:00
Lance Edgar
26a9d1c7ed Add --year arg for importer subcommands
use is of course optional, but seemed to make more sense to have a shared
command line arg for it
2019-02-11 18:09:07 -06:00
Lance Edgar
1719351495 Add time.first_of_year() convenience function 2019-02-11 17:43:26 -06:00
Lance Edgar
4323fde854 Fix help bug for export-rattail command
can't assume we have a config object
2019-02-08 15:43:36 -06:00
Lance Edgar
559d14eb21 Update changelog 2019-02-08 13:55:20 -06:00
Lance Edgar
e0ed547dfd Don't overwrite PO, invoice cost for purchase batch row upon refresh
once a value has been provided, it will stick, until e.g. edit occurs
2019-02-08 13:40:17 -06:00
Lance Edgar
fd1093c01f Introduce some new logic for "children first" truck dump receiving
needs more testing yet to see what's left...
2019-02-06 16:44:24 -06:00
Lance Edgar
09eba3e7df Allow suppression of stderr from pip freeze when running upgrade
to cut down on overnight noise, until can upgrade to python3
2019-02-06 14:29:06 -06:00
Lance Edgar
b5aef6d296 Update changelog 2019-02-05 17:27:56 -06:00
Lance Edgar
86a6e8212c Add app setting for background color 2019-02-03 14:40:09 -06:00
Lance Edgar
9588664e16 Don't consult DB settings when determining app node type
i.e. config file only for that
2019-02-02 21:45:45 -06:00
Lance Edgar
5ee378f224 Add config.node_type() convenience method 2019-02-02 21:43:33 -06:00
Lance Edgar
20e3d52a7c Add support for importing member, member contact data 2019-02-02 20:29:48 -06:00
Lance Edgar
b9fb388942 Add "node title" app setting 2019-02-02 20:29:22 -06:00
Lance Edgar
4318e11957 Update changelog 2019-01-31 16:49:23 -06:00
Lance Edgar
ae5f51e15f Improve logic for default repr(ModelBase) output
to take into account the fact that sometimes instance attribute names do not
match the underlying column names
2019-01-31 16:48:03 -06:00
Lance Edgar
ec12d7f69b Update changelog 2019-01-28 15:47:43 -06:00
Lance Edgar
d24cec45cb Tweak logic for fetching "runas user"
previous logic was raising error sometimes, when user wasn't configured etc.
new logic tries to just return None if user can't be found for whatever reason
2019-01-25 16:26:22 -06:00
Lance Edgar
16e5d54c98 Update changelog 2019-01-24 14:09:56 -06:00
Lance Edgar
513025021d Fix invoice parser for Albert's, per python3 2019-01-24 14:05:16 -06:00
Lance Edgar
80c5465b2e Update changelog 2019-01-22 15:05:55 -06:00
Lance Edgar
7a75d9f06c Tweak contrib UNFI invoice parser, for python3 support 2019-01-22 13:45:57 -06:00
Lance Edgar
ef691ef0f6 Update changelog 2019-01-21 17:12:23 -06:00
Lance Edgar
81a2dfa1f4 Tweak some label printing logic to support python 3 2019-01-21 16:23:24 -06:00
Lance Edgar
c6329cded6 Add python3 support for contrib KeHE vendor invoice parser 2019-01-21 16:06:37 -06:00
Lance Edgar
eb37e0fb6d Accept hours as decimal instead of delta, for util.pretty_hours() 2019-01-18 17:34:38 -06:00
Lance Edgar
49faad909d Update changelog 2019-01-17 12:46:26 -06:00
Lance Edgar
64c747432c Add generic rattail run-n-mail command
for use when the default system behavior won't let us define mail recipients
for e.g. 'at' job output emails
2019-01-17 12:45:15 -06:00
Lance Edgar
c8c0947f82 Add app settings for restart commands, for datasync/filemon daemons 2019-01-15 15:58:22 -06:00
Lance Edgar
f286bbe088 Update changelog 2019-01-10 18:03:01 -06:00
Lance Edgar
c03376115b Always refresh TD parent batch row, when transforming pack to unit 2019-01-09 14:17:58 -06:00
Lance Edgar
6d6beb4d3d Add extra_data text column to all batch tables
meant for handler to arbitrarily store JSON, or whatever is useful
2019-01-09 12:34:36 -06:00
Lance Edgar
b5a5a59eae Update changelog 2019-01-08 12:44:29 -06:00
Lance Edgar
01ec1fee0a Grow markup field for pricing batch rows, ever so slightly
whoops, this should have happened with previous commit
2019-01-08 12:36:43 -06:00
Lance Edgar
a46f04ac74 Grow markup field for pricing batch rows, ever so slightly
ugh, this wasn't precise enough for one client (previously), hopefully this is
good enough now...
2019-01-08 12:32:29 -06:00
Lance Edgar
48625253be Update changelog 2019-01-05 22:02:28 -06:00
Lance Edgar
52ebb9c15f Always set "runas" user when making DB session for command
hopefully this doesn't break anything..!
2019-01-02 14:13:03 -06:00
Lance Edgar
633fa3f4a8 Update changelog 2019-01-01 22:27:34 -06:00
Lance Edgar
ff19cb8f70 Fix some ORM backrefs for Member 2018-12-20 13:47:19 -06:00
Lance Edgar
d571811ed0 Add basic Member table
plus contact info, via ORM magic
2018-12-19 23:04:49 -06:00