Added test cases for asset accounting, asset value adjustment (#14572)

* Added test cases for asset accounting, asset value adjustment

* Accounting entry for the asset created manually

* Added asset movement test cases and validation

* Added validation to make asset from purchase receupt, invoice only
This commit is contained in:
rohitwaghchaure
2018-06-22 15:40:59 +05:30
committed by Nabin Hait
parent ce26610d39
commit d3fb0fbb20
14 changed files with 568 additions and 105 deletions

View File

@@ -578,7 +578,6 @@ class BuyingController(StockController):
'doctype': 'Asset',
'item_code': row.item_code,
'asset_name': row.item_name,
'status': 'Receipt',
'naming_series': item_data.get('asset_naming_series') or 'AST',
'asset_category': item_data.get('asset_category'),
'location': row.asset_location,