refactor: renamed purchase receipt amount field to purchase amount

This commit is contained in:
“Khushi
2024-04-22 14:13:10 +05:30
committed by Khushi Rawat
parent ba60b5911a
commit 31841b4ab2
11 changed files with 55 additions and 42 deletions

View File

@@ -789,7 +789,7 @@ class BuyingController(SubcontractingController):
"supplier": self.supplier,
"purchase_date": self.posting_date,
"calculate_depreciation": 0,
"purchase_receipt_amount": purchase_amount,
"purchase_amount": purchase_amount,
"gross_purchase_amount": purchase_amount,
"asset_quantity": asset_quantity,
"purchase_receipt": self.name if self.doctype == "Purchase Receipt" else None,