Commit graph

2937 commits

Author SHA1 Message Date
Lance Edgar 21172121aa Add a test for config.parse_list() with single quotes 2020-06-16 16:40:36 -05:00
Lance Edgar ebd65a8ef9 Remove 'fixture' use within tests; plus fix some tests 2020-06-16 16:39:41 -05:00
Lance Edgar 8a6c147cf4 Update changelog 2020-05-28 12:20:43 -05:00
Lance Edgar a095f14eea Add some indexes, to optimize profile view 2020-05-28 12:08:49 -05:00
Lance Edgar 1c75fc05a0 Add require kwarg for Person.only_customer() method 2020-05-20 19:08:28 -05:00
Lance Edgar b7d073d1d1 Update changelog 2020-05-20 15:52:08 -05:00
Lance Edgar d1ec6389b1 Add "safe" param logic for decimal report params 2020-05-19 12:40:53 -05:00
Lance Edgar c0ebe243df Add "shelved" flag for pricing batches 2020-05-18 14:41:50 -05:00
Lance Edgar 92df60b5f8 Update changelog 2020-04-17 12:17:30 -05:00
Lance Edgar 6bfc0ba59f Change method call to allow for simpler signature 2020-04-15 20:52:18 -05:00
Lance Edgar b4475a584c Add generic FromFile importer base class 2020-04-15 19:14:38 -05:00
Lance Edgar bbb76c500f Add support for extra header rows, for Excel reader
data doesn't always start right after main header row
2020-04-15 19:12:27 -05:00
Lance Edgar 0a1e9d1229 Update changelog 2020-04-06 13:16:41 -05:00
Lance Edgar b5d343c6ce Add setting to disable old/legacy jQuery mobile app 2020-04-04 20:52:04 -05:00
Lance Edgar d26c67fabc Add "quick entry" logic for inventory batch handler
moved from tailbone
2020-03-29 15:20:19 -05:00
Lance Edgar f56a6138bf Add find_row_for_product() method to inventory batch handler
moved from tailbone
2020-03-29 15:20:15 -05:00
Lance Edgar db031f45de Add get_type2_product_info() method for inventory batch handler
no implementation by default, but interface should include it
2020-03-29 14:30:01 -05:00
Lance Edgar 43251d57c1 Add inventory batch logic for getting available "adjustment reasons" 2020-03-29 13:42:59 -05:00
Lance Edgar 63f1fe044a Add inventory batch logic to determine which count modes are available
moved from tailbone, but improved somewhat
2020-03-29 13:38:11 -05:00
Lance Edgar d2a43f14df Add inventory batch logic to say if products should be aggregated
moved from tailbone
2020-03-29 13:33:29 -05:00
Lance Edgar 534615816f Add flag for handling unknown product in inventory batch
moved from tailbone
2020-03-29 13:08:48 -05:00
Lance Edgar 8e312d7746 Add logic for (dis)allowing case input for inventory batches
moved from tailbone
2020-03-29 13:03:38 -05:00
Lance Edgar 2b37c5b9f1 Add flags to allow variance, zero inventory count modes in batch handler
moving these from tailbone
2020-03-29 12:43:54 -05:00
Lance Edgar ab71d87367 Add get_output_filename() method for ToFile exporters 2020-03-27 18:18:06 -05:00
Lance Edgar 76321e6fa6 Add way for report to provide available "choices" for any param 2020-03-26 15:23:24 -05:00
Lance Edgar a338d497e3 Add Role.notes field to schema 2020-03-23 19:53:37 -05:00
Lance Edgar b01f2b2b51 Small tweaks to CSV exporter logic
for sake of CORE-POS -> CSV
2020-03-23 19:28:12 -05:00
Lance Edgar 323eb81c1f Add Product.get_default_pack_item() convenience method 2020-03-22 18:31:11 -05:00
Lance Edgar 26a561ff21 Add --borg-tag arg for rattail backup command
idea here is to create a "tagged" backup archive whenever migrating a server
etc., just to have a dedicated snapshot of pre-migration
2020-03-22 13:00:50 -05:00
Lance Edgar 6e16e48893 Copy PO total from purchase object, when making new receiving batch 2020-03-20 14:39:50 -05:00
Lance Edgar 8d75fd7093 Improve logic for making new Receiving batch from PO
i.e. for the "native" use case
2020-03-20 13:34:39 -05:00
Lance Edgar 29d7350722 Fix how we assign Purchase.total when executing an ordering batch 2020-03-19 14:36:09 -05:00
Lance Edgar cedcbcae4c Update changelog 2020-03-18 23:42:18 -05:00
Lance Edgar 2c3f51fadc Add Customer.first_person() convenience method 2020-03-18 13:14:03 -05:00
Lance Edgar b3dda50b65 Add Member.number to schema 2020-03-18 12:28:26 -05:00
Lance Edgar 7a4e445c24 Add version importers for member data 2020-03-18 11:45:43 -05:00
Lance Edgar 0228454337 Declare the Member model to be a "contact" for related magic
also, replace `Person.member` with `Person.members` - and do the same for
Customer model also, since we have no reason to assume only one
2020-03-18 11:25:37 -05:00
Lance Edgar 93702041bb Add ContactMixin for Rattail importers; use with Customer and Person 2020-03-17 18:47:25 -05:00
Lance Edgar 11c6f482e5 Manually assign UUID for new person in some cases, when importing
i.e. when must connect them to a customer
2020-03-16 20:26:59 -05:00
Lance Edgar e3dadcf32b Add "customer fields" for Person importer
to allow a simple "one to one" association for Customer/Person
2020-03-16 19:43:10 -05:00
Lance Edgar 10230aa5fe Stash a reference to handler instance, when creating datasync consumer
at least, i can't see why not to do that...
2020-03-15 14:26:19 -05:00
Lance Edgar 4c0af99baf Fix the Subdepartment importer per real-time datasync use 2020-03-15 14:24:56 -05:00
Lance Edgar 50924da9d6 Add revoke_permission() convenience auth function 2020-03-15 11:38:39 -05:00
Lance Edgar a7e79c9062 Add setting for display of POD images in Tailbone 2020-03-14 16:37:28 -05:00
Lance Edgar e7c34cb9e1 Tweak to fix a test 2020-03-13 16:26:11 -05:00
Lance Edgar dc6ef1f214 Sever the "backref" tie for Person._customers
per latest SQLAlchemy which warns of deprecation, and since i don't believe the
backref was specifically needed in this case

cf. https://docs.sqlalchemy.org/en/13/changelog/changelog_13.html#change-7fb56b0269d9a13d31cc33857913a961
2020-03-13 16:13:41 -05:00
Lance Edgar 1406eec4ca Add some logging when running an upgrade command
need some warning/clue when the upgrade fails during EOD
2020-03-12 12:36:33 -05:00
Lance Edgar d0f4993985 Update changelog 2020-03-11 13:31:16 -05:00
Lance Edgar 11ffde2c49 Add logic for Order Form worksheet, in purchase batch handler
i.e. get this out of Tailbone!
2020-03-06 19:49:38 -06:00
Lance Edgar fad875c3cf Update changelog 2020-03-05 13:02:59 -06:00