Expose the complete
flag for pricing batch
also update view config defaults per new convention
This commit is contained in:
parent
e9edf205d9
commit
20aa6a3fbb
|
@ -68,7 +68,7 @@ class PricingBatchView(BatchMasterView):
|
||||||
'created_by',
|
'created_by',
|
||||||
'rowcount',
|
'rowcount',
|
||||||
# 'status_code',
|
# 'status_code',
|
||||||
# 'complete',
|
'complete',
|
||||||
'executed',
|
'executed',
|
||||||
'executed_by',
|
'executed_by',
|
||||||
]
|
]
|
||||||
|
@ -87,6 +87,7 @@ class PricingBatchView(BatchMasterView):
|
||||||
'created_by',
|
'created_by',
|
||||||
'rowcount',
|
'rowcount',
|
||||||
'shelved',
|
'shelved',
|
||||||
|
'complete',
|
||||||
'executed',
|
'executed',
|
||||||
'executed_by',
|
'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)
|
PricingBatchView.defaults(config)
|
||||||
|
|
||||||
|
|
||||||
|
def includeme(config):
|
||||||
|
defaults(config)
|
||||||
|
|
Loading…
Reference in a new issue