data = { 'desktop_icons': [ 'POS', 'Item', 'Customer', 'Sales Invoice', 'Purchase Order', 'Accounts', 'Task', 'ToDo' ], 'properties': [ {'doctype': 'Item', 'fieldname': 'manufacturing', 'property': 'hidden', 'value': 1}, {'doctype': 'Customer', 'fieldname': 'credit_limit_section', 'property': 'hidden', 'value': 1}, ], 'set_value': [ ['Stock Settings', None, 'show_barcode_field', 1] ], 'default_portal_role': 'Customer' }