[Minor] [Staging] POS Profile (#15321)

* update modified date to load field display_items_in_stock

* stop dialog from popping up if no loyalty program found

* warehouse not used for not is_pos type invoice
This commit is contained in:
Zarrar 2018-09-05 17:20:07 +05:30 committed by Nabin Hait
parent 5122a8e0d7
commit 2705af488d
3 changed files with 2 additions and 3 deletions

View File

@ -1585,7 +1585,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
"modified": "2018-05-16 22:43:37.272875",
"modified": "2018-09-05 12:43:37.272875",
"modified_by": "Administrator",
"module": "Accounts",
"name": "POS Profile",

View File

@ -237,7 +237,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
"customer": this.frm.doc.customer
},
callback: function(r) {
if(r.message) {
if(r.message.length) {
select_loyalty_program(me.frm, r.message);
}
}

View File

@ -37,7 +37,6 @@ def get_columns(filters):
_("Sales and Returns") + ":Currency/currency:120",
_("Taxes") + ":Currency/currency:120",
_("Payments") + ":Currency/currency:120",
_("Warehouse") + ":Data:200"
]