Skip to content

Commit

Permalink
Add price, service_env and remarks fields in asset report (#3547)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Wieckowski <aleksander.wieckowski@allegro.pl>
  • Loading branch information
awieckowski and awieckowski committed Jul 22, 2020
1 parent 84ba5b5 commit 15fe3f2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/ralph/reports/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,13 @@ class AssetRelationsReport(BaseRelationsReport):
]
bo_headers = [
'id', 'niw', 'barcode', 'sn', 'model__category__name',
'model__manufacturer__name', 'model__name', 'user__username',
'user__first_name', 'user__last_name', 'owner__username',
'owner__first_name', 'owner__last_name', 'owner__company',
'owner__segment', 'status', 'office_infrastructure__name',
'property_of', 'warehouse__name', 'invoice_date', 'invoice_no',
'region__name', 'hostname', 'depreciation_rate', 'buyout_date',
'model__manufacturer__name', 'model__name', 'price', 'remarks',
'service_env', 'user__username', 'user__first_name',
'user__last_name', 'owner__username', 'owner__first_name',
'owner__last_name', 'owner__company', 'owner__segment', 'status',
'office_infrastructure__name', 'property_of', 'warehouse__name',
'invoice_date', 'invoice_no', 'region__name', 'hostname',
'depreciation_rate', 'buyout_date',
]
bo_select_related = [
'model', 'model__category', 'office_infrastructure', 'warehouse',
Expand Down

0 comments on commit 15fe3f2

Please sign in to comment.