Changeset 72d1b07 in rattail for rattail/db/model/batch/pricing.py


Ignore:
Timestamp:
06/14/2022 01:48:22 PM (8 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
aca6ed6
Parents:
03c3bded
Message:

Add basic start date support for "future" pricing batch

File:
1 edited

Legend:

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

    r03c3bded r72d1b07  
    33#
    44#  Rattail -- Retail Software Framework
    5 #  Copyright © 2010-2020 Lance Edgar
     5#  Copyright © 2010-2022 Lance Edgar
    66#
    77#  This file is part of Rattail.
     
    5757    Flag indicating whether prices should be calculated for products which are
    5858    manually priced under normal circumstances.
     59    """)
     60
     61    start_date = sa.Column(sa.Date(), nullable=True, doc="""
     62    Start date for prices within the batch.
    5963    """)
    6064
Note: See TracChangeset for help on using the changeset viewer.