commit | ba41242f1fcf16d8a614b8cbcf5932429fa4627f | [log] [tgz] |
---|---|---|
author | mbauskar <mbauskar@gmail.com> | Wed Apr 19 12:35:51 2017 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Apr 19 20:54:23 2017 +0530 |
tree | dca1111349e32035a4f400a9c3dd6b70976c4670 | |
parent | 0633df587216ad2416345fd2f12078dd6277300b [diff] |
[fixes] fixed the pricing rule issue https://github.com/frappe/erpnext/issues/8493
diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index a583f7d..ce3efc9 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js
@@ -275,7 +275,7 @@ doctype: me.frm.doc.doctype, name: me.frm.doc.name, project: item.project || me.frm.doc.project, - qty: item.qty, + qty: item.qty || 1, stock_qty: item.stock_qty, conversion_factor: item.conversion_factor }