mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 06:22:12 +00:00
fix: repost future sle and gle after capitalization (#46576)
(cherry picked from commit 29d77aa19f)
This commit is contained in:
@@ -123,6 +123,7 @@ class AssetCapitalization(StockController):
|
|||||||
self.make_bundle_using_old_serial_batch_fields()
|
self.make_bundle_using_old_serial_batch_fields()
|
||||||
self.update_stock_ledger()
|
self.update_stock_ledger()
|
||||||
self.make_gl_entries()
|
self.make_gl_entries()
|
||||||
|
self.repost_future_sle_and_gle()
|
||||||
self.update_target_asset()
|
self.update_target_asset()
|
||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
@@ -136,6 +137,7 @@ class AssetCapitalization(StockController):
|
|||||||
)
|
)
|
||||||
self.update_stock_ledger()
|
self.update_stock_ledger()
|
||||||
self.make_gl_entries()
|
self.make_gl_entries()
|
||||||
|
self.repost_future_sle_and_gle()
|
||||||
self.restore_consumed_asset_items()
|
self.restore_consumed_asset_items()
|
||||||
|
|
||||||
def set_title(self):
|
def set_title(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user