* [new-module] hotels, start * Multiple Changes Hotel Settings Added Make invoice on Hotel Reservation * Hotel Room validation for overbooking * Added test fixtures and test for Hotels * Added Tests for Hotels Overbooking Pricing not set * [WIP] Documentation Hotel Room and Screenshot * Added Calendar view for Hotel Room Reservation * Added Report - Hotel Room Occupancy * Added Hotel Reservation User in Hospitality domain
		
			
				
	
	
		
			36 lines
		
	
	
		
			759 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			759 B
		
	
	
	
		
			Python
		
	
	
	
	
	
data = {
 | 
						|
	'desktop_icons': [
 | 
						|
		'Restaurant',
 | 
						|
		'Hotels',
 | 
						|
		'Accounts',
 | 
						|
		'Buying',
 | 
						|
		'Stock',
 | 
						|
		'HR',
 | 
						|
		'Project',
 | 
						|
		'ToDo'
 | 
						|
	],
 | 
						|
	'restricted_roles': [
 | 
						|
		'Restaurant Manager',
 | 
						|
		'Hotel Manager',
 | 
						|
		'Hotel Reservation User'
 | 
						|
	],
 | 
						|
	'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'
 | 
						|
			}
 | 
						|
		]
 | 
						|
	}
 | 
						|
}
 |