Commit graph

72 commits

Author SHA1 Message Date
Lance Edgar 2a04caaf99 Make product UPC search view strip non-digit chars from input.
This is to accomodate the apparently frequent use case of copy/paste which
includes the check digit as a "-X" type suffix.
2014-12-18 15:43:49 -06:00
Lance Edgar 8bf292ebac Remove some more edbob cruft. 2014-11-18 23:00:24 -06:00
Lance Edgar b2aa45ceb0 Fix bugs when configuring database session within threads.
This got missed during a recent refactor.
2014-11-11 10:48:48 -06:00
Lance Edgar 5b173dd9bc Change session progress API.
Breaks compatibility, but worth it I think..
2014-11-02 20:48:22 -06:00
Lance Edgar 4a598bd360 Add explicit session config within batch threads.
This may not be particularly necessary in general, but this change is
required to match previous functionality.
2014-11-02 19:40:14 -06:00
Lance Edgar 9d2a35c8b1 Refactor some label printing stuff, per rattail changes.
This had to do with some edbob removal.
2014-09-13 19:16:25 -07:00
Lance Edgar dfb5e83c7e Add support for Product.not_for_sale flag.
This involved a couple of ancillary changes:

* The price field renderer will not display a price for products marked not
  for sale.

* The "grid" class now allows specifying a custom callable to provide
  additional CSS class for table rows.

* The products grid uses this to add a "not-for-sale" class to table rows
  for products which are marked thusly.
2014-09-10 19:38:49 -07:00
Lance Edgar 6943298ee0 Add product report codes to the UI. 2014-07-12 16:03:31 -07:00
Lance Edgar 8cf5605e8e Remove some edbob references. 2014-06-12 22:07:34 -07:00
Lance Edgar 389bb5dcc6 Add POD image support to product view page. 2014-04-13 17:54:22 -07:00
Lance Edgar 087342b09c Add Family and Product.family to the general grid/crud UI. 2014-04-13 00:04:30 -07:00
Lance Edgar e4ef46d4fc Fix vendor filter/sort issues in products grid. 2014-04-12 19:14:14 -07:00
Lance Edgar d6f2b1afb1 Use global Session from rattail (again). 2014-02-15 19:27:22 -08:00
Lance Edgar c6d01e0205 Add SessionProgress class. 2014-01-28 22:14:11 -08:00
Lance Edgar 7638020aa0 Removed reliance on global rattail.db.Session class. 2013-12-18 21:13:03 -08:00
Lance Edgar 650e6389e5 Added Product.family to CRUD view. 2013-10-11 14:15:43 -07:00
Lance Edgar 9f8a3d3a5c Refactored AutocompleteFieldRenderer.
Also improved some organization of renderers.
2013-09-21 15:02:55 -07:00
Lance Edgar 23e08d0bb0 Fixed grid join map bug. 2013-09-20 15:49:48 -07:00
Lance Edgar 685b391dd2 Added products.search route/view.
This is for simple AJAX uses.
2013-09-20 14:54:27 -07:00
Lance Edgar 047c35ab75 Changed vendor filter in product search to find "any vendor".
I.e. the current filter is ''not'' restricted to the preferred vendor only.
Probably should still add one (back) for preferred only as well; hence the
commented code.
2013-09-10 06:35:17 -07:00
Lance Edgar 2a50e704ef Major overhaul for standalone operation.
This removes some of the `edbob` reliance, as well as borrowing some templates
and styling etc. from Dtail.
2013-09-01 15:31:50 -07:00
Lance Edgar 40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00
Renamed from rattail/pyramid/views/products.py (Browse further)