Changeset 3fdd880 in rattail for rattail/db/model/batch/purchase.py


Ignore:
Timestamp:
05/14/18 16:16:41 (2 years ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
d3662fe
Parents:
80f84d2
Message:

Tweak schema for receiving batch, to allow for truck dump scenario

probably not quite done with required changes yet, but this much seems ready

File:
1 edited

Legend:

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

    r80f84d2 r3fdd880  
    7979    mode = sa.Column(sa.Integer(), nullable=False, doc="""
    8080    Numeric "mode" for the purchase batch, to indicate new/receiving etc.
     81    """)
     82
     83    truck_dump = sa.Column(sa.Boolean(), nullable=True, doc="""
     84    Flag indicating whether a "receiving" batch is of the "truck dump"
     85    persuasion, i.e.  it does not correspond to a single purchase order but
     86    rather is assumed to represent multiple orders.
    8187    """)
    8288
Note: See TracChangeset for help on using the changeset viewer.