fix: removed redundant piece of code (#27817)

This commit is contained in:
Afshan 2021-10-05 19:14:39 +05:30 committed by GitHub
parent ae5b2f37b1
commit cec66d2d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,9 +229,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()