Changeset 2b2a27b in rattail


Ignore:
Timestamp:
08/09/2020 03:50:02 PM (3 years ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
6c8932be
Parents:
7708f15
Message:

Add PricingBatchRow.old_true_margin column to schema

Location:
rattail/db
Files:
1 added
1 edited

Legend:

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

    r7708f15 r2b2a27b  
    133133    """)
    134134
     135    old_true_margin = sa.Column(sa.Numeric(precision=8, scale=3), nullable=True, doc="""
     136    Profit margin for the "old" price vs. the "true" unit cost
     137    (:attr:`true_unit_cost`).
     138    """)
     139
    135140    true_margin = sa.Column(sa.Numeric(precision=8, scale=3), nullable=True, doc="""
    136141    Profit margin for the "new" price vs. the "true" unit cost
Note: See TracChangeset for help on using the changeset viewer.