fix(Asset): Fix tests for Asset Repair
This commit is contained in:
parent
ba9558527d
commit
c34e6b1889
@ -707,7 +707,7 @@ def create_asset(**args):
|
|||||||
"available_for_use_date": "2020-06-06",
|
"available_for_use_date": "2020-06-06",
|
||||||
"location": "Test Location",
|
"location": "Test Location",
|
||||||
"asset_owner": "Company",
|
"asset_owner": "Company",
|
||||||
"is_existing_asset": args.is_existing_asset or 0
|
"is_existing_asset": 1
|
||||||
})
|
})
|
||||||
|
|
||||||
if asset.calculate_depreciation:
|
if asset.calculate_depreciation:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user