[minor] POS profile mandatory, to set as default (#12307)
This commit is contained in:
parent
1f39feb12f
commit
3f784a7a49
@ -360,6 +360,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
|
||||
fieldtype: 'Link',
|
||||
label: __('POS Profile'),
|
||||
options: 'POS Profile',
|
||||
reqd: 1,
|
||||
get_query: () => {
|
||||
return {
|
||||
query: 'erpnext.accounts.doctype.pos_profile.pos_profile.pos_profile_query',
|
||||
@ -1211,6 +1212,7 @@ class POSItems {
|
||||
return new Promise(res => {
|
||||
frappe.call({
|
||||
method: "erpnext.selling.page.point_of_sale.point_of_sale.get_items",
|
||||
freeze: true,
|
||||
args: {
|
||||
start,
|
||||
page_length,
|
||||
|
Loading…
x
Reference in New Issue
Block a user