fix: incorrect schedule in asset value adjustment (#36747)

This commit is contained in:
Anand Baburajan
2023-08-22 12:36:09 +05:30
committed by GitHub
parent 4b75b6f309
commit 8f04945cef
6 changed files with 159 additions and 103 deletions

View File

@@ -759,7 +759,7 @@ class BuyingController(SubcontractingController):
"company": self.company,
"supplier": self.supplier,
"purchase_date": self.posting_date,
"calculate_depreciation": 1,
"calculate_depreciation": 0,
"purchase_receipt_amount": purchase_amount,
"gross_purchase_amount": purchase_amount,
"asset_quantity": row.qty if is_grouped_asset else 0,