Skip to content

Commit

Permalink
fix: removed redundant piece of code (#27817) (#27821)
Browse files Browse the repository at this point in the history
(cherry picked from commit cec66d2)

Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com>
  • Loading branch information
mergify[bot] and AfshanKhan authored Oct 5, 2021
1 parent 47a7eec commit 2cbd5a9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erpnext/accounts/doctype/sales_invoice/sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ def on_submit(self):
# this sequence because outstanding may get -ve
self.make_gl_entries()

if self.update_stock == 1:
self.repost_future_sle_and_gle()

if self.update_stock == 1:
self.repost_future_sle_and_gle()

Expand Down

0 comments on commit 2cbd5a9

Please sign in to comment.