[minor] removed company description and don't call apply_price_list if no items
diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js
index f202fb7..bf10c15 100644
--- a/erpnext/public/js/transaction.js
+++ b/erpnext/public/js/transaction.js
@@ -394,9 +394,13 @@
apply_price_list: function(item) {
var me = this;
+ var args = this._get_args(item);
+ if(!args.item_list.length) {
+ return;
+ }
return this.frm.call({
method: "erpnext.stock.get_item_details.apply_price_list",
- args: { args: this._get_args(item) },
+ args: { args: args },
callback: function(r) {
if (!r.exc) {
me.in_apply_price_list = true;