Expose "suggested price" for pricing batch row view
This commit is contained in:
parent
fded97d586
commit
4a36ab827c
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue