Aditya Hase | f3c22f3 | 2019-01-22 18:22:20 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 3 | data = { |
| 4 | 'desktop_icons': [ |
| 5 | 'Restaurant', |
Revant Nandgaonkar | 2dee8fc | 2018-02-12 11:57:12 +0530 | [diff] [blame] | 6 | 'Hotels', |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 7 | 'Accounts', |
| 8 | 'Buying', |
| 9 | 'Stock', |
| 10 | 'HR', |
| 11 | 'Project', |
| 12 | 'ToDo' |
| 13 | ], |
| 14 | 'restricted_roles': [ |
Revant Nandgaonkar | 2dee8fc | 2018-02-12 11:57:12 +0530 | [diff] [blame] | 15 | 'Restaurant Manager', |
| 16 | 'Hotel Manager', |
| 17 | 'Hotel Reservation User' |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 18 | ], |
| 19 | 'custom_fields': { |
| 20 | 'Sales Invoice': [ |
| 21 | { |
| 22 | 'fieldname': 'restaurant', 'fieldtype': 'Link', 'options': 'Restaurant', |
| 23 | 'insert_after': 'customer_name', 'label': 'Restaurant', |
| 24 | }, |
| 25 | { |
| 26 | 'fieldname': 'restaurant_table', 'fieldtype': 'Link', 'options': 'Restaurant Table', |
| 27 | 'insert_after': 'restaurant', 'label': 'Restaurant Table', |
| 28 | } |
| 29 | ], |
| 30 | 'Price List': [ |
| 31 | { |
| 32 | 'fieldname':'restaurant_menu', 'fieldtype':'Link', 'options':'Restaurant Menu', 'label':'Restaurant Menu', |
| 33 | 'insert_after':'currency' |
| 34 | } |
| 35 | ] |
| 36 | } |
| 37 | } |