Lance Edgar
ff9b2593d5
Add "non-creditable" status for purchase credit
2018-06-27 16:47:25 -05:00
Lance Edgar
938c29d5b7
Add credit_total
field for (batch) purchase credits
2018-06-27 15:19:18 -05:00
Lance Edgar
78a2e6a01e
Whoops, only show subcommand help if we know user asked for it
2018-06-27 14:12:55 -05:00
Lance Edgar
adb85b8b19
Show subcommand help as early as possible
...
e.g. `rattail import-rattail -h' was causing logging to be configured, which
can often fail if no config file is given
2018-06-27 14:09:16 -05:00
Lance Edgar
abbce277cd
Allow user to overwrite unit cost for inventory batch rows
...
also, allow unit cost to be zero
2018-06-27 13:55:32 -05:00
Lance Edgar
e44e830d98
Fix bug when setting status text for vendor catalog row
2018-06-27 12:19:01 -05:00
Lance Edgar
c83715706e
Update changelog
2018-06-18 17:16:56 -05:00
Lance Edgar
9177915191
Add --max-diffs
arg for importer commands
...
to affect how many diffs are rendered for warning emails
2018-06-18 17:07:05 -05:00
Lance Edgar
e8b946cb48
Update changelog
2018-06-18 15:24:52 -05:00
Lance Edgar
bc2fa5044f
Add index on upload_time
for Trainwreck transaction table
2018-06-18 15:23:45 -05:00
Lance Edgar
82afc53fb8
Add rattail.time.get_monday()
convenience function
2018-06-18 15:22:20 -05:00
Lance Edgar
8711c331bf
Update changelog
2018-06-14 12:17:40 -05:00
Lance Edgar
1d8ca3bce3
Add exempt_from_gross_sales
flag for department and trainwreck line item
2018-06-14 12:03:59 -05:00
Lance Edgar
2f78be1d38
Add ExcelWriter.auto_resize()
method
...
tries to auto-size all column widths according to simple data length
2018-06-13 20:59:35 -05:00
Lance Edgar
790c41165d
Add docstrings for Category table
2018-06-13 20:37:13 -05:00
Lance Edgar
870fac5798
Cache categories by code instead of number
...
only one place which i know is affected... most code should just cache their
own data instead of using these classes anyway
2018-06-13 20:30:14 -05:00
Lance Edgar
2bf88727c5
Fix bug when --max-delete
used for importer commands
...
when limit is reached, command should stop but should not fail
2018-06-11 12:42:03 -05:00
Lance Edgar
1bb58ce571
Update changelog
2018-06-09 16:57:48 -05:00
Lance Edgar
cc5e1c9b8d
Add Customer.one_person()
convenience method
2018-06-09 16:38:39 -05:00
Lance Edgar
1a786c6557
Add update-costs
command for making future costs become current
...
this just assumes any future cost which starts "before now" is game
2018-06-07 16:47:03 -05:00
Lance Edgar
99787d19c8
Update changelog
2018-06-07 14:31:03 -05:00
Lance Edgar
065b0312bb
Add versioning workaround support for batch actions
...
* commands accept `--versioning`, `--no-versioning` args
* use `finish()` progress method when ending a loop
* add `SocketProgress` (and `FileProgress`)
* commands accept `--progress-socket` arg
* add `do_*()` handler methods, for wrapping main actions
* populate, refresh, execute of batch may be done via command line
* handler declares which action(s) may (not) be done with versioning
* handler declares which version models to catch-up after execute
2018-06-07 12:37:39 -05:00
Lance Edgar
bac7ebab7e
Don't record changes for any model ending in 'Version'
2018-06-07 12:35:00 -05:00
Lance Edgar
0effd0b3b8
Allow config to force the To: address for all generated emails
...
useful for demo, dev etc.
2018-06-04 19:07:17 -05:00
Lance Edgar
38d0f10ad9
Set continuum username for all datasync watchers, if present
2018-06-04 18:23:34 -05:00
Lance Edgar
175a5ff330
Update changelog
2018-06-04 14:07:53 -05:00
Lance Edgar
17f61dec13
Make some importers smarter when dealing with NULL primary key values
2018-06-01 15:03:21 -05:00
Lance Edgar
35e05d385b
Add normalize_lastrun()
convenience method for datasync watchers
2018-06-01 15:02:59 -05:00
Lance Edgar
d6c8aff9e7
Add "null" datasync consumer
...
can sometimes be useful for testing new watchers...
2018-06-01 15:02:35 -05:00
Lance Edgar
5230d38176
Add Vendor.abbreviation
to schema
2018-06-01 15:02:21 -05:00
Lance Edgar
9683d4d978
Add 'hidden' flag for inventory adjustment reasons
...
don't show those when prompting user for a reason
2018-06-01 13:00:42 -05:00
Lance Edgar
579ef8b519
Update changelog
2018-05-30 16:34:39 -05:00
Lance Edgar
35a415566b
Add initial support for "variance" inventory batch mode
...
probably still incomplete at this point..?
2018-05-30 11:47:18 -05:00
Lance Edgar
436b38c396
Update changelog
2018-05-25 13:18:14 -05:00
Lance Edgar
8323d2a6f8
Add --key
arg for importer commands
...
so user may override primary key used for a particular import
2018-05-25 13:13:59 -05:00
Lance Edgar
41da3e6ae8
Add runsql
command, mostly for dev use
...
at least for now? kind of in a rush at the moment
2018-05-23 20:35:32 -05:00
Lance Edgar
ddca6b7d9b
Fix assertion bug
2018-05-18 16:06:15 -05:00
Lance Edgar
225a0ba380
Add "most of" support for truck dump receiving
2018-05-18 15:44:02 -05:00
Lance Edgar
d3662fe55d
Add BatchHandler.remove_row()
method
...
also tweak default refresh/remove row methods for purchase batch
2018-05-14 16:17:36 -05:00
Lance Edgar
3fdd880f0a
Tweak schema for receiving batch, to allow for truck dump scenario
...
probably not quite done with required changes yet, but this much seems ready
2018-05-14 16:16:41 -05:00
Lance Edgar
80f84d2a95
Improve default handler logic for purchase batches
...
add support for receiving into inventory (and reducing "on order") etc.
2018-05-03 18:12:14 -05:00
Lance Edgar
2c7e7c0e8c
Add RattailConfig.single_store()
convenience method
...
for determining if system is associated with a single store
2018-05-03 10:53:30 -05:00
Lance Edgar
316903e890
Update changelog
2018-04-12 19:28:39 -07:00
Lance Edgar
35f66e9018
Add ProductFutureCost
table, future mode for vendor catalog batch
2018-04-10 09:06:20 -07:00
Lance Edgar
4a46439f2b
Update changelog
2018-04-09 13:13:37 -07:00
Lance Edgar
d8cb7cea83
Add new status options for vendor catalog rows, tie back to existing cost
...
i.e. where relevant, keep a reference to the cost record each row should be
updating when the batch executes
2018-04-06 09:49:17 -07:00
Lance Edgar
c3543b6537
Use common product mixin for VendorCatalogRow
model
2018-04-05 20:17:51 -07:00
Lance Edgar
aa7315c0e4
Add a bit of docs for ExcelReader
2018-04-05 15:20:55 -07:00
Lance Edgar
07d6bc08d5
small change to test buildbot
2018-04-03 09:04:33 -07:00
Lance Edgar
9e4155eff1
Add Email.dynamic_to
flag, to improve admin config UI
2018-04-01 17:13:21 -07:00