fix: Unlink and delete batch created from stock reco on cancel

(cherry picked from commit fc35323106)
This commit is contained in:
marination
2020-08-27 20:34:51 +05:30
committed by Mergify
parent e5ebbf4799
commit 577df1753e

View File

@@ -62,6 +62,7 @@ class StockReconciliation(StockController):
self.make_sle_on_cancel()
self.make_gl_entries_on_cancel()
self.repost_future_sle_and_gle()
self.delete_auto_created_batches()
def remove_items_with_no_change(self):
"""Remove items if qty or rate is not changed"""