fix: removed redundant piece of code (#27817) (#27821)

(cherry picked from commit cec66d2d10)

Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-10-05 19:26:58 +05:30
committed by GitHub
parent 47a7eeca54
commit 2cbd5a9fcf

View File

@@ -230,9 +230,6 @@ class SalesInvoice(SellingController):
# 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()