Expose "suggested price" for pricing batch row view

This commit is contained in:
Lance Edgar 2018-11-18 20:02:43 -06:00
parent fded97d586
commit 4a36ab827c

View file

@ -105,6 +105,7 @@ class PricingBatchView(BatchMasterView):
'vendor', 'vendor',
'regular_unit_cost', 'regular_unit_cost',
'discounted_unit_cost', 'discounted_unit_cost',
'suggested_price',
'old_price', 'old_price',
'new_price', 'new_price',
'price_diff', 'price_diff',
@ -150,6 +151,7 @@ class PricingBatchView(BatchMasterView):
f.set_renderer('product', self.render_product) f.set_renderer('product', self.render_product)
# currency fields # currency fields
f.set_type('suggested_price', 'currency')
f.set_type('old_price', 'currency') f.set_type('old_price', 'currency')
f.set_type('new_price', 'currency') f.set_type('new_price', 'currency')
f.set_type('price_diff', 'currency') f.set_type('price_diff', 'currency')