2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2017-10-17 07:00:34 +00:00
|
|
|
data = {
|
|
|
|
'desktop_icons': [
|
|
|
|
'Restaurant',
|
2018-02-12 06:27:12 +00:00
|
|
|
'Hotels',
|
2017-10-17 07:00:34 +00:00
|
|
|
'Accounts',
|
|
|
|
'Buying',
|
|
|
|
'Stock',
|
|
|
|
'HR',
|
|
|
|
'Project',
|
|
|
|
'ToDo'
|
|
|
|
],
|
|
|
|
'restricted_roles': [
|
2018-02-12 06:27:12 +00:00
|
|
|
'Restaurant Manager',
|
|
|
|
'Hotel Manager',
|
|
|
|
'Hotel Reservation User'
|
2017-10-17 07:00:34 +00:00
|
|
|
],
|
|
|
|
'custom_fields': {
|
|
|
|
'Sales Invoice': [
|
|
|
|
{
|
|
|
|
'fieldname': 'restaurant', 'fieldtype': 'Link', 'options': 'Restaurant',
|
|
|
|
'insert_after': 'customer_name', 'label': 'Restaurant',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'fieldname': 'restaurant_table', 'fieldtype': 'Link', 'options': 'Restaurant Table',
|
|
|
|
'insert_after': 'restaurant', 'label': 'Restaurant Table',
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'Price List': [
|
|
|
|
{
|
|
|
|
'fieldname':'restaurant_menu', 'fieldtype':'Link', 'options':'Restaurant Menu', 'label':'Restaurant Menu',
|
|
|
|
'insert_after':'currency'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|