Code cleanup and fixes for the asset

This commit is contained in:
Rohit Waghchaure
2018-06-11 18:53:55 +05:30
parent e832aa4fe2
commit 647d595158
9 changed files with 49 additions and 40 deletions

View File

@@ -558,7 +558,8 @@ class BuyingController(StockController):
'actual_qty': d.qty,
'purchase_document_type': self.doctype,
'purchase_document_no': self.name,
'asset': d.asset
'asset': d.asset,
'location': d.asset_location
})
d.db_set('serial_no', serial_nos)