fix: Purchase Receipt Provisional Accounting GL Entries

This commit is contained in:
s-aga-r 2023-09-12 15:28:59 +05:30
parent e6c302a397
commit 6bab0eeaa1

View File

@ -603,7 +603,7 @@ class PurchaseReceipt(BuyingController):
account=provisional_account, account=provisional_account,
cost_center=item.cost_center, cost_center=item.cost_center,
debit=0.0, debit=0.0,
credit=multiplication_factor * item.amount, credit=multiplication_factor * item.base_amount,
remarks=remarks, remarks=remarks,
against_account=expense_account, against_account=expense_account,
account_currency=credit_currency, account_currency=credit_currency,
@ -617,7 +617,7 @@ class PurchaseReceipt(BuyingController):
gl_entries=gl_entries, gl_entries=gl_entries,
account=expense_account, account=expense_account,
cost_center=item.cost_center, cost_center=item.cost_center,
debit=multiplication_factor * item.amount, debit=multiplication_factor * item.base_amount,
credit=0.0, credit=0.0,
remarks=remarks, remarks=remarks,
against_account=provisional_account, against_account=provisional_account,