commit | b969c2cb60d553323cd49abfac9abf8fb3c739b9 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Aug 18 12:35:58 2016 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Thu Aug 18 12:36:20 2016 +0530 |
tree | 4c744e408afe5257b61239f50beb2dad5b5da014 | |
parent | b8a8fb58774004b1aff9b705a93c0ac0994d4e59 [diff] |
[minor] budget link in cost center, fixes #6093
diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index 402ff11..1ec8029 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js
@@ -80,7 +80,7 @@ } else { filters = { 'item_code': item.item_code, - 'posting_date': me.frm.doc.posting_date || nowdate(), + 'posting_date': me.frm.doc.posting_date || frappe.datetime.nowdate(), } if(item.warehouse) filters["warehouse"] = item.warehouse