Add grid hyperlinks for trainwreck transaction line items
This commit is contained in:
parent
8ae1b87a1e
commit
0c5992ad75
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue