Expose the complete flag for pricing batch

also update view config defaults per new convention
This commit is contained in:
Lance Edgar 2022-07-19 16:36:21 -05:00
parent e9edf205d9
commit 20aa6a3fbb

View file

@ -68,7 +68,7 @@ class PricingBatchView(BatchMasterView):
'created_by',
'rowcount',
# 'status_code',
# 'complete',
'complete',
'executed',
'executed_by',
]
@ -87,6 +87,7 @@ class PricingBatchView(BatchMasterView):
'created_by',
'rowcount',
'shelved',
'complete',
'executed',
'executed_by',
]
@ -378,5 +379,12 @@ class PricingBatchView(BatchMasterView):
]
def includeme(config):
def defaults(config, **kwargs):
base = globals()
PricingBatchView = kwargs.get('PricingBatchView', base['PricingBatchView'])
PricingBatchView.defaults(config)
def includeme(config):
defaults(config)