Changeset d5efc51 in tailbone


Ignore:
Timestamp:
03/05/19 11:03:24 (6 months ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
75bea75
Parents:
3789e4b
Message:

Tweak the "incomplete" row filter for mobile receiving batch

this really is not ideal...hopefully good enough to limp along for a while yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tailbone/views/purchasing/receiving.py

    r3789e4b rd5efc51  
    7070            # looking for any rows with "ordered" quantity, but where the
    7171            # status does *not* signify a "settled" row so to speak
     72            # TODO: would be nice if we had a simple flag to leverage?
    7273            return query.filter(sa.or_(model.PurchaseBatchRow.cases_ordered != 0,
    7374                                       model.PurchaseBatchRow.units_ordered != 0))\
     
    7576                            model.PurchaseBatchRow.STATUS_OK,
    7677                            model.PurchaseBatchRow.STATUS_PRODUCT_NOT_FOUND,
    77                             model.PurchaseBatchRow.STATUS_TRUCKDUMP_CLAIMED)))
     78                            model.PurchaseBatchRow.STATUS_CASE_QUANTITY_DIFFERS)))
    7879
    7980        if value == 'invalid':
Note: See TracChangeset for help on using the changeset viewer.