commit | 49cca7ac76f85f1e7449468d1fb6dae0cb249899 | [log] [tgz] |
---|---|---|
author | deepeshgarg007 <deepeshgarg6@gmail.com> | Fri Jan 25 16:41:01 2019 +0530 |
committer | deepeshgarg007 <deepeshgarg6@gmail.com> | Fri Jan 25 16:41:01 2019 +0530 |
tree | 40b95938b00c99b6f6edd0a863d69e591cd4f3fa | |
parent | f74e28bc648d2e68d194f29e545d7f6471f21c41 [diff] [blame] |
fix: Customer based price_list in online POS
diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 4ef8b2e..20e1098 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js
@@ -477,7 +477,7 @@ var me = this; var item = frappe.get_doc(cdt, cdn); - if (item.serial_no) { + if (item && item.serial_no) { if (!item.item_code) { this.frm.trigger("item_code", cdt, cdn); }