Commit graph

3326 commits

Author SHA1 Message Date
Lance Edgar
fee65b6d6d Add support for generic pricing batch
This does very little on its own, customization required
2016-11-21 19:34:31 -06:00
Lance Edgar
982f925be4 Update changelog 2016-11-21 14:37:59 -06:00
Lance Edgar
76da7e7193 Cleanup refresh logic a bit, for vendor invoice batches 2016-11-21 14:36:31 -06:00
Lance Edgar
d96d22ab68 Add initial support for 'costing' mode for purchase batches 2016-11-21 03:36:41 -06:00
Lance Edgar
4592c96fb5 Add support for 'receiving' mode for purchase batches 2016-11-21 01:03:15 -06:00
Lance Edgar
eba0833660 Add mode, purchase relation to purchase batches 2016-11-20 17:46:12 -06:00
Lance Edgar
28d5bb325b Update changelog 2016-11-19 21:01:08 -06:00
Lance Edgar
a28ee39491 Tweak label batch so that product-less rows are allowed 2016-11-19 21:00:14 -06:00
Lance Edgar
6166f68f1a Update changelog 2016-11-19 19:47:22 -06:00
Lance Edgar
f25115bc6f Remove old batch stuff from docs...sort of, for now
Just to get the buildbot to pass.  New batch framework still needs docs..
2016-11-19 18:52:21 -06:00
Lance Edgar
30538df97b Overhaul the new batch framework...
Now `rattail.batch` is the home of all batch handler logic, and
`rattail.db.model.batch` is where all the models live.  Lots of
related changes too...
2016-11-19 18:27:01 -06:00
Lance Edgar
7f22681d13 Update changelog 2016-11-17 12:44:32 -06:00
Lance Edgar
6a4698242a Delete vendor contact record when deleting associated person 2016-11-17 12:42:53 -06:00
Lance Edgar
0a022e83a2 Add RattailConfig.get_enum() method 2016-11-15 21:41:27 -06:00
Lance Edgar
5981b07d3b Update changelog 2016-11-15 19:34:48 -06:00
Lance Edgar
36a576dfd5 Fix wording for label batch row status 2016-11-15 19:34:02 -06:00
Lance Edgar
0d320ce176 Update changelog 2016-11-14 17:50:23 -06:00
Lance Edgar
cbcb486be5 Add support for importing Product.category_code 2016-11-14 17:48:19 -06:00
Lance Edgar
69ca1abad7 Make 'rattail.pod' config a bit more sane 2016-11-11 22:15:03 -06:00
Lance Edgar
c9271dc4db Make ProductCost.case_size a decimal instead of integer
Let's face reality here...
2016-11-11 19:34:53 -06:00
Lance Edgar
016f774f73 Add Person._vendor_contacts relationship 2016-11-11 16:55:22 -06:00
Lance Edgar
7ff783222c Add Vendor.fax_number convenience property 2016-11-11 01:54:17 -06:00
Lance Edgar
a8489535d8 Update changelog 2016-11-10 17:36:10 -06:00
Lance Edgar
e969a8d38b Add session.no_autoflush block when importer creates new SQLAlchemy object
That way we can assign other session-managed ORM instances as properties
to the new object and not worry about premature flush
2016-11-09 16:56:10 -06:00
Lance Edgar
8a2aab41a3 Update changelog 2016-11-08 19:36:13 -06:00
Lance Edgar
0f423c337d Improve relationship between product and batch rows which reference it
When we delete a product, all batch rows should have their reference
blanked out.
2016-11-08 19:32:49 -06:00
Lance Edgar
2900afc5cc Add include_deleted flag to product lookup api
By default we do *not* want to include deleted products in lookup
2016-11-08 19:32:13 -06:00
Lance Edgar
e917bf4cf9 Add 'complete' flag for new purchase batches, to help with workflow 2016-11-08 12:55:46 -06:00
Lance Edgar
0135dea360 Add ability for label batch to print only "active" product rows 2016-11-08 11:09:06 -06:00
Lance Edgar
c2c75ba83d Ignore removed rows when refreshing/executing purchase batch 2016-11-07 20:39:32 -06:00
Lance Edgar
1e69fb260c Add support for making new label batch from CSV file 2016-11-07 15:04:41 -06:00
Lance Edgar
2725f55e4a Add support for creating label batch from products query, etc. 2016-11-06 23:30:33 -06:00
Lance Edgar
f6ea37205d Add basic support for label batches, and creating from handheld batch 2016-11-06 20:50:29 -06:00
Lance Edgar
494d53e73a Add Purchase and PurchaseBatch data models, etc.
A bit of refactoring here and there to accommodate some new patterns also.
2016-11-06 12:48:00 -06:00
Lance Edgar
9f971d6013 Tweak signature for util.progress_loop() for simplicity 2016-11-06 12:34:16 -06:00
Lance Edgar
b08ffad0b2 Update changelog 2016-11-04 16:43:55 -05:00
Lance Edgar
e658c2b044 Add importing.FromDjango base class 2016-11-04 16:42:19 -05:00
Lance Edgar
e5310f7256 Tweak console progress a bit 2016-11-04 00:35:21 -05:00
Lance Edgar
fa3130b242 Update changelog 2016-11-01 10:27:55 -05:00
Lance Edgar
a3945b22cc Fix bug in util.progress_loop() when no progress factory provided 2016-11-01 10:26:42 -05:00
Lance Edgar
3720ee56c9 Update changelog 2016-10-31 12:06:16 -05:00
Lance Edgar
00242f48cc Fix bug in customer importer when used via datasync 2016-10-31 12:05:20 -05:00
Lance Edgar
343cffa1be Update changelog 2016-10-27 18:58:32 -05:00
Lance Edgar
804fa389a8 More model import refactoring to support datasync 2016-10-27 16:39:55 -05:00
Lance Edgar
85ec60e933 Fix timing bug when importing new product cost data 2016-10-27 16:15:37 -05:00
Lance Edgar
4eb6389cf1 Refactor some rattail model importers so datasync may leverage them 2016-10-27 15:53:31 -05:00
Lance Edgar
3097312b7f Add basic docs for rattail.importing package
Also `rattail.db.cache` but that's not much..and the importing docs are
hardly polished yet.
2016-10-26 20:47:09 -05:00
Lance Edgar
ca94aa600e Add datasync.watchers.NullWatcher, auto-triggered by 'null' watcher spec
This lets some consumer(s) still process change data, when the changes
are added to the queue by some other process, e.g. filemon.
2016-10-26 19:57:39 -05:00
Lance Edgar
a6ab862651 Improve handling of Albert's invoice when item has no case quantity
Now there is a new "has no case quantity" status for vendor invoice
batch rows, which will be displayed with warning.  The Albert's invoice
parser was tweaked to let case quantity be null, if the source file does
not contain one for an item.
2016-10-26 17:55:22 -05:00
Lance Edgar
738552e7ff Update changelog 2016-10-26 16:10:52 -05:00