Make case/unit quantities prettier within Inventory batch rows grid
This commit is contained in:
parent
b9a96f306b
commit
b2f96f4217
|
@ -89,6 +89,8 @@ class InventoryBatchView(BatchMasterView):
|
|||
super(InventoryBatchView, self)._preconfigure_row_grid(g)
|
||||
g.upc.set(label="UPC")
|
||||
g.brand_name.set(label="Brand")
|
||||
g.cases.set(renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.units.set(renderer=forms.renderers.QuantityFieldRenderer)
|
||||
g.status_code.set(label="Status")
|
||||
|
||||
def configure_row_grid(self, g):
|
||||
|
|
Loading…
Reference in a new issue