refactor: handle stocked items

(cherry picked from commit 7ff3977394)
This commit is contained in:
ruthra kumar
2025-02-24 21:58:59 +05:30
committed by Mergify
parent 5761cfb3d5
commit eb0df50f1b

View File

@@ -1049,6 +1049,7 @@ class PurchaseInvoice(BuyingController):
"account": item.expense_account,
"against": self.supplier,
"debit": warehouse_debit_amount,
"debit_in_transaction_currency": item.net_amount,
"remarks": self.get("remarks") or _("Accounting Entry for Stock"),
"cost_center": item.cost_center,
"project": item.project or self.project,