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

(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:24:40 +05:30
committed by GitHub
parent 287a7b29e1
commit 89e421a01d

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()