fix: set status to Draft for auto-created assets from Purchase Receipt

This commit is contained in:
khushi8112
2025-10-23 17:41:51 +05:30
parent 7f63d100b5
commit 20c2cb40d1
4 changed files with 18 additions and 1 deletions

View File

@@ -1048,6 +1048,7 @@ class BuyingController(SubcontractingController):
"asset_category": item_data.get("asset_category"),
"location": row.asset_location,
"company": self.company,
"status": "Draft",
"supplier": self.supplier,
"purchase_date": self.posting_date,
"calculate_depreciation": 0,