<gh_stars>1-10
import frappe


@frappe.whitelist()
def get_pos_fields():
    return frappe.get_all(
        'POS Extended Settings Field',
        fields=['field', 'label', 'type'],
        order_by='idx ASC'
    )

import frappe


@frappe.whitelist()
def get_pos_fields():
    return frappe.get_all(
        'POS Extended Settings Field',
        fields=['field', 'label', 'type'],
        order_by='idx ASC'
    )