mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
chore: add blank lines
(cherry picked from commit c6a7de0e54)
# Conflicts:
# erpnext/assets/doctype/asset/depreciation.py
This commit is contained in:
@@ -244,11 +244,14 @@ def restore_asset(asset_name):
|
|||||||
asset.set_status()
|
asset.set_status()
|
||||||
|
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
def get_gl_entries_on_asset_regain(
|
def get_gl_entries_on_asset_regain(
|
||||||
asset, selling_amount=0, finance_book=None, voucher_type=None, voucher_no=None
|
asset, selling_amount=0, finance_book=None, voucher_type=None, voucher_no=None
|
||||||
):
|
):
|
||||||
=======
|
=======
|
||||||
|
=======
|
||||||
|
>>>>>>> c6a7de0e54 (chore: add blank lines)
|
||||||
def depreciate_asset(asset, date):
|
def depreciate_asset(asset, date):
|
||||||
asset.flags.ignore_validate_update_after_submit = True
|
asset.flags.ignore_validate_update_after_submit = True
|
||||||
asset.prepare_depreciation_data(date_of_disposal=date)
|
asset.prepare_depreciation_data(date_of_disposal=date)
|
||||||
@@ -334,8 +337,14 @@ def disposal_happens_in_the_future(posting_date_of_disposal):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
def get_gl_entries_on_asset_regain(asset, selling_amount=0, finance_book=None):
|
def get_gl_entries_on_asset_regain(asset, selling_amount=0, finance_book=None):
|
||||||
>>>>>>> ff5cad1cd6 (fix: calculate depreciation properly on asset sale entry and scrap entry)
|
>>>>>>> ff5cad1cd6 (fix: calculate depreciation properly on asset sale entry and scrap entry)
|
||||||
|
=======
|
||||||
|
def get_gl_entries_on_asset_regain(
|
||||||
|
asset, selling_amount=0, finance_book=None, voucher_type=None, voucher_no=None
|
||||||
|
):
|
||||||
|
>>>>>>> c6a7de0e54 (chore: add blank lines)
|
||||||
(
|
(
|
||||||
fixed_asset_account,
|
fixed_asset_account,
|
||||||
asset,
|
asset,
|
||||||
|
|||||||
Reference in New Issue
Block a user