Add grid hyperlinks for trainwreck transaction line items

This commit is contained in:
Lance Edgar 2022-02-22 20:39:06 -06:00
parent 8ae1b87a1e
commit 0c5992ad75

View file

@ -220,6 +220,9 @@ class TransactionView(MasterView):
g.set_type('tax', 'currency') g.set_type('tax', 'currency')
g.set_type('total', 'currency') g.set_type('total', 'currency')
g.set_link('item_scancode')
g.set_link('description')
def row_grid_extra_class(self, row, i): def row_grid_extra_class(self, row, i):
if row.void: if row.void:
return 'warning' return 'warning'