Commit graph

3860 commits

Author SHA1 Message Date
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
Lance Edgar fa30c21c69 Fix a bug with win32 filemon when watching for locks
We weren't being notified of deleted folders, which the new
`locking_copy()` makes use of.  Old behavior when using locking_copy for
Linux -> Win32 was apparently using a lock 'file' instead of folder..
This change should mean both old and new behavior are supported.
2016-10-26 16:06:53 -05:00
Lance Edgar 1cf154fee8 Add workaround for Employee importer, if no Person is attached
Not real sure I understand what happened, but I think this should fix it...
2016-10-26 10:26:27 -05:00
Lance Edgar 7bd26744c7 Fix permission checks, add 'become root' for web menu in scaffold 2016-10-25 18:14:06 -05:00
Lance Edgar 5eee9ea681 Fix .gitignore filename in project scaffold 2016-10-25 18:13:48 -05:00
Lance Edgar 50a12c9f8b Improve mysql.install(), tweak rsync() in fablib 2016-10-24 16:43:55 -05:00
Lance Edgar 023f870d2d Add some more goodies to fablib.shinken module 2016-10-21 20:51:58 -05:00
Lance Edgar 7b3e4533bb Add ssh.cache_host_key() function for fablib 2016-10-20 17:48:50 -05:00
Lance Edgar b87fb89e5a Always install some common "build" things with pip 2016-10-20 17:48:08 -05:00
Lance Edgar d26cb37fa1 Handle the default site specially, when deploying for apache
Fix the name for apache 2.4 and don't enable
2016-10-20 17:47:26 -05:00
Lance Edgar 97d2a60386 Add fablib.agent_sudo() function 2016-10-20 01:17:32 -05:00
Lance Edgar f7907ad696 Tweak some things in fablib 2016-10-20 01:14:24 -05:00
Lance Edgar cac869d770 Pass apache_version context when deploying apache site 2016-10-19 19:05:04 -05:00
Lance Edgar d48e145a91 Add deploy.apache_conf() for fablib 2016-10-19 16:53:13 -05:00
Lance Edgar e83f87afdc Add deploy.apache_site() for fablib 2016-10-19 16:43:25 -05:00
Lance Edgar 243d971e95 Add postfix.set_relayhost() in fablib 2016-10-19 16:43:08 -05:00
Lance Edgar 8484382ec6 Add get_ubuntu_version() and apt.install_emacs() in fablib 2016-10-19 16:42:44 -05:00