commit | 647d595158ff8a4076261b2e30ecc4a55bc557c8 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Mon Jun 11 18:53:55 2018 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Mon Jun 11 19:15:08 2018 +0530 |
tree | 376880d75a64968afe77a9317454aab7488e9ba4 | |
parent | e832aa4fe2841ac53d913f6cd9914a5a3e45eaf6 [diff] [blame] |
Code cleanup and fixes for the asset
diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index c1df2b5..6507513 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py
@@ -558,7 +558,8 @@ '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)