Commit graph

2622 commits

Author SHA1 Message Date
Lance Edgar bd2b0fb44a Fix main version query, to remove duplicate results
at least, i hope this just fixes that and breaks nothing else...
2019-07-08 19:23:50 -05:00
Lance Edgar f5d8802d9f Stop using deprecated RattailConfig methods
although, in one instance what we're doing now is just as bad probably
2019-07-08 19:08:24 -05:00
Lance Edgar 34a268ceee Add RattailConfig.datadir() convenience method 2019-07-03 12:33:17 -05:00
Lance Edgar e57b52a0f0 Update changelog 2019-06-16 13:27:58 -05:00
Lance Edgar eaa6c2af60 Allow session to define client IP address for data versioning
still use "local machine" as fallback, since e.g. that would make the most
sense for changes introduced from shell commands
2019-06-15 19:01:37 -05:00
Lance Edgar 9c9021a879 Update changelog 2019-06-13 13:46:19 -05:00
Lance Edgar 8fc9a5c553 Add po_total_calculated columns for purchasing batch, row 2019-06-08 13:15:55 -05:00
Lance Edgar 22bd194edb Remove unused import 2019-06-05 14:29:21 -05:00
Lance Edgar 011a4fa086 Fix WinCE batch file parsing per python 3
hopefully didn't break for python 2 either, but less concerned about that now
2019-06-05 14:24:22 -05:00
Lance Edgar 9de789cd5d Copy item ID and UPC when refreshing row for pricing batch
since we're not really responsible for locating product, it seems
2019-05-30 13:17:18 -05:00
Lance Edgar 7787fe653b Update changelog 2019-05-09 17:08:40 -05:00
Lance Edgar b771cfd055 Add cache_model() convenience method for reports 2019-05-09 17:01:55 -05:00
Lance Edgar 11a5070a9c Update changelog 2019-05-09 12:31:52 -05:00
Lance Edgar 90797a64b1 Add support for "totals" row to basic Excel report output
also reorganizes the code a little, for clarity
2019-05-07 17:49:37 -05:00
Lance Edgar ad90449d51 Store report type key and params when generating new report 2019-05-07 17:13:27 -05:00
Lance Edgar 641ba5ab96 Update changelog 2019-05-07 15:00:33 -05:00
Lance Edgar ecf23fd3be Add generic ExcelReport base class 2019-05-06 15:26:09 -05:00
Lance Edgar 2523949825 Update changelog 2019-05-05 20:15:00 -05:00
Lance Edgar 1a0d45dcd7 Add basic support for custom number formats, in Excel writer 2019-05-05 15:07:28 -05:00
Lance Edgar 217efdb94a Update changelog 2019-04-30 20:37:44 -05:00
Lance Edgar e3344ea141 Remove debug print statement 2019-04-29 09:24:19 -05:00
Lance Edgar 42585a9052 Add --kwargs argument for batch execution command line
for passing extra options to the handler when executing
2019-04-29 09:05:58 -05:00
Lance Edgar cafba6f218 Update changelog 2019-04-26 17:04:44 -05:00
Lance Edgar a43d46220a Assign continuum versioning author when executing any batch 2019-04-26 16:58:57 -05:00
Lance Edgar 79c1dee63f Remove redundant setup when populating vendor catalog batch
handler now invokes this via `do_populate()`
2019-04-26 10:36:08 -05:00
Lance Edgar e350245d4e Update changelog 2019-04-25 14:47:42 -05:00
Lance Edgar c2154b9f91 Add category, family, report code for generic product batch 2019-04-23 22:50:32 -05:00
Lance Edgar 0b926197dc Fix data encoding when writing to progress socket for python3 2019-04-19 17:28:16 -05:00
Lance Edgar 437230b958 Add generic "products" batch type, can convert to labels or pricing batch 2019-04-19 13:21:31 -05:00
Lance Edgar 8fa7c6e732 Add vendor item code, family code etc. for pricing batch
sometimes folks need to see all of that
2019-04-18 18:21:08 -05:00
Lance Edgar 1d10114327 Add "allowance" fields for Vendor Catalog batches
default handler doesn't do anything with these, yet at least
2019-04-18 17:01:45 -05:00
Lance Edgar 1b047286ec Add 'newproduct' batch for importing new items from e.g. spreadsheet 2019-04-17 21:48:04 -05:00
Lance Edgar c798e04864 Comment out app_title in base_meta for new project template 2019-04-17 14:48:07 -05:00
Lance Edgar f03413b8b1 Update changelog 2019-04-12 15:59:29 -05:00
Lance Edgar 96322461ec Add Employee.get_current_history() convenience method
should return the "currently active" history record, or the most "recent" one
if none is currently active
2019-04-12 12:54:02 -05:00
Lance Edgar db251fafba Update changelog 2019-04-04 16:57:28 -05:00
Lance Edgar fdddbda138 Let handler create importers for datasync consumer
turns out the "bug" wasn't in rattail
2019-04-04 16:40:41 -05:00
Lance Edgar 76f4a457b3 Update changelog 2019-04-04 13:35:16 -05:00
Lance Edgar dd51e74e5c Make sure importer knows "direction" when used within datasync
i.e. set importer direction to match handler, when first instantiating

ideally we could just let the handler itself create the importer, i.e. in the
same way as is done for command line imports, but for some reason when
i (briefly) tried that it prevented datasync from starting up properly...
2019-04-04 13:33:14 -05:00
Lance Edgar 7ed5ebc07c Update changelog 2019-04-03 22:12:42 -05:00
Lance Edgar cea7e94508 Set importer direction early, in case supported_fields needs it
sometimes the supported field list may depend on target system, e.g. not all
data needs to go to all nodes
2019-04-03 22:11:06 -05:00
Lance Edgar 883df8fa77 Remove deprecated web menu template in new project template
we always use "simple" menus by default now
2019-04-02 21:55:25 -05:00
Lance Edgar 15d110a8f9 Update changelog 2019-04-02 15:14:32 -05:00
Lance Edgar aa74623e05 Use shipped instead of ordered, for setting purchase batch row status
i.e. when "shipped vs. received differ"
2019-04-01 13:30:26 -05:00
Lance Edgar 1d05f73bfe Use "shipped" instead of "ordered" for truck dump child row "claims"
i.e. if 1 CS is received, that should count against the *shipped* quantity and
not the "ordered" quantity.  if shipped is not explicitly stated on the
invoice, its value should be copied from the ordered quantity
2019-04-01 13:18:40 -05:00
Lance Edgar 850c197834 Update changelog 2019-03-29 12:49:27 -05:00
Lance Edgar 7447357321 Add can_declare_credit() method for purchase batch handler
only relevant for receiving batches? anyway needed for validating such an
action, prior to actually taking it
2019-03-27 21:04:19 -05:00
Lance Edgar 3746c1b510 Allow "loose" product matching between truck dump parent and child
i.e. for sake of claiming rows between the two
2019-03-27 19:57:09 -05:00
Lance Edgar 50768ed573 Add new 'reporting' mini-framework
just does some basic stuff, but useful nonetheless to consolidate logic
2019-03-27 18:36:52 -05:00
Lance Edgar 86c3621d4d Some improvements to basic project template 2019-03-24 17:19:26 -05:00