[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:
parent
5122a8e0d7
commit
2705af488d
@ -1585,7 +1585,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2018-05-16 22:43:37.272875",
|
"modified": "2018-09-05 12:43:37.272875",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "POS Profile",
|
"name": "POS Profile",
|
||||||
|
@ -237,7 +237,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
|||||||
"customer": this.frm.doc.customer
|
"customer": this.frm.doc.customer
|
||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(r.message) {
|
if(r.message.length) {
|
||||||
select_loyalty_program(me.frm, r.message);
|
select_loyalty_program(me.frm, r.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,6 @@ def get_columns(filters):
|
|||||||
_("Sales and Returns") + ":Currency/currency:120",
|
_("Sales and Returns") + ":Currency/currency:120",
|
||||||
_("Taxes") + ":Currency/currency:120",
|
_("Taxes") + ":Currency/currency:120",
|
||||||
_("Payments") + ":Currency/currency:120",
|
_("Payments") + ":Currency/currency:120",
|
||||||
_("Warehouse") + ":Data:200"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user