Skip to content

Commit 2144f89

Browse files
khushi8112mergify[bot]
authored andcommitted
fix: repost future sle and gle after capitalization (#46576)
(cherry picked from commit 29d77aa)
1 parent 496f43e commit 2144f89

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

erpnext/assets/doctype/asset_capitalization/asset_capitalization.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def on_submit(self):
123123
self.make_bundle_using_old_serial_batch_fields()
124124
self.update_stock_ledger()
125125
self.make_gl_entries()
126+
self.repost_future_sle_and_gle()
126127
self.update_target_asset()
127128

128129
def on_cancel(self):
@@ -136,6 +137,7 @@ def on_cancel(self):
136137
)
137138
self.update_stock_ledger()
138139
self.make_gl_entries()
140+
self.repost_future_sle_and_gle()
139141
self.restore_consumed_asset_items()
140142

141143
def set_title(self):

0 commit comments

Comments
 (0)