Some tweaks for invoice costing batch views

This commit is contained in:
Lance Edgar 2021-10-05 16:12:48 -04:00
parent d7c145ce39
commit def8ea7c15
2 changed files with 29 additions and 3 deletions

View file

@ -660,7 +660,10 @@ class PurchasingBatchView(BatchMasterView):
row.STATUS_ORDERED_RECEIVED_DIFFER,
row.STATUS_TRUCKDUMP_UNCLAIMED,
row.STATUS_TRUCKDUMP_PARTCLAIMED,
row.STATUS_OUT_OF_STOCK):
row.STATUS_OUT_OF_STOCK,
row.STATUS_ON_PO_NOT_INVOICE,
row.STATUS_ON_INVOICE_NOT_PO,
row.STATUS_COST_INCREASE):
return 'notice'
def configure_row_form(self, f):
@ -694,6 +697,7 @@ class PurchasingBatchView(BatchMasterView):
f.set_type('po_total', 'currency')
f.set_type('po_total_calculated', 'currency')
f.set_type('invoice_unit_cost', 'currency')
f.set_type('catalog_unit_cost', 'currency')
# upc
f.set_type('upc', 'gpc')