Changeset 88b089c in rattail for rattail/db/model/batch/purchase.py


Ignore:
Timestamp:
09/25/18 19:11:34 (20 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
30065c3
Parents:
f287636
Message:

Add basic "out of stock" awareness for vendor invoices, receiving

this probably needs some work yet, we'll see

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/db/model/batch/purchase.py

    rf287636 r88b089c  
    174174    STATUS_ORDERED_RECEIVED_DIFFER      = 6
    175175    STATUS_TRUCKDUMP_UNCLAIMED          = 7
    176     STATUS_TRUCKDUMP_PARTCLAIMED        = 11
    177176    STATUS_TRUCKDUMP_CLAIMED            = 8
    178177    STATUS_TRUCKDUMP_OVERCLAIMED        = 9
    179178    STATUS_CASE_QUANTITY_DIFFERS        = 10
     179    STATUS_TRUCKDUMP_PARTCLAIMED        = 11
     180    STATUS_OUT_OF_STOCK                 = 12
    180181
    181182    STATUS = {
     
    191192        STATUS_TRUCKDUMP_CLAIMED        : "fully claimed by child(ren)",
    192193        STATUS_TRUCKDUMP_OVERCLAIMED    : "OVER claimed by child(ren)",
     194        STATUS_OUT_OF_STOCK             : "out of stock",
    193195    }
    194196
Note: See TracChangeset for help on using the changeset viewer.