fix: asset with value zero doesn't show up in fixed asset register (#24091)
This commit is contained in:
parent
6e58260d26
commit
dc3e9f4216
@ -75,7 +75,6 @@ def get_data(filters):
|
||||
for asset in assets_record:
|
||||
asset_value = asset.gross_purchase_amount - flt(asset.opening_accumulated_depreciation) \
|
||||
- flt(depreciation_amount_map.get(asset.name))
|
||||
if asset_value:
|
||||
row = {
|
||||
"asset_id": asset.asset_id,
|
||||
"asset_name": asset.asset_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user