Changeset e7482ac in rattail for rattail/db/model/batch/purchase.py


Ignore:
Timestamp:
08/02/18 16:53:50 (22 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
0bda93a
Parents:
976d7ff
Message:

Tweak how we set receiving batch status

add another status code, plus use "ok" for empty truck dump parent

File:
1 edited

Legend:

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

    r976d7ff re7482ac  
    6060    STATUS_TRUCKDUMP_UNCLAIMED  = 3
    6161    STATUS_TRUCKDUMP_CLAIMED    = 4
     62    STATUS_UNKNOWN_COSTS        = 5
    6263
    6364    STATUS = {
    6465        STATUS_OK                       : "ok",
    6566        STATUS_UNKNOWN_PRODUCT          : "has unknown product(s)",
     67        STATUS_UNKNOWN_COSTS            : "has unknown product cost(s)",
    6668        STATUS_TRUCKDUMP_UNCLAIMED      : "not yet fully claimed",
    6769        STATUS_TRUCKDUMP_CLAIMED        : "fully claimed by child(ren)",
Note: See TracChangeset for help on using the changeset viewer.