fix(postgres): match stored "Exchange Gain Or Loss" voucher_type casing

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mihir Kandoi
2026-06-17 15:42:02 +05:30
parent 431dc208b3
commit 2fa9d7cee6

View File

@@ -141,7 +141,7 @@ def make_exchange_gain_loss_journal(
.where(
(je.docstatus == 1)
& (je.name.isin(parents))
& (je.voucher_type == "Exchange Gain or Loss")
& (je.voucher_type == "Exchange Gain Or Loss")
)
.run()
)