mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 05:58:27 +00:00
chore: run pre-commit
This commit is contained in:
@@ -1289,7 +1289,8 @@ def create_new_asset_after_split(asset, split_qty):
|
||||
new_asset.asset_quantity = split_qty
|
||||
new_asset.split_from = asset.name
|
||||
new_asset.value_after_depreciation = flt(
|
||||
(asset.value_after_depreciation * split_qty) / asset.asset_quantity, asset.precision("gross_purchase_amount")
|
||||
(asset.value_after_depreciation * split_qty) / asset.asset_quantity,
|
||||
asset.precision("gross_purchase_amount"),
|
||||
)
|
||||
|
||||
for row in new_asset.get("finance_books"):
|
||||
|
||||
Reference in New Issue
Block a user