Add filter for Vendor ID in Pricing Batch row grid
This commit is contained in:
parent
364257fe05
commit
a5f04b6c7f
|
@ -165,6 +165,7 @@ class PricingBatchView(BatchMasterView):
|
|||
|
||||
g.set_joiner('vendor_id', lambda q: q.outerjoin(model.Vendor))
|
||||
g.set_sorter('vendor_id', model.Vendor.id)
|
||||
g.set_filter('vendor_id', model.Vendor.id)
|
||||
g.set_renderer('vendor_id', self.render_vendor_id)
|
||||
|
||||
g.set_type('old_price', 'currency')
|
||||
|
|
Loading…
Reference in a new issue