Skip to content

Commit

Permalink
fix: Purchase Receipt Provisional Accounting GL Entries
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Sep 13, 2023
1 parent e6c302a commit 6bab0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/stock/doctype/purchase_receipt/purchase_receipt.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def add_provisional_gl_entry(
account=provisional_account,
cost_center=item.cost_center,
debit=0.0,
credit=multiplication_factor * item.amount,
credit=multiplication_factor * item.base_amount,
remarks=remarks,
against_account=expense_account,
account_currency=credit_currency,
Expand All @@ -617,7 +617,7 @@ def add_provisional_gl_entry(
gl_entries=gl_entries,
account=expense_account,
cost_center=item.cost_center,
debit=multiplication_factor * item.amount,
debit=multiplication_factor * item.base_amount,
credit=0.0,
remarks=remarks,
against_account=provisional_account,
Expand Down

0 comments on commit 6bab0ee

Please sign in to comment.