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


Ignore:
Timestamp:
02/06/19 16:44:24 (16 months ago)
Author:
Lance Edgar <ledgar@…>
Branches:
master
Children:
e0ed547
Parents:
09eba3e
Message:

Introduce some new logic for "children first" truck dump receiving

needs more testing yet to see what's left...

File:
1 edited

Legend:

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

    r09eba3e rfd1093c  
    105105    persuasion, i.e.  it does not correspond to a single purchase order but
    106106    rather is assumed to represent multiple orders.
     107    """)
     108
     109    truck_dump_children_first = sa.Column(sa.Boolean(), nullable=True, default=False, doc="""
     110    If batch is a "truck dump parent", this flag indicates whether its
     111    "children" are to be attached *first* as opposed to *last*.  If the flag is
     112    true, all children must be attached prior to the receiving process.  If
     113    flag is false, receiving must happen first, and then all children attached
     114    at the end.
     115    """)
     116
     117    truck_dump_ready = sa.Column(sa.Boolean(), nullable=True, default=False, doc="""
     118    If batch is a "truck dump parent", this flag indicates whether it is
     119    "ready" for the actual receiving process.  If children are to be attached
     120    first, this flag should not be set until all children are attached.  If
     121    children are last, this flag should be set immediately upon batch creation.
    107122    """)
    108123
Note: See TracChangeset for help on using the changeset viewer.