Lance Edgar
8a535b6cf5
Auto-create "missing" credits for product not accounted for, when receiving
...
i.e. at batch execution time, anything "ordered" but not accounted for will be
turned into a credit record
2019-03-05 11:02:00 -06:00
Lance Edgar
9df0f004a5
Don't raise error if "removing" a batch row which was already "removed"
...
just let caller assume the row was removed okay
2019-03-02 18:33:03 -06:00
Lance Edgar
ed6ef1efe9
Make "auto receive all" logic smarter, to handle split cases
...
also fix a bug within `receive_row()` logic, for split case calculation
2019-03-02 18:09:40 -06:00
Lance Edgar
0b889423b5
Update receiving batch logic to leverage new truck_dump_status
...
missed some things in recent commit(s)...
2019-03-02 18:08:52 -06:00
Lance Edgar
57d142773f
Account for split cases in claimed/pending tallies for truck dump children
2019-03-01 12:06:27 -06:00
Lance Edgar
a60b4f3700
Add "truck dump status" fields for purchase batch, row
...
this is a separate concern really, from common "status code" fields. although
we can keep using existing enum values
2019-03-01 11:54:16 -06:00
Lance Edgar
277334e8e8
Add improved logic for finding/updating row children for truck dump
...
i.e. during the "receive row" process on the parent
2019-03-01 10:46:15 -06:00
Lance Edgar
5cff218bb8
Add first implementation of receive_row()
for purchase batch handler
...
this logic *should* be a copy/paste essentially, from tailbone
2019-02-28 15:53:36 -06:00
Lance Edgar
f44a8216f0
Fix start year for copyright in docs
2019-02-28 12:59:10 -06:00
Lance Edgar
cf512e7229
Bump copyright year, "short" version for docs
2019-02-28 12:58:21 -06:00
Lance Edgar
67d801e344
Add some basic docs for "product receiving" features
...
pretty sure more detail is needed, but a decent starting point
2019-02-28 12:42:13 -06:00
Lance Edgar
396a48eb49
Add mark_complete()
and mark_incomplete()
methods for batch handler
2019-02-26 17:59:40 -06:00
Lance Edgar
7bfed95b73
Refresh receiving batch after "auto-receiving" all items
2019-02-26 17:46:55 -06:00
Lance Edgar
0ab553cc4b
Tweak how we create config parser object, for python 3 vs. 2
...
per some deprecation warnings
2019-02-25 20:09:33 -06:00
Lance Edgar
dc322cc40f
Update changelog
2019-02-25 18:16:15 -06:00
Lance Edgar
bc96bce260
Tweak CSV parsing for new handheld batch, per python3
2019-02-25 18:15:35 -06:00
Lance Edgar
dbb42a3858
Update changelog
2019-02-22 16:01:45 -06:00
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