2020-04-16 14:45:13 +02:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
2021-07-21 14:56:53 +02:00
|
|
|
from . import location
|
|
|
|
from . import configuration
|
|
|
|
from . import room
|
|
|
|
from . import booking
|
2021-10-09 19:00:26 +02:00
|
|
|
from . import folio
|
2021-07-21 14:56:53 +02:00
|
|
|
from . import company
|
|
|
|
from . import city
|
|
|
|
from . import party
|
|
|
|
from . import channel
|
|
|
|
from . import product
|
|
|
|
from . import sale
|
|
|
|
from . import service
|
|
|
|
from . import policy
|
2022-03-16 00:19:31 +01:00
|
|
|
from . import dash
|
2022-03-16 14:16:18 +01:00
|
|
|
from . import invoice
|
2022-07-08 22:09:07 +02:00
|
|
|
from . import statement
|
2022-07-11 02:56:01 +02:00
|
|
|
from . import stock
|
2022-07-19 17:46:45 +02:00
|
|
|
from . import operation
|
2022-08-14 19:29:49 +02:00
|
|
|
from . import ir
|
2022-09-16 16:33:27 +02:00
|
|
|
from . import email_activity
|
2022-10-07 05:47:14 +02:00
|
|
|
from . import guest
|
2022-10-19 22:41:02 +02:00
|
|
|
from . import commission
|
2022-11-16 22:13:00 +01:00
|
|
|
from . import account
|
2022-11-18 23:33:44 +01:00
|
|
|
from . import analytic
|
2022-11-24 04:53:04 +01:00
|
|
|
from . import price_list
|
2023-07-26 16:46:44 +02:00
|
|
|
from . import rate_plan
|
2023-10-09 10:09:53 +02:00
|
|
|
from . import siat
|
2023-10-20 05:10:41 +02:00
|
|
|
from . import housekeeping
|
2020-04-16 14:45:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2022-08-14 19:29:49 +02:00
|
|
|
ir.Cron,
|
2020-04-16 14:45:13 +02:00
|
|
|
room.RoomClassification,
|
2022-03-19 15:46:34 +01:00
|
|
|
room.Room,
|
|
|
|
room.Amenities,
|
|
|
|
room.RoomAmenities,
|
|
|
|
room.RoomTemplate,
|
|
|
|
city.MigrationCity,
|
2020-04-16 14:45:13 +02:00
|
|
|
location.HotelLocation,
|
|
|
|
policy.HotelPolicyCancellation,
|
2022-03-19 15:46:34 +01:00
|
|
|
company.Company,
|
|
|
|
configuration.ConfigurationProduct,
|
2020-04-16 14:45:13 +02:00
|
|
|
configuration.Configuration,
|
2022-09-21 05:22:27 +02:00
|
|
|
configuration.ChildrenPolicy,
|
2020-04-16 14:45:13 +02:00
|
|
|
product.Template,
|
2021-09-16 19:47:03 +02:00
|
|
|
product.PriceList,
|
2022-07-19 17:46:45 +02:00
|
|
|
operation.Maintenance,
|
2020-04-16 14:45:13 +02:00
|
|
|
booking.Booking,
|
2022-10-25 22:14:07 +02:00
|
|
|
booking.BookingStatusStart,
|
2022-03-30 20:22:01 +02:00
|
|
|
booking.ManagerStart,
|
2022-07-08 06:51:11 +02:00
|
|
|
booking.BookingStatementLine,
|
|
|
|
booking.StatementPaymentForm,
|
2022-07-08 22:09:07 +02:00
|
|
|
statement.StatementLine,
|
2022-09-16 16:33:27 +02:00
|
|
|
email_activity.EmailActivity,
|
2020-04-16 14:45:13 +02:00
|
|
|
party.Party,
|
2022-05-18 00:34:42 +02:00
|
|
|
channel.SaleChannel,
|
2020-04-16 14:45:13 +02:00
|
|
|
channel.ChannelTax,
|
2022-05-18 00:34:42 +02:00
|
|
|
channel.ChannelCommission,
|
2020-04-16 14:45:13 +02:00
|
|
|
booking.SelectRoomsAsk,
|
|
|
|
booking.BookingVoucher,
|
|
|
|
booking.RoomsOccupancyStart,
|
2022-12-19 21:35:02 +01:00
|
|
|
booking.RevenueForecastStart,
|
2023-01-29 23:50:49 +01:00
|
|
|
booking.OperationForecastStart,
|
|
|
|
booking.RevenueSegmentationStart,
|
2022-03-24 18:17:50 +01:00
|
|
|
booking.UpdateHolderStart,
|
2022-05-18 00:34:42 +02:00
|
|
|
booking.BookingChannelCommision,
|
2022-10-17 19:53:47 +02:00
|
|
|
booking.BillBookingStart,
|
2023-03-23 13:30:40 +01:00
|
|
|
booking.UpdateTaxesStart,
|
2021-10-11 19:03:43 +02:00
|
|
|
folio.FolioGuest,
|
|
|
|
folio.GuestsListStart,
|
|
|
|
folio.StatisticsByMonthStart,
|
2022-03-19 15:46:34 +01:00
|
|
|
folio.Folio,
|
|
|
|
folio.FolioCharge,
|
2022-11-24 04:53:04 +01:00
|
|
|
folio.FolioOccupancy,
|
2022-08-04 05:36:12 +02:00
|
|
|
folio.HotelFolioTax,
|
2022-03-19 15:46:34 +01:00
|
|
|
folio.FolioStockMove,
|
|
|
|
folio.OpenMigrationStart,
|
2022-12-07 13:49:29 +01:00
|
|
|
folio.UpdateOccupancyStart,
|
2023-01-12 06:15:40 +01:00
|
|
|
folio.HotelFolioChargeTax,
|
2022-10-07 05:47:14 +02:00
|
|
|
guest.Tag,
|
|
|
|
guest.TagGuest,
|
2022-07-11 02:56:01 +02:00
|
|
|
stock.Move,
|
2020-04-16 14:45:13 +02:00
|
|
|
sale.InvoiceIncomeDailyStart,
|
|
|
|
service.Service,
|
|
|
|
service.ServiceLine,
|
|
|
|
service.ServiceKind,
|
|
|
|
service.CreateDailyServicesStart,
|
|
|
|
room.CleanningDays,
|
2022-07-27 23:34:13 +02:00
|
|
|
room.CleaningType,
|
2022-03-16 00:19:31 +01:00
|
|
|
dash.DashApp,
|
|
|
|
dash.AppHotelPlanner,
|
2022-08-29 02:02:36 +02:00
|
|
|
dash.AppHousekeeping,
|
2022-08-31 04:21:22 +02:00
|
|
|
dash.AppWebCheckIn,
|
2023-05-24 23:55:30 +02:00
|
|
|
dash.AppBooking,
|
2022-03-16 14:16:18 +01:00
|
|
|
invoice.InvoiceLine,
|
2022-03-19 06:21:49 +01:00
|
|
|
invoice.Invoice,
|
2022-07-27 23:34:13 +02:00
|
|
|
room.HotelTask,
|
|
|
|
room.HousekeepingStart,
|
2023-10-20 05:10:41 +02:00
|
|
|
housekeeping.HousekeepingScheduleStart,
|
2022-11-24 04:53:04 +01:00
|
|
|
operation.NightAudit,
|
2022-09-30 21:22:38 +02:00
|
|
|
operation.NightAuditStart,
|
2022-10-19 22:41:02 +02:00
|
|
|
commission.Commission,
|
2022-11-16 22:13:00 +01:00
|
|
|
account.Move,
|
2022-11-18 23:33:44 +01:00
|
|
|
analytic.AnalyticSpace,
|
2022-11-24 04:53:04 +01:00
|
|
|
price_list.HotelPriceList,
|
2023-07-26 16:46:44 +02:00
|
|
|
rate_plan.RatePlan,
|
|
|
|
rate_plan.RatePlanRule,
|
2023-10-09 10:09:53 +02:00
|
|
|
siat.SiatSyncStart,
|
2020-04-16 14:45:13 +02:00
|
|
|
module='hotel', type_='model')
|
|
|
|
Pool.register(
|
|
|
|
booking.BookingReport,
|
2022-12-19 21:35:02 +01:00
|
|
|
booking.RevenueForecastReport,
|
2023-01-29 23:50:49 +01:00
|
|
|
booking.OperationForecastReport,
|
|
|
|
booking.RevenueSegmentationReport,
|
2020-04-16 14:45:13 +02:00
|
|
|
booking.RoomsOccupancyReport,
|
2022-10-25 22:14:07 +02:00
|
|
|
booking.BookingStatusReport,
|
2022-03-30 20:22:01 +02:00
|
|
|
booking.ManagerReport,
|
2022-03-22 05:30:24 +01:00
|
|
|
booking.BookingStatementReport,
|
2021-10-11 19:03:43 +02:00
|
|
|
folio.Migration,
|
|
|
|
folio.GuestsListReport,
|
|
|
|
folio.RegistrationCardReport,
|
|
|
|
folio.StatisticsByMonthReport,
|
2020-04-16 14:45:13 +02:00
|
|
|
sale.InvoiceIncomeDailyReport,
|
|
|
|
sale.InvoiceSimplifiedReport,
|
|
|
|
service.ServiceReport,
|
2022-07-27 23:34:13 +02:00
|
|
|
room.HousekeepingReport,
|
2020-04-16 14:45:13 +02:00
|
|
|
module='hotel', type_='report')
|
|
|
|
Pool.register(
|
|
|
|
booking.SelectRooms,
|
2022-12-19 21:35:02 +01:00
|
|
|
booking.RevenueForecast,
|
2023-01-29 23:50:49 +01:00
|
|
|
booking.OperationForecast,
|
|
|
|
booking.RevenueSegmentation,
|
2020-04-16 14:45:13 +02:00
|
|
|
booking.RoomsOccupancy,
|
2022-10-25 22:14:07 +02:00
|
|
|
booking.BookingStatus,
|
2022-03-24 18:17:50 +01:00
|
|
|
booking.UpdateHolder,
|
2022-03-30 20:22:01 +02:00
|
|
|
booking.Manager,
|
2022-07-08 06:51:11 +02:00
|
|
|
booking.WizardStatementPayment,
|
2022-10-17 19:53:47 +02:00
|
|
|
booking.BillBooking,
|
2023-03-23 13:30:40 +01:00
|
|
|
booking.UpdateTaxes,
|
2021-10-11 19:03:43 +02:00
|
|
|
folio.OpenMigration,
|
|
|
|
folio.GuestsList,
|
|
|
|
folio.StatisticsByMonth,
|
2022-03-19 15:46:34 +01:00
|
|
|
folio.ReverseCheckout,
|
2022-12-07 13:49:29 +01:00
|
|
|
folio.UpdateOccupancy,
|
2020-04-16 14:45:13 +02:00
|
|
|
service.CreateDailyServices,
|
2022-07-27 23:34:13 +02:00
|
|
|
room.Housekeeping,
|
2023-10-20 05:10:41 +02:00
|
|
|
housekeeping.HousekeepingSchedule,
|
2020-04-16 14:45:13 +02:00
|
|
|
sale.InvoiceIncomeDaily,
|
2021-03-08 14:32:20 +01:00
|
|
|
party.CreateGuest,
|
2022-11-24 04:53:04 +01:00
|
|
|
operation.NightAuditWizard,
|
2023-10-09 10:09:53 +02:00
|
|
|
siat.SiatSyncWizard,
|
2020-04-16 14:45:13 +02:00
|
|
|
module='hotel', type_='wizard')
|