fix: not able to submit landed cost voucher (#41481)

This commit is contained in:
rohitwaghchaure
2024-05-15 17:49:02 +05:30
committed by GitHub
parent 0363afcfd0
commit 81a9521f04
4 changed files with 129 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ class StockController(AccountsController):
"company": self.company,
"is_rejected": 1 if row.get("rejected_warehouse") else 0,
"use_serial_batch_fields": row.use_serial_batch_fields,
"via_landed_cost_voucher": via_landed_cost_voucher,
"do_not_submit": True if not via_landed_cost_voucher else False,
}