Stop rounding case/unit cost fields to 2 places for purchase batch

This commit is contained in:
Lance Edgar 2021-10-10 20:08:52 -04:00
parent ce969306f7
commit 7fabef6004

View file

@ -693,11 +693,10 @@ class PurchasingBatchView(BatchMasterView):
f.set_type('units_mispick', 'quantity') f.set_type('units_mispick', 'quantity')
# currency fields # currency fields
f.set_type('po_unit_cost', 'currency') # nb. we only show "total" fields as currency, but not case or
# unit cost fields, b/c currency is rounded to 2 places
f.set_type('po_total', 'currency') f.set_type('po_total', 'currency')
f.set_type('po_total_calculated', 'currency') f.set_type('po_total_calculated', 'currency')
f.set_type('invoice_unit_cost', 'currency')
f.set_type('catalog_unit_cost', 'currency')
# upc # upc
f.set_type('upc', 'gpc') f.set_type('upc', 'gpc')