[IMP] pms-api-rest: demo data for property image hotel, icon room type classes, views, init, manifest & services & datamodels (property, user, room_type_class, agency, sale channels)

This commit is contained in:
miguelpadin
2023-09-06 19:22:21 +02:00
committed by Darío Lodeiros
parent f374f6a102
commit e0fae5f366
23 changed files with 152 additions and 9 deletions

View File

@@ -2,3 +2,5 @@ from . import pms_property
from . import res_users
from . import account_payment
from . import sql_export
from . import pms_room_type_class

View File

@@ -88,3 +88,8 @@ class PmsProperty(models.Model):
help="Color for pending payment reservations in the planning.",
default="rgba(4, 95, 118)",
)
hotel_image_pms_api_rest = fields.Image(
string="Hotel image",
store=True,
)

View File

@@ -0,0 +1,10 @@
from odoo import fields, models
class PmsRoomTypeClass(models.Model):
_inherit = "pms.room.type.class"
icon_pms_api_rest = fields.Image(
string="Icon room type class image",
store=True,
)