Skip to content

Commit

Permalink
fix: incorrect incoming rate for serial and batch items in standalone…
Browse files Browse the repository at this point in the history
… debit note (#38121)
  • Loading branch information
s-aga-r authored Nov 18, 2023
1 parent 39841f9 commit 9a34518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/controllers/buying_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def set_rate_for_standalone_debit_note(self):
"posting_date": self.get("posting_date"),
"posting_time": self.get("posting_time"),
"qty": row.qty,
"serial_and_batch_bundle": row.get("serial_and_batch_bundle"),
"serial_no": row.serial_no,
"batch_no": row.batch_no,
"company": self.company,
"voucher_type": self.doctype,
"voucher_no": self.name,
Expand Down

0 comments on commit 9a34518

Please sign in to comment.