fix: typo's and parameter changes

This commit is contained in:
ruthra kumar
2024-01-15 14:56:51 +05:30
parent 2154502955
commit 0ec17590ae
2 changed files with 5 additions and 2 deletions

View File

@@ -2046,6 +2046,8 @@ def create_gain_loss_journal(
cost_center,
dimensions,
) -> str:
# TODO: pass dimensions to Journal
journal_entry = frappe.new_doc("Journal Entry")
journal_entry.voucher_type = "Exchange Gain Or Loss"
journal_entry.company = company