Skip to content

Commit

Permalink
fix: removed redundant piece of code (frappe#27817)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfshanKhan committed Oct 5, 2021
1 parent ae5b2f3 commit cec66d2
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 @@ -229,9 +229,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 cec66d2

Please sign in to comment.