mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
Fix travis (#61)
* [FIX] Default Rerservation Colours * [TFIX] Set odoo_host default value * [IMP] Add deafult access rights * [FIX] Mute logger db error * [FIX] Last commit
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
'demo': ['data/hotel_data.xml'],
|
||||
'data': [
|
||||
'security/hotel_security.xml',
|
||||
# 'security/ir.model.access.csv',
|
||||
'security/ir.model.access.csv',
|
||||
'wizard/massive_changes.xml',
|
||||
'wizard/split_reservation.xml',
|
||||
'wizard/duplicate_reservation.xml',
|
||||
|
||||
@@ -1,54 +1,18 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_currency_exchange_call,hotel.currency_exchange.call,model_currency_exchange,hotel.group_hotel_call,1,1,1,1
|
||||
access_currency_exchange_user,hotel.currency_exchange.user,model_currency_exchange,hotel.group_hotel_user,1,1,1,1
|
||||
access_folio_room_line_call,hotel.folio_room_line.call,hotel.model_hotel_reservation_line,hotel.group_hotel_call,1,1,1,1
|
||||
access_folio_room_line_user,hotel.folio_room_line.user,hotel.model_hotel_reservation_line,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_account_tax_call,hotel.account.tax.call,account.model_account_tax,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_account_tax_user,hotel.account.tax.user,account.model_account_tax,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_floor_group,hotel.floor.user,model_hotel_floor,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_floor_group_call,hotel.floor.call,model_hotel_floor,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_floor_group_manager,hotel.floor.manager,model_hotel_floor,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_folio,hotel.folio.user,model_hotel_folio,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_folio_call,hotel.folio.call,model_hotel_folio,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_folio_line,hotel_folio.line.user,model_hotel_reservation,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_folio_line_call,hotel_folio.line.call,model_hotel_reservation,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_invoice_call,account.invoice.call,account.model_account_invoice,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_invoice_user,account.invoice.user,account.model_account_invoice,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_model_checkin_partner_call,hotel.currency_exchange.call,hotel.model_checkin_partner,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_model_checkin_partner_user,hotel.currency_exchange.user,hotel.model_checkin_partner,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_order_call,hotel.order.call,sale.model_sale_order,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_order_line_call,hotel.order.line.call,sale.model_sale_order_line,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_order_line_user,hotel.order.line.user,sale.model_sale_order_line,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_order_user,hotel.order.user,sale.model_sale_order,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_restrictions_call,hotel.restriction. All,hotel.model_hotel_room_type_restriction,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_restrictions_item_call,hotel.restriction.item.call,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_restrictions_item_manager,hotel.restriction.item.manager,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_restrictions_item_user,hotel.restriction.item.user,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_restrictions_manager,hotel.restriction.manager,hotel.model_hotel_room_type_restriction,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_restrictions_user,hotel.restriction.user,hotel.model_hotel_room_type_restriction,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room,hotel.room.user,model_hotel_room,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities,hotel.room_aminities.user,model_hotel_room_amenities,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities_call,hotel.room_aminities.call,model_hotel_room_amenities,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_amenities_manager,hotel.room_aminities.manager,model_hotel_room_amenities,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_amenities_type,hotel.room_amenities_type.user,model_hotel_room_amenities_type,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities_type_call,hotel.room_amenities_type.call,model_hotel_room_amenities_type,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_amenities_type_manager,hotel.room_amenities_type.manager,model_hotel_room_amenities_type,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_call,hotel.room.call,model_hotel_room,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_manager,hotel.room.manager,model_hotel_room,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_type,hotel.room_type.user,model_hotel_room_type,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_type_call,hotel.room_type.call,model_hotel_room_type,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_type_manager,hotel.room_type.manager,model_hotel_room_type,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_service,hotel_service.user,model_hotel_service,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_service_call,hotel_service.call,model_hotel_service,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_user reconcilie,hotel.user reconcilie,account.model_account_partial_reconcile,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_user_account_full_reconcilie,hotel.user_account_full_reconcilie,account.model_account_full_reconcile,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_user_user,hotel.user_res_user,auth_crypt.model_res_users,hotel.group_hotel_user,1,1,0,0
|
||||
access_hotel_room_type_availability_call,hotel.availability.call,hotel.model_hotel_room_type_availability,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_room_type_availability_manager,hotel.availability.manager,hotel.model_hotel_room_type_availability,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_type_availability_user,hotel.availability.user,hotel.model_hotel_room_type_availability,hotel.group_hotel_user,1,1,1,1
|
||||
access_product_category,product.category.user,product.model_product_category,hotel.group_hotel_user,1,0,0,0
|
||||
access_product_category_call,product.category.call,product.model_product_category,hotel.group_hotel_call,1,0,0,0
|
||||
access_product_category_manager,product.category.manager,product.model_product_category,hotel.group_hotel_manager,1,1,1,1
|
||||
access_product_product,product.product.user,product.model_product_product,hotel.group_hotel_user,1,0,0,0
|
||||
access_product_product_call,product.product.call,product.model_product_product,hotel.group_hotel_call,1,0,0,0
|
||||
access_product_product_manager,product.product.manager,product.model_product_product,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_floor,access_hotel_floor,model_hotel_floor,base.group_user,1,0,0,0
|
||||
access_hotel_amenity,access_hotel_amenity,model_hotel_amenity,base.group_user,1,0,0,0
|
||||
access_hotel_amenity_type,access_hotel_amenity_type,model_hotel_amenity_type,base.group_user,1,0,0,0
|
||||
access_hotel_service,access_hotel_service,model_hotel_service,base.group_user,1,0,0,0
|
||||
access_hotel_room_type_restriction,access_hotel_room_type_restriction,model_hotel_room_type_restriction,base.group_user,1,0,0,0
|
||||
access_hotel_reservation_line,access_hotel_reservation_line,model_hotel_reservation_line,base.group_user,1,0,0,0
|
||||
access_room_closure_reason,access_room_closure_reason,model_room_closure_reason,base.group_user,1,0,0,0
|
||||
access_hotel_service_line,access_hotel_service_line,model_hotel_service_line,base.group_user,1,0,0,0
|
||||
access_hotel_board_service,access_hotel_board_service,model_hotel_board_service,base.group_user,1,0,0,0
|
||||
access_hotel_room_type_availability,access_hotel_room_type_availability,model_hotel_room_type_availability,base.group_user,1,0,0,0
|
||||
access_hotel_checkin_partner,access_hotel_checkin_partner,model_hotel_checkin_partner,base.group_user,1,0,0,0
|
||||
access_hotel_room_type_class,access_hotel_room_type_class,model_hotel_room_type_class,base.group_user,1,0,0,0
|
||||
access_hotel_room,access_hotel_room,model_hotel_room,base.group_user,1,0,0,0
|
||||
access_hotel_room_type_restriction_item,access_hotel_room_type_restriction_item,model_hotel_room_type_restriction_item,base.group_user,1,0,0,0
|
||||
access_hotel_reservation,access_hotel_reservation,model_hotel_reservation,base.group_user,1,0,0,0
|
||||
access_hotel_folio,access_hotel_folio,model_hotel_folio,base.group_user,1,0,0,0
|
||||
access_hotel_room_type,access_hotel_room_type,model_hotel_room_type,base.group_user,1,0,0,0
|
||||
|
||||
|
54
hotel/security/ir.model.access.csv.old
Normal file
54
hotel/security/ir.model.access.csv.old
Normal file
@@ -0,0 +1,54 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_currency_exchange_call,hotel.currency_exchange.call,model_currency_exchange,hotel.group_hotel_call,1,1,1,1
|
||||
access_currency_exchange_user,hotel.currency_exchange.user,model_currency_exchange,hotel.group_hotel_user,1,1,1,1
|
||||
access_folio_room_line_call,hotel.folio_room_line.call,hotel.model_hotel_reservation_line,hotel.group_hotel_call,1,1,1,1
|
||||
access_folio_room_line_user,hotel.folio_room_line.user,hotel.model_hotel_reservation_line,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_account_tax_call,hotel.account.tax.call,account.model_account_tax,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_account_tax_user,hotel.account.tax.user,account.model_account_tax,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_floor_group,hotel.floor.user,model_hotel_floor,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_floor_group_call,hotel.floor.call,model_hotel_floor,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_floor_group_manager,hotel.floor.manager,model_hotel_floor,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_folio,hotel.folio.user,model_hotel_folio,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_folio_call,hotel.folio.call,model_hotel_folio,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_folio_line,hotel_folio.line.user,model_hotel_reservation,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_folio_line_call,hotel_folio.line.call,model_hotel_reservation,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_invoice_call,account.invoice.call,account.model_account_invoice,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_invoice_user,account.invoice.user,account.model_account_invoice,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_model_checkin_partner_call,hotel.currency_exchange.call,hotel.model_checkin_partner,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_model_checkin_partner_user,hotel.currency_exchange.user,hotel.model_checkin_partner,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_order_call,hotel.order.call,sale.model_sale_order,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_order_line_call,hotel.order.line.call,sale.model_sale_order_line,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_order_line_user,hotel.order.line.user,sale.model_sale_order_line,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_order_user,hotel.order.user,sale.model_sale_order,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_restrictions_call,hotel.restriction. All,hotel.model_hotel_room_type_restriction,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_restrictions_item_call,hotel.restriction.item.call,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_restrictions_item_manager,hotel.restriction.item.manager,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_restrictions_item_user,hotel.restriction.item.user,hotel.model_hotel_room_type_restriction_item,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_restrictions_manager,hotel.restriction.manager,hotel.model_hotel_room_type_restriction,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_restrictions_user,hotel.restriction.user,hotel.model_hotel_room_type_restriction,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room,hotel.room.user,model_hotel_room,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities,hotel.room_aminities.user,model_hotel_room_amenities,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities_call,hotel.room_aminities.call,model_hotel_room_amenities,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_amenities_manager,hotel.room_aminities.manager,model_hotel_room_amenities,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_amenities_type,hotel.room_amenities_type.user,model_hotel_room_amenities_type,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_amenities_type_call,hotel.room_amenities_type.call,model_hotel_room_amenities_type,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_amenities_type_manager,hotel.room_amenities_type.manager,model_hotel_room_amenities_type,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_call,hotel.room.call,model_hotel_room,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_manager,hotel.room.manager,model_hotel_room,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_type,hotel.room_type.user,model_hotel_room_type,hotel.group_hotel_user,1,0,0,0
|
||||
access_hotel_room_type_call,hotel.room_type.call,model_hotel_room_type,hotel.group_hotel_call,1,0,0,0
|
||||
access_hotel_room_type_manager,hotel.room_type.manager,model_hotel_room_type,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_service,hotel_service.user,model_hotel_service,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_service_call,hotel_service.call,model_hotel_service,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_user reconcilie,hotel.user reconcilie,account.model_account_partial_reconcile,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_user_account_full_reconcilie,hotel.user_account_full_reconcilie,account.model_account_full_reconcile,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_user_user,hotel.user_res_user,auth_crypt.model_res_users,hotel.group_hotel_user,1,1,0,0
|
||||
access_hotel_room_type_availability_call,hotel.availability.call,hotel.model_hotel_room_type_availability,hotel.group_hotel_call,1,1,1,1
|
||||
access_hotel_room_type_availability_manager,hotel.availability.manager,hotel.model_hotel_room_type_availability,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_room_type_availability_user,hotel.availability.user,hotel.model_hotel_room_type_availability,hotel.group_hotel_user,1,1,1,1
|
||||
access_product_category,product.category.user,product.model_product_category,hotel.group_hotel_user,1,0,0,0
|
||||
access_product_category_call,product.category.call,product.model_product_category,hotel.group_hotel_call,1,0,0,0
|
||||
access_product_category_manager,product.category.manager,product.model_product_category,hotel.group_hotel_manager,1,1,1,1
|
||||
access_product_product,product.product.user,product.model_product_product,hotel.group_hotel_user,1,0,0,0
|
||||
access_product_product_call,product.product.call,product.model_product_product,hotel.group_hotel_call,1,0,0,0
|
||||
access_product_product_manager,product.product.manager,product.model_product_product,hotel.group_hotel_manager,1,1,1,1
|
||||
@@ -22,13 +22,14 @@
|
||||
##############################################################################
|
||||
from .common import TestHotel
|
||||
from psycopg2 import IntegrityError
|
||||
from odoo.tools import mute_logger
|
||||
|
||||
|
||||
class TestHotelRoomType(TestHotel):
|
||||
|
||||
def test_code_type_unique(self):
|
||||
#TODO: use sudo users hotel
|
||||
with self.assertRaises(IntegrityError):
|
||||
with self.assertRaises(IntegrityError), mute_logger('odoo.sql_db'):
|
||||
self.room_type_0.sudo().write({
|
||||
'code_type': self.room_type_1.code_type
|
||||
})
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
'views/hotel_reservation_views.xml',
|
||||
'views/hotel_calendar_management_views.xml',
|
||||
'data/menus.xml',
|
||||
'data/records.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
'qweb': [
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
|
||||
<function id="default_color_pre_reservation"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_pre_reservation', '#A4A4A4')"/>
|
||||
|
||||
<function id="default_color_reservation"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_reservation', '#4E9DC4')"/>
|
||||
|
||||
<function id="default_color_stay"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_stay', '#b40606')"/>
|
||||
|
||||
<function id="default_color_stay_pay"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_stay_pay', '#54d12b')"/>
|
||||
|
||||
<function id="default_color_checkout"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_checkout', '#FF0000')"/>
|
||||
|
||||
<function id="default_color_dontsell"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_dontsell', '#000000')"/>
|
||||
|
||||
<function id="default_color_staff"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_staff', '#FF9933')"/>
|
||||
|
||||
<function id="default_color_to_assign"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_to_assign', '#DFFF00')"/>
|
||||
|
||||
<function id="default_color_payment_pending"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_payment_pending', '#f70f0f')"/>
|
||||
|
||||
<function id="default_color_letter_pre_reservation"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_pre_reservation', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_reservation"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_reservation', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_reservation_pay"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_reservation_pay', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_stay"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_stay', '#FFFFFF')"/>
|
||||
|
||||
<function id="default_color_letter_stay_pay"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_stay_pay', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_checkout"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_checkout', '#FFFFFF')"/>
|
||||
|
||||
<function id="default_color_letter_dontsell"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_dontsell', '#FFFFFF')"/>
|
||||
|
||||
<function id="default_color_letter_staff"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_staff', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_to_assign"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_to_assign', '#000000')"/>
|
||||
|
||||
<function id="default_color_letter_payment_pending"
|
||||
model="ir.default" name="set"
|
||||
eval="('res.config.settings', 'color_letter_payment_pending', '#000000')"/>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -41,7 +41,7 @@
|
||||
'wizard/inherited_massive_changes.xml',
|
||||
'data/menus.xml',
|
||||
'data/sequences.xml',
|
||||
#'security/ir.model.access.csv',
|
||||
'security/ir.model.access.csv',
|
||||
#'security/wubook_security.xml',
|
||||
# 'views/res_config.xml'
|
||||
],
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_wubook_issue_call,hotel_wubook_proto.wubook.issue.call,hotel_wubook_proto.model_wubook_issue,hotel.group_hotel_call,1,1,1,1
|
||||
access_wubook_issue_user,hotel_wubook_proto.wubook.issue.user,hotel_wubook_proto.model_wubook_issue,hotel.group_hotel_user,1,1,1,1
|
||||
access_hotel_channel_info_manager,hotel_wubook_proto.channel.info.manager,hotel_wubook_proto.model_wubook_channel_info,hotel.group_hotel_manager,1,1,1,1
|
||||
access_hotel_channel_info_availabity_user,hotel_wubook_proto.channel.info.user,hotel_wubook_proto.model_wubook_channel_info,hotel.group_hotel_user,1,1,1,0
|
||||
access_hotel_channel_info_availabity_call,hotel_wubook_proto.channel.info.call,hotel_wubook_proto.model_wubook_channel_info,hotel.group_hotel_call,1,1,1,0
|
||||
access_hotel_channel_connector_issue,access_hotel_channel_connector_issue,model_hotel_channel_connector_issue,base.group_user,1,0,0,0
|
||||
access_channel_backend,access_channel_backend,model_channel_backend,base.group_user,1,0,0,0
|
||||
access_channel_ota_info,access_channel_ota_info,model_channel_ota_info,base.group_user,1,0,0,0
|
||||
access_channel_hotel_room_type,access_channel_hotel_room_type,model_channel_hotel_room_type,base.group_user,1,0,0,0
|
||||
access_channel_product_pricelist,access_channel_product_pricelist,model_channel_product_pricelist,base.group_user,1,0,0,0
|
||||
access_channel_product_pricelist_item,access_channel_product_pricelist_item,model_channel_product_pricelist_item,base.group_user,1,0,0,0
|
||||
access_channel_hotel_room_type_restriction,access_channel_hotel_room_type_restriction,model_channel_hotel_room_type_restriction,base.group_user,1,0,0,0
|
||||
access_channel_hotel_room_type_restriction_item,access_channel_hotel_room_type_restriction_item,model_channel_hotel_room_type_restriction_item,base.group_user,1,0,0,0
|
||||
access_channel_hotel_room_type_availability,access_channel_hotel_room_type_availability,model_channel_hotel_room_type_availability,base.group_user,1,0,0,0
|
||||
access_channel_hotel_reservation,access_channel_hotel_reservation,model_channel_hotel_reservation,base.group_user,1,0,0,0
|
||||
|
||||
|
@@ -26,7 +26,7 @@ class HotelNode(models.Model):
|
||||
|
||||
odoo_version = fields.Char()
|
||||
odoo_host = fields.Char('Host', required=True,
|
||||
help='Full URL to the host.')
|
||||
help='Full URL to the host.', default='localhost')
|
||||
odoo_db = fields.Char('Database Name',
|
||||
help='Odoo database name.')
|
||||
odoo_user = fields.Char('Username',
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_node_backend,access_node_backend,model_node_backend,base.group_user,1,0,0,0
|
||||
access_hotel_node_user,access_hotel_node_user,model_hotel_node_user,base.group_user,1,0,0,0
|
||||
access_hotel_node_group,access_hotel_node_group,model_hotel_node_group,base.group_user,1,0,0,0
|
||||
access_hotel_node_group_remote,access_hotel_node_group_remote,model_hotel_node_group_remote,base.group_user,1,0,0,0
|
||||
access_hotel_node_room,access_hotel_node_room,model_hotel_node_room,base.group_user,1,0,0,0
|
||||
access_hotel_node_room_type,access_hotel_node_room_type,model_hotel_node_room_type,base.group_user,1,0,0,0
|
||||
access_node_room_type,access_node_room_type,model_node_room_type,base.group_user,1,0,0,0
|
||||
|
||||
|
Reference in New Issue
Block a user