Changeset 20aa6a3 in tailbone


Ignore:
Timestamp:
07/19/2022 04:36:21 PM (7 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
10628ee
Parents:
e9edf20
Message:

Expose the complete flag for pricing batch

also update view config defaults per new convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tailbone/views/batch/pricing.py

    re9edf20 r20aa6a3  
    6969        'rowcount',
    7070        # 'status_code',
    71         # 'complete',
     71        'complete',
    7272        'executed',
    7373        'executed_by',
     
    8888        'rowcount',
    8989        'shelved',
     90        'complete',
    9091        'executed',
    9192        'executed_by',
     
    379380
    380381
     382def defaults(config, **kwargs):
     383    base = globals()
     384
     385    PricingBatchView = kwargs.get('PricingBatchView', base['PricingBatchView'])
     386    PricingBatchView.defaults(config)
     387
     388
    381389def includeme(config):
    382     PricingBatchView.defaults(config)
     390    defaults(config)
Note: See TracChangeset for help on using the changeset viewer.