Add min diff threshold param when making price batch from product query

Hopefully this sets the stage for arbitrary batch params here..
This commit is contained in:
Lance Edgar 2017-01-30 16:11:29 -06:00
parent 2ab2dfe26b
commit e452ea1ae9
5 changed files with 107 additions and 57 deletions

View file

@ -43,13 +43,13 @@ class PricingBatchView(BatchMasterView):
route_prefix = 'batch.pricing'
url_prefix = '/batches/pricing'
creatable = False
editable = False
rows_editable = True
def configure_fieldset(self, fs):
fs.configure(
include=[
fs.id,
fs.min_diff_threshold,
fs.created,
fs.created_by,
fs.executed,