From 4b5f184129d07d6d9bcda89da010863ef6689e8e Mon Sep 17 00:00:00 2001 From: Oscar Date: Thu, 16 Sep 2021 12:47:03 -0500 Subject: [PATCH] Add breakfast to booking --- __init__.py | 4 +- booking.py | 13 +- booking.xml | 5 +- locale/es.po | 893 ++++++++++++++++++++------------------- product.py | 11 +- product.xml | 5 + view/booking_form.xml | 8 +- view/price_list_form.xml | 9 + 8 files changed, 492 insertions(+), 456 deletions(-) create mode 100644 view/price_list_form.xml diff --git a/__init__.py b/__init__.py index 04ce86b..c881dd4 100644 --- a/__init__.py +++ b/__init__.py @@ -28,6 +28,7 @@ def register(): room.Amenities, room.RoomAmenities, product.Template, + product.PriceList, city.MigrationCity, operation.Operation, operation.OperationLine, @@ -46,11 +47,9 @@ def register(): channel.ChannelTax, booking.Guest, booking.SelectRoomsAsk, - # party.CreateGuestStart, booking.BookingVoucher, booking.RoomsOccupancyStart, booking.BookingForecastStart, - # voucher.AdvanceVoucherStart, operation.OpenMigrationStart, operation.CheckOutOperationFailed, operation.ChangeRoomStart, @@ -101,5 +100,4 @@ def register(): booking.GuestsList, sale.InvoiceIncomeDaily, party.CreateGuest, - # voucher.AdvanceVoucher, module='hotel', type_='wizard') diff --git a/booking.py b/booking.py index c0ff17f..ed32ae2 100644 --- a/booking.py +++ b/booking.py @@ -220,8 +220,7 @@ class Booking(Workflow, ModelSQL, ModelView): 'get_total_advance') pending_to_pay = fields.Function(fields.Numeric('Pending to Pay'), 'get_pending_to_pay') - # operations = fields.Many2Many('hotel.booking-hotel.operation', 'booking', - # 'sale', 'Sales', readonly=True) + breakfast_included = fields.Boolean('Breakfast Included') @classmethod def __setup__(cls): @@ -446,7 +445,6 @@ class Booking(Workflow, ModelSQL, ModelView): # for line in record.lines: # Line.write([line], {'registration_state_': 'check_out'}) - @classmethod @ModelView.button def send_email(cls, records): @@ -668,10 +666,13 @@ class Booking(Workflow, ModelSQL, ModelView): if email: Template.send(config.booking_email_template, self, email) else: - self.get_message('El usuario no tiene un correo asociado.') + raise UserError(gettext('El usuario no tiene un correo asociado')) - def get_message(self, message): - raise AccessError(gettext('hotel.msg_error', s=message)) + @fields.depends('price_list', 'breakfast_included') + def on_change_price_list(self): + print('Aquiaaaaaaa') + if self.price_list: + self.breakfast_included = self.price_list.breakfast_included class BookingLine(ModelSQL, ModelView): diff --git a/booking.xml b/booking.xml index 48de0ec..43ee61e 100644 --- a/booking.xml +++ b/booking.xml @@ -93,7 +93,10 @@ this repository contains the full copyright notices and license terms. --> No Show - + diff --git a/locale/es.po b/locale/es.po index 33a987d..45ad4d8 100644 --- a/locale/es.po +++ b/locale/es.po @@ -2,105 +2,6 @@ msgid "" msgstr "Content-Type: text/plain; charset=utf-8\n" -msgctxt "error:hotel.booking.line:" -msgid "" -"Departure date must be greater that arrival " -"date" -msgstr "" - -msgctxt "error:hotel.booking.line:" -msgid "Invalid number of guests for the room %s." -msgstr "Inválido numero de huespedes para la habitación %s." - -msgctxt "error:hotel.booking.line:" -msgid "The room %s has not accommodation" -msgstr "La habitación %s not tiene acomodación" - -msgctxt "error:hotel.booking.line:" -msgid "The room %s is in restring access for quarantine protocolo!" -msgstr "" - -msgctxt "error:hotel.booking.line:" -msgid "The room is occupied in the date %s" -msgstr "" - -msgctxt "error:hotel.booking:" -msgid "Missing default configuration sequence!" -msgstr "Falta la configuración de la secuencia por defecto!" - -msgctxt "error:hotel.booking:" -msgid "Missing main guest in lines!" -msgstr "Faltan el huesped principal en las líneas!" - -msgctxt "error:hotel.booking:" -msgid "Missing select room!" -msgstr "" - -msgctxt "error:hotel.booking:" -msgid "" -"Missing the configuration of registration card sequence!" -msgstr "" - -msgctxt "error:hotel.booking:" -msgid "Must exist one principal guest" -msgstr "Debe existir un huesped principal" - -msgctxt "error:hotel.booking:" -msgid "The check out time is not configured!" -msgstr "La hora de check-out no esta configurada!" - -msgctxt "error:hotel.booking:" -msgid "The payment term is missing!" -msgstr "Los plazos de pago no están configurados!" - -msgctxt "error:hotel.booking:" -msgid "The room %s is not clean!" -msgstr "La habitacion %s no esta limpia!" - -msgctxt "error:hotel.booking:" -msgid "You cannot check in before the reserved date!" -msgstr "" - -msgctxt "error:hotel.configuration:" -msgid "Missing default configuration sequence!" -msgstr "Falta la configuración de la secuencia por defecto!" - -msgctxt "error:hotel.housekeeping:" -msgid "The room must be unique." -msgstr "La habitación debe ser única." - -msgctxt "error:hotel.operation.transfer_operation:" -msgid "Error, Can not select current operation" -msgstr "" - -msgctxt "error:hotel.operation:" -msgid "Missing default configuration for check-in time or check-out time!" -msgstr "La hora de check-in o de check-out no esta configurada!" - -msgctxt "error:hotel.operation:" -msgid "The operation for the room %s overlaps with another operation!" -msgstr "La operación para la habitación %s se sobrepone con otra operación!" - -msgctxt "error:hotel.operation:" -msgid "The room is occupied %s" -msgstr "" - -msgctxt "error:hotel.operation:" -msgid "The start date is greater than end date" -msgstr "La fecha inicial es mayor que la fecha final" - -msgctxt "error:hotel.service.line:" -msgid "The room %s selected is not occupied" -msgstr "La habitación seleccionada esta ocupada" - -msgctxt "error:hotel.service.line:" -msgid "You can not add charges to a sale is closed %s" -msgstr "No puede agregar cargos a la venta cerrada %s" - -msgctxt "error:party.party:" -msgid "Id Number already exists!" -msgstr "El tercero ya existe!" - msgctxt "field:company.company,city_code:" msgid "City Code" msgstr "Código de Ciudad" @@ -149,7 +50,6 @@ msgctxt "field:hotel.amenities,notes:" msgid "Notes" msgstr "Notas" -#, fuzzy msgctxt "field:hotel.amenities,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -164,7 +64,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.amenities,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.booking,booker:" msgid "Booker" @@ -174,9 +74,13 @@ msgctxt "field:hotel.booking,booking_date:" msgid "Booking Date" msgstr "Fecha de Reserva" +msgctxt "field:hotel.booking,breakfast_included:" +msgid "Breakfast Included" +msgstr "Desayuno Incluido" + msgctxt "field:hotel.booking,cancellation_policy:" msgid "Cancellation Policy" -msgstr "" +msgstr "Pólitica de Cancelación" msgctxt "field:hotel.booking,code:" msgid "Code" @@ -192,7 +96,7 @@ msgstr "Empresa" msgctxt "field:hotel.booking,complementary:" msgid "Complementary" -msgstr "" +msgstr "Complementario" msgctxt "field:hotel.booking,contact:" msgid "Contact" @@ -258,6 +162,10 @@ msgctxt "field:hotel.booking,payment_term:" msgid "Payment Term" msgstr "Plazo de Pago" +msgctxt "field:hotel.booking,pending_to_pay:" +msgid "Pending to Pay" +msgstr "" + msgctxt "field:hotel.booking,person_num:" msgid "Person Number" msgstr "Número de Personas" @@ -270,7 +178,6 @@ msgctxt "field:hotel.booking,price_list:" msgid "Price List" msgstr "Lista de precios" -#, fuzzy msgctxt "field:hotel.booking,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -281,7 +188,7 @@ msgstr "Tarjeta de Registro" msgctxt "field:hotel.booking,registration_state:" msgid "State Registration" -msgstr "" +msgstr "Estatus de Registro" msgctxt "field:hotel.booking,satisfaction:" msgid "Satisfaction" @@ -303,10 +210,9 @@ msgctxt "field:hotel.booking,tax_amount:" msgid "Tax Amount" msgstr "Impuestos" -#, fuzzy msgctxt "field:hotel.booking,taxes_exception:" msgid "Taxes Exception" -msgstr "Excepción de Impuestas" +msgstr "Excepción de IVA" msgctxt "field:hotel.booking,total_advance:" msgid "Total Advance" @@ -322,7 +228,7 @@ msgstr "Motivo de Viaje" msgctxt "field:hotel.booking,type_complementary:" msgid "Type Complementary" -msgstr "" +msgstr "Tipo de Complementario" msgctxt "field:hotel.booking,untaxed_amount:" msgid "Untaxed Amount" @@ -340,7 +246,6 @@ msgctxt "field:hotel.booking,vip:" msgid "V.I.P. Customer" msgstr "Cliente V.I.P." -#, fuzzy msgctxt "field:hotel.booking,vouchers:" msgid "Vouchers" msgstr "Comprobantes" @@ -351,7 +256,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.booking,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.booking-account.voucher,booking:" msgid "Booking" @@ -369,7 +274,6 @@ msgctxt "field:hotel.booking-account.voucher,id:" msgid "ID" msgstr "ID" -#, fuzzy msgctxt "field:hotel.booking-account.voucher,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -384,7 +288,7 @@ msgstr "Fecha de modificación" msgctxt "field:hotel.booking-account.voucher,write_uid:" msgid "Write User" -msgstr "Usuario de modificación" +msgstr "Usuario modificación" msgctxt "field:hotel.booking.guest,birthday:" msgid "Birthday" @@ -400,16 +304,24 @@ msgstr "Fecha de Creación" msgctxt "field:hotel.booking.guest,create_uid:" msgid "Create User" -msgstr "Usuario de creación" +msgstr "Creado por usuario" msgctxt "field:hotel.booking.guest,doc_number:" msgid "Doc. Id" -msgstr "" +msgstr "Doc. Id." msgctxt "field:hotel.booking.guest,email:" msgid "Email" msgstr "Email" +msgctxt "field:hotel.booking.guest,first_family_name:" +msgid "First Family Name" +msgstr "Primer Apellido" + +msgctxt "field:hotel.booking.guest,first_name:" +msgid "First Name" +msgstr "Primer Nombre" + msgctxt "field:hotel.booking.guest,id:" msgid "ID" msgstr "ID" @@ -430,13 +342,25 @@ msgctxt "field:hotel.booking.guest,origin_city:" msgid "Origin City" msgstr "Ciudad Origen" +msgctxt "field:hotel.booking.guest,origin_country:" +msgid "Origin Country" +msgstr "País de Origen" + msgctxt "field:hotel.booking.guest,party:" msgid "Party" msgstr "Tercero" msgctxt "field:hotel.booking.guest,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" + +msgctxt "field:hotel.booking.guest,second_family_name:" +msgid "Second Family Name" +msgstr "Segundo Apellido" + +msgctxt "field:hotel.booking.guest,second_name:" +msgid "Second Name" +msgstr "Segundo Nombre" msgctxt "field:hotel.booking.guest,sex:" msgid "Sex" @@ -446,6 +370,10 @@ msgctxt "field:hotel.booking.guest,target_city:" msgid "Target City" msgstr "Ciudad Destino" +msgctxt "field:hotel.booking.guest,target_country:" +msgid "Target Country" +msgstr "" + msgctxt "field:hotel.booking.guest,type_document:" msgid "Document Type" msgstr "Tipo de Documento" @@ -454,6 +382,10 @@ msgctxt "field:hotel.booking.guest,type_guest:" msgid "Type Guest" msgstr "Tipo de Huesped" +msgctxt "field:hotel.booking.guest,type_person:" +msgid "Type Person" +msgstr "Tipo de Persona" + msgctxt "field:hotel.booking.guest,write_date:" msgid "Write Date" msgstr "Fecha de Modificación" @@ -502,7 +434,6 @@ msgctxt "field:hotel.booking.line,main_guest:" msgid "Main Guest" msgstr "Huesped Principal" -#, fuzzy msgctxt "field:hotel.booking.line,nationality:" msgid "Nationality" msgstr "Nacionalidad" @@ -523,20 +454,26 @@ msgctxt "field:hotel.booking.line,operation:" msgid "Operation" msgstr "Operación / Folio" -#, fuzzy msgctxt "field:hotel.booking.line,origin_city:" msgid "Origin City" msgstr "Ciudad Origen" +msgctxt "field:hotel.booking.line,origin_country:" +msgid "Origin Country" +msgstr "País de Origen" + msgctxt "field:hotel.booking.line,product:" msgid "Product" msgstr "Producto" -#, fuzzy msgctxt "field:hotel.booking.line,rec_name:" msgid "Record Name" msgstr "Nombre" +msgctxt "field:hotel.booking.line,registration_state:" +msgid "Registration State" +msgstr "Estado de Registro" + msgctxt "field:hotel.booking.line,room:" msgid "Room" msgstr "Habitación" @@ -545,11 +482,14 @@ msgctxt "field:hotel.booking.line,state:" msgid "State" msgstr "Estado" -#, fuzzy msgctxt "field:hotel.booking.line,target_city:" msgid "Target City" msgstr "Ciudad Destino" +msgctxt "field:hotel.booking.line,target_country:" +msgid "Target Country" +msgstr "" + msgctxt "field:hotel.booking.line,total_amount:" msgid "Total Amount" msgstr "Importe" @@ -576,7 +516,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.booking.line,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.booking.select_rooms.ask,accommodation:" msgid "Accommodation" @@ -646,17 +586,14 @@ msgctxt "field:hotel.channel,party:" msgid "Party" msgstr "Tercero" -#, fuzzy msgctxt "field:hotel.channel,payment_method:" msgid "Payment Method" msgstr "Método de pago" -#, fuzzy msgctxt "field:hotel.channel,price_list:" msgid "Price List" msgstr "Tarifa" -#, fuzzy msgctxt "field:hotel.channel,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -675,7 +612,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.channel,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.channel-account.tax,channel:" msgid "Sale Channel" @@ -693,7 +630,6 @@ msgctxt "field:hotel.channel-account.tax,id:" msgid "ID" msgstr "ID" -#, fuzzy msgctxt "field:hotel.channel-account.tax,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -708,7 +644,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.channel-account.tax,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.cleaning_days,amenities:" msgid "Amenities" @@ -744,15 +680,15 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.cleaning_days,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.configuration,age_children_policy:" msgid "Age Children Policy" -msgstr "" +msgstr "Pólitica de Niños" msgctxt "field:hotel.configuration,booking_email_template:" msgid "Booking Template Email" -msgstr "" +msgstr "Plantilla Email Reserva" msgctxt "field:hotel.configuration,booking_sequence:" msgid "Hotel Booking Sequence" @@ -768,15 +704,15 @@ msgstr "Hora de Check Out" msgctxt "field:hotel.configuration,cleaning_check_in:" msgid "Cleaning Check In" -msgstr "" +msgstr "Limpieza de Check-In" msgctxt "field:hotel.configuration,cleaning_check_out:" msgid "Cleaning Check Out" -msgstr "" +msgstr "Limpieza de Check-Out" msgctxt "field:hotel.configuration,cleaning_occupied:" msgid "Cleaning Occupied" -msgstr "" +msgstr "Limpieza Ocupada" msgctxt "field:hotel.configuration,company:" msgid "Company" @@ -804,11 +740,11 @@ msgstr "Cargos por Defecto" msgctxt "field:hotel.configuration,full_clean_lapse:" msgid "Full Clean Lapse" -msgstr "" +msgstr "Lapso para Limpieza Total" msgctxt "field:hotel.configuration,full_clean_time:" msgid "Full Clean Time" -msgstr "" +msgstr "Tiempo para Limpieza Total" msgctxt "field:hotel.configuration,hotel_service_sequence:" msgid "Hotel Service Sequence" @@ -820,9 +756,8 @@ msgstr "ID" msgctxt "field:hotel.configuration,quarantine_rooms:" msgid "Quarantine Rooms" -msgstr "" +msgstr "Cuarentena" -#, fuzzy msgctxt "field:hotel.configuration,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -841,7 +776,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.configuration,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.configuration-product.product,configuration:" msgid "Configuration" @@ -863,7 +798,6 @@ msgctxt "field:hotel.configuration-product.product,product:" msgid "Product" msgstr "Producto" -#, fuzzy msgctxt "field:hotel.configuration-product.product,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -874,7 +808,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.configuration-product.product,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.daily_services.start,company:" msgid "Company" @@ -900,7 +834,6 @@ msgctxt "field:hotel.housekeeping,availability:" msgid "Availability" msgstr "Disponibilidad" -#, fuzzy msgctxt "field:hotel.housekeeping,check_in_time:" msgid "Check In Time" msgstr "Hora de Check In" @@ -909,14 +842,13 @@ msgctxt "field:hotel.housekeeping,check_list:" msgid "Check List" msgstr "Lista de Chequeo" -#, fuzzy msgctxt "field:hotel.housekeeping,check_out_time:" msgid "Check In Time" msgstr "Hora de Check In" msgctxt "field:hotel.housekeeping,cleaning_type:" msgid "Cleaning Type" -msgstr "" +msgstr "Tipo de Limipeza" msgctxt "field:hotel.housekeeping,create_date:" msgid "Create Date" @@ -942,7 +874,6 @@ msgctxt "field:hotel.housekeeping,notes:" msgid "Notes" msgstr "Observaciones" -#, fuzzy msgctxt "field:hotel.housekeeping,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -959,7 +890,6 @@ msgctxt "field:hotel.housekeeping,state:" msgid "Status" msgstr "Estado" -#, fuzzy msgctxt "field:hotel.housekeeping,tasks:" msgid "House Tasks" msgstr "Tareas" @@ -970,44 +900,36 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.housekeeping,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,create_date:" msgid "Create Date" msgstr "Fecha de Creación" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,create_uid:" msgid "Create User" -msgstr "Usuario de creción" +msgstr "Creado por usuario" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,description:" msgid "Description" msgstr "Descripción" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,id:" msgid "ID" -msgstr "UP" +msgstr "ID" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,name:" msgid "Name" -msgstr "Nombre del registro" +msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" -#, fuzzy msgctxt "field:hotel.housekeeping.cleaning_type,write_uid:" msgid "Write User" msgstr "Usuario modificación" @@ -1020,7 +942,6 @@ msgctxt "field:hotel.housekeeping.task,create_uid:" msgid "Create User" msgstr "Creado por usuario" -#, fuzzy msgctxt "field:hotel.housekeeping.task,frecuency:" msgid "Frecuency" msgstr "Frecuencia" @@ -1033,7 +954,6 @@ msgctxt "field:hotel.housekeeping.task,id:" msgid "ID" msgstr "ID" -#, fuzzy msgctxt "field:hotel.housekeeping.task,quantity:" msgid "Quantity" msgstr "Cantidad" @@ -1052,7 +972,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.housekeeping.task,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.invoice_income_daily.start,company:" msgid "Company" @@ -1098,7 +1018,6 @@ msgctxt "field:hotel.location,parent:" msgid "Parent" msgstr "Padre" -#, fuzzy msgctxt "field:hotel.location,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1109,7 +1028,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.location,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.migration_city,code:" msgid "Code" @@ -1131,7 +1050,6 @@ msgctxt "field:hotel.migration_city,name:" msgid "Name" msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.migration_city,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1142,7 +1060,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.migration_city,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.open_migration.start,company:" msgid "Company" @@ -1160,7 +1078,6 @@ msgctxt "field:hotel.open_migration.start,start_date:" msgid "Start Date" msgstr "Fecha Inicio" -#, fuzzy msgctxt "field:hotel.operation,accommodation:" msgid "Accommodation Product" msgstr "Acomodación" @@ -1169,13 +1086,21 @@ msgctxt "field:hotel.operation,add_default_charges:" msgid "Add Default Charges" msgstr "Agregar Cargos por Defecto" +msgctxt "field:hotel.operation,agent:" +msgid "Agent" +msgstr "Agente" + +msgctxt "field:hotel.operation,breakfast_included:" +msgid "Breakfast Included" +msgstr "Desayuno Incluido" + msgctxt "field:hotel.operation,company:" msgid "Company" msgstr "Empresa" msgctxt "field:hotel.operation,complementary:" -msgid "complementary" -msgstr "" +msgid "Complementary" +msgstr "Complementario" msgctxt "field:hotel.operation,create_date:" msgid "Create Date" @@ -1193,7 +1118,6 @@ msgctxt "field:hotel.operation,description:" msgid "Description" msgstr "Descripción" -#, fuzzy msgctxt "field:hotel.operation,end_date:" msgid "Departure Date" msgstr "Fecha Salida" @@ -1244,13 +1168,12 @@ msgstr "Tercero" msgctxt "field:hotel.operation,pending_payment:" msgid "Pending Payment" -msgstr "" +msgstr "Pagos Pendientes" msgctxt "field:hotel.operation,price_list:" msgid "Price List" msgstr "Tarifa" -#, fuzzy msgctxt "field:hotel.operation,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1273,12 +1196,11 @@ msgstr "" msgctxt "field:hotel.operation,sale_line:" msgid "Sale Line" -msgstr "Línea de venta" +msgstr "Línea de Venta" -#, fuzzy msgctxt "field:hotel.operation,start_date:" msgid "Arrival Date" -msgstr "Fecha llegada" +msgstr "Fecha Llegada" msgctxt "field:hotel.operation,state:" msgid "State" @@ -1302,7 +1224,7 @@ msgstr "Folios Transferidas" msgctxt "field:hotel.operation,type_complementary:" msgid "Type Complementary" -msgstr "" +msgstr "Tipo de Complementario" msgctxt "field:hotel.operation,unit_price:" msgid "Unit Price" @@ -1322,7 +1244,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.operation,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.operation-account.voucher,create_date:" msgid "Create Date" @@ -1330,7 +1252,7 @@ msgstr "Fecha de Creación" msgctxt "field:hotel.operation-account.voucher,create_uid:" msgid "Create User" -msgstr "Usuario de creación" +msgstr "Creado por usuario" msgctxt "field:hotel.operation-account.voucher,id:" msgid "ID" @@ -1342,7 +1264,7 @@ msgstr "Operación / Folio" msgctxt "field:hotel.operation-account.voucher,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" msgctxt "field:hotel.operation-account.voucher,voucher:" msgid "Voucher" @@ -1350,7 +1272,7 @@ msgstr "Comprobante" msgctxt "field:hotel.operation-account.voucher,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" msgctxt "field:hotel.operation-account.voucher,write_uid:" msgid "Write User" @@ -1390,7 +1312,7 @@ msgstr "Fecha de Creación" msgctxt "field:hotel.operation.guest,create_uid:" msgid "Create User" -msgstr "Usuario de creación" +msgstr "Creado por usuario" msgctxt "field:hotel.operation.guest,id:" msgid "ID" @@ -1406,11 +1328,11 @@ msgstr "Tercero" msgctxt "field:hotel.operation.guest,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" msgctxt "field:hotel.operation.guest,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" msgctxt "field:hotel.operation.guest,write_uid:" msgid "Write User" @@ -1426,7 +1348,7 @@ msgstr "Fecha de Creación" msgctxt "field:hotel.operation.line,create_uid:" msgid "Create User" -msgstr "Usuario de creación" +msgstr "Creado por usuario" msgctxt "field:hotel.operation.line,date_service:" msgid "Date Service" @@ -1462,7 +1384,7 @@ msgstr "Cantidad" msgctxt "field:hotel.operation.line,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" msgctxt "field:hotel.operation.line,sale_line:" msgid "Sale Line" @@ -1486,7 +1408,7 @@ msgstr "Precio Unitario" msgctxt "field:hotel.operation.line,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" msgctxt "field:hotel.operation.line,write_uid:" msgid "Write User" @@ -1520,7 +1442,6 @@ msgctxt "field:hotel.operation.maintenance,operation:" msgid "Operation" msgstr "Operación / Folio" -#, fuzzy msgctxt "field:hotel.operation.maintenance,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1543,7 +1464,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.operation.maintenance,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.operation.transfer_charge.ask,id:" msgid "ID" @@ -1565,37 +1486,78 @@ msgctxt "field:hotel.operation.transfer_operation.ask,tranfer_charges:" msgid "Transfer Charges" msgstr "Transferir Cargos" -#, fuzzy +msgctxt "field:hotel.party.guest.start,birthday:" +msgid "Birthday" +msgstr "Fecha de Nacimiento" + +msgctxt "field:hotel.party.guest.start,email:" +msgid "Email" +msgstr "Email" + +msgctxt "field:hotel.party.guest.start,first_family_name:" +msgid "First Family Name" +msgstr "Primer Apellido" + +msgctxt "field:hotel.party.guest.start,first_name:" +msgid "First Name" +msgstr "Primer Nombre" + +msgctxt "field:hotel.party.guest.start,full_name:" +msgid "Name" +msgstr "Nombre" + +msgctxt "field:hotel.party.guest.start,id_number:" +msgid "Id Number" +msgstr "Número Id" + +msgctxt "field:hotel.party.guest.start,mobile:" +msgid "Mobile" +msgstr "Móvil" + +msgctxt "field:hotel.party.guest.start,second_family_name:" +msgid "Second Family Name" +msgstr "Segundo Apellido" + +msgctxt "field:hotel.party.guest.start,second_name:" +msgid "Second Name" +msgstr "Segundo Nombre" + +msgctxt "field:hotel.party.guest.start,sex:" +msgid "Sex" +msgstr "Sexo" + +msgctxt "field:hotel.party.guest.start,type_document:" +msgid "Document Type" +msgstr "Tipo de Documento" + +msgctxt "field:hotel.party.guest.start,type_person:" +msgid "Type Person" +msgstr "Tipo de Persona" + msgctxt "field:hotel.policy.cancellation,create_date:" msgid "Create Date" msgstr "Fecha de Creación" -#, fuzzy msgctxt "field:hotel.policy.cancellation,create_uid:" msgid "Create User" -msgstr "Usuario de creción" +msgstr "Creado por usuario" -#, fuzzy msgctxt "field:hotel.policy.cancellation,id:" msgid "ID" -msgstr "UP" +msgstr "ID" -#, fuzzy msgctxt "field:hotel.policy.cancellation,name:" msgid "Name" -msgstr "Nombre del registro" +msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.policy.cancellation,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.policy.cancellation,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" -#, fuzzy msgctxt "field:hotel.policy.cancellation,write_uid:" msgid "Write User" msgstr "Usuario modificación" @@ -1706,17 +1668,16 @@ msgstr "Principal Acomodación" msgctxt "field:hotel.room,max_unit_price:" msgid "Max. Unit Price" -msgstr "" +msgstr "Máx. Precio Unitario" msgctxt "field:hotel.room,min_unit_price:" msgid "Min. Unit Price" -msgstr "" +msgstr "Mín. Precio Unitario" msgctxt "field:hotel.room,name:" msgid "Name" msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.room,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1753,7 +1714,6 @@ msgctxt "field:hotel.room-hotel.amenities,id:" msgid "ID" msgstr "ID" -#, fuzzy msgctxt "field:hotel.room-hotel.amenities,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1768,7 +1728,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.room-hotel.amenities,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.room-product.template,create_date:" msgid "Create Date" @@ -1782,7 +1742,6 @@ msgctxt "field:hotel.room-product.template,id:" msgid "ID" msgstr "ID" -#, fuzzy msgctxt "field:hotel.room-product.template,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1801,7 +1760,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.room-product.template,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.room.classification,create_date:" msgid "Create Date" @@ -1819,7 +1778,6 @@ msgctxt "field:hotel.room.classification,name:" msgid "Name" msgstr "Nombre" -#, fuzzy msgctxt "field:hotel.room.classification,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1830,7 +1788,11 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.room.classification,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" + +msgctxt "field:hotel.service,company:" +msgid "Company" +msgstr "Empresa" msgctxt "field:hotel.service,count_services:" msgid "Count Services" @@ -1864,7 +1826,6 @@ msgctxt "field:hotel.service,number:" msgid "Number" msgstr "Número" -#, fuzzy msgctxt "field:hotel.service,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1883,7 +1844,11 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.service,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" + +msgctxt "field:hotel.service.kind,category:" +msgid "Category" +msgstr "Categoría / Servicio" msgctxt "field:hotel.service.kind,create_date:" msgid "Create Date" @@ -1919,7 +1884,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.service.kind,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.service.line,create_date:" msgid "Create Date" @@ -1965,7 +1930,6 @@ msgctxt "field:hotel.service.line,quantity:" msgid "Quantity" msgstr "Cantidad" -#, fuzzy msgctxt "field:hotel.service.line,rec_name:" msgid "Record Name" msgstr "Nombre" @@ -1996,7 +1960,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.service.line,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:hotel.statistics_by_month.start,company:" msgid "Company" @@ -2018,7 +1982,6 @@ msgctxt "field:hotel.task,create_uid:" msgid "Create User" msgstr "Creado por usuario" -#, fuzzy msgctxt "field:hotel.task,frecuency:" msgid "Frecuency" msgstr "Frecuencia" @@ -2031,7 +1994,6 @@ msgctxt "field:hotel.task,name:" msgid "Name Task" msgstr "Nombre de Tarea" -#, fuzzy msgctxt "field:hotel.task,quantity:" msgid "Quantity" msgstr "Cantidad" @@ -2046,7 +2008,7 @@ msgstr "Fecha de Modificación" msgctxt "field:hotel.task,write_uid:" msgid "Write User" -msgstr "Modificado por usuario" +msgstr "Usuario modificación" msgctxt "field:party.party,sale_commission:" msgid "Sales Commission %" @@ -2068,6 +2030,10 @@ msgctxt "field:party.party,visa_number:" msgid "Visa Number" msgstr "Número de Visa" +msgctxt "field:product.price_list,breakfast_included:" +msgid "Breakfast Included" +msgstr "Desayuno Incluido" + msgctxt "field:product.template,accommodation_capacity:" msgid "Accommodation Capacity" msgstr "Capacidad de Acomodación" @@ -2080,47 +2046,38 @@ msgctxt "field:product.template,kind:" msgid "Kind" msgstr "Clase" -#, fuzzy msgctxt "field:sale.sale,vouchers:" msgid "Vouchers" msgstr "Comprobantes" -#, fuzzy msgctxt "field:sale.sale-account.voucher,create_date:" msgid "Create Date" msgstr "Fecha de Creación" -#, fuzzy msgctxt "field:sale.sale-account.voucher,create_uid:" msgid "Create User" -msgstr "Usuario de creción" +msgstr "Creado por usuario" -#, fuzzy msgctxt "field:sale.sale-account.voucher,id:" msgid "ID" -msgstr "UP" +msgstr "ID" -#, fuzzy msgctxt "field:sale.sale-account.voucher,rec_name:" msgid "Record Name" -msgstr "Nombre del registro" +msgstr "Nombre" -#, fuzzy msgctxt "field:sale.sale-account.voucher,sale:" msgid "Sale" msgstr "Venta" -#, fuzzy msgctxt "field:sale.sale-account.voucher,voucher:" msgid "Voucher" msgstr "Comprobantes" -#, fuzzy msgctxt "field:sale.sale-account.voucher,write_date:" msgid "Write Date" -msgstr "Modificado por Usuario" +msgstr "Fecha de Modificación" -#, fuzzy msgctxt "field:sale.sale-account.voucher,write_uid:" msgid "Write User" msgstr "Usuario modificación" @@ -2133,7 +2090,6 @@ msgctxt "help:hotel.booking,media:" msgid "Media from booking coming from." msgstr "Medio por el cual se hace la reserva." -#, fuzzy msgctxt "help:hotel.booking,number:" msgid "Sequence of reservation." msgstr "Número de sequencia de reserva" @@ -2164,22 +2120,18 @@ msgctxt "help:hotel.booking,vehicles_num:" msgid "Number of vehicles that bring with guests." msgstr "Número de vehiculos" -#, fuzzy msgctxt "help:hotel.configuration,age_children_policy:" msgid "In Days" msgstr "En Días" -#, fuzzy msgctxt "help:hotel.configuration,full_clean_lapse:" msgid "In Days" msgstr "En Días" -#, fuzzy msgctxt "help:hotel.configuration,quarantine_rooms:" msgid "In days" msgstr "En días" -#, fuzzy msgctxt "help:hotel.housekeeping.task,frecuency:" msgid "In days" msgstr "En días" @@ -2188,7 +2140,6 @@ msgctxt "help:hotel.room,space:" msgid "Space on m2" msgstr "Espacio en m2" -#, fuzzy msgctxt "help:hotel.task,frecuency:" msgid "In days" msgstr "En días" @@ -2251,9 +2202,8 @@ msgstr "Ama de Llaves" msgctxt "model:hotel.housekeeping.cleaning_type,name:" msgid "Housekeeping Cleaning Type" -msgstr "" +msgstr "Tipo de Limpieza" -#, fuzzy msgctxt "model:hotel.housekeeping.task,name:" msgid "Hotel Housekeeping Task" msgstr "Tarea - Ama de Llaves" @@ -2310,9 +2260,13 @@ msgctxt "model:hotel.operation.transfer_operation.ask,name:" msgid "Transfer Operation" msgstr "Transferir Operación / Folio" +msgctxt "model:hotel.party.guest.start,name:" +msgid "Create Party to Guest Start" +msgstr "Crear Huesped" + msgctxt "model:hotel.policy.cancellation,name:" msgid "Hotel Policy Cancellation" -msgstr "" +msgstr "Pólitica de Cancelación" msgctxt "model:hotel.print_booking_daily.start,name:" msgid "Booking Daily Start" @@ -2326,7 +2280,6 @@ msgctxt "model:hotel.print_guests_list.start,name:" msgid "Guests List Start" msgstr "Lista de Huespedes" -#, fuzzy msgctxt "model:hotel.print_housekeeping_service.start,name:" msgid "Print Housekeeping service Start" msgstr "Ama de llaves" @@ -2397,7 +2350,7 @@ msgstr "Configuración del Hotel" msgctxt "model:ir.action,name:act_housekeeping_cleaning_type_form" msgid "Cleaning Type" -msgstr "" +msgstr "Tipo de Limpieza" msgctxt "model:ir.action,name:act_housekeeping_form" msgid "Housekeeping" @@ -2423,7 +2376,6 @@ msgctxt "model:ir.action,name:act_operation_maintenance_tree" msgid "Operation Maintenance" msgstr "Operación de Mantenimiento" -#, fuzzy msgctxt "model:ir.action,name:act_operation_transfer_charge" msgid "Transfer Charges" msgstr "Transferir Cargos" @@ -2456,7 +2408,6 @@ msgctxt "model:ir.action,name:act_service_tree" msgid "Service" msgstr "Servicio" -#, fuzzy msgctxt "model:ir.action,name:act_task_housekeeping_form" msgid "Tasks Housekeeping" msgstr "Tarea de Ama de Llaves" @@ -2481,7 +2432,6 @@ msgctxt "model:ir.action,name:report_hotel_service" msgid "Service" msgstr "Servicio" -#, fuzzy msgctxt "model:ir.action,name:report_housekeeping_service" msgid "Housekeeping Service Report" msgstr "Reporte de Ama de Llaves" @@ -2534,6 +2484,10 @@ msgctxt "model:ir.action,name:wizard_operation_check_out" msgid "Operation Check Out" msgstr "Hacer Check Out" +msgctxt "model:ir.action,name:wizard_party_guest" +msgid "Create Guest" +msgstr "Crear Huesped" + msgctxt "model:ir.action,name:wizard_print_booking_daily" msgid "Booking Daily Report" msgstr "Reservas por Día" @@ -2574,12 +2528,6 @@ msgctxt "model:ir.action.act_window.domain,name:act_booking_form_domain_all" msgid "All" msgstr "Todos" -msgctxt "" -"model:ir.action.act_window.domain,name:act_booking_form_domain_check_in" -msgid "Check In" -msgstr "Check In" - -#, fuzzy msgctxt "" "model:ir.action.act_window.domain,name:act_booking_form_domain_check_out" msgid "Check Out" @@ -2593,18 +2541,17 @@ msgstr "Confirmado" msgctxt "" "model:ir.action.act_window.domain,name:act_booking_form_domain_no_show" msgid "No Show" -msgstr "" +msgstr "No Presentado" msgctxt "" "model:ir.action.act_window.domain,name:act_booking_form_domain_not_confirmed" msgid "Not Confirmed" -msgstr "" +msgstr "No Confirmada" msgctxt "model:ir.action.act_window.domain,name:act_booking_form_domain_offer" msgid "Offer" -msgstr "" +msgstr "Oferta" -#, fuzzy msgctxt "" "model:ir.action.act_window.domain,name:act_guest_moves_form_domain_all" msgid "All" @@ -2644,11 +2591,10 @@ msgctxt "" msgid "Draft" msgstr "Borrador" -#, fuzzy msgctxt "" "model:ir.action.act_window.domain,name:act_operation_form_domain_open" msgid "Open" -msgstr "Pendiente" +msgstr "Abierto" msgctxt "model:ir.action.act_window.domain,name:act_service_form_domain_all" msgid "All" @@ -2671,12 +2617,100 @@ msgctxt "model:ir.action.act_window.domain,name:act_service_form_domain_today" msgid "Today" msgstr "Hoy" -#, fuzzy +msgctxt "model:ir.message,text:msg_accommodation_not_defined" +msgid "The room %s has not accommodation" +msgstr "" + +msgctxt "model:ir.message,text:msg_check_time_not_configured" +msgid "The check out time is not configured!" +msgstr "" + +msgctxt "model:ir.message,text:msg_error" +msgid "Error \"\\n\" %s" +msgstr "" + +msgctxt "model:ir.message,text:msg_invalid_arrival_date" +msgid "You cannot check in before the reserved date!" +msgstr "" + +msgctxt "model:ir.message,text:msg_invalid_date" +msgid "Departure date must be greater that arrival date" +msgstr "La fecha de salida debe ser mayor que la fecha de llegada" + +msgctxt "model:ir.message,text:msg_invalid_date_range" +msgid "The start date is greater than end date" +msgstr "" + +msgctxt "model:ir.message,text:msg_invalid_number_guests" +msgid "Invalid number of guests for the room %s." +msgstr "El número de huespedes para la habitación es inválido. " + +msgctxt "model:ir.message,text:msg_invalid_number_principal_guest" +msgid "Must exist one principal guest" +msgstr "Debe haber un huesped principal" + +msgctxt "model:ir.message,text:msg_missing_confirm_booking" +msgid "Missing confirm booking" +msgstr "Falta confirmar la reserva" + +msgctxt "model:ir.message,text:msg_missing_default_configuration" +msgid "" +"Missing default configuration for check-in time or check-out time or " +"sequence!" +msgstr "Falta la configuración de check-in o check-out" + +msgctxt "model:ir.message,text:msg_missing_main_guest" +msgid "Missing main guest in lines!" +msgstr "Falta el huesped principal en las líneas!" + +msgctxt "model:ir.message,text:msg_missing_select_room" +msgid "Missing select room!" +msgstr "Falta seleccionar la habitación!" + +msgctxt "model:ir.message,text:msg_missing_sequence_registration" +msgid "Missing the configuration of registration card sequence!" +msgstr "Falta la configuración de la secuencia de registro!" + +msgctxt "model:ir.message,text:msg_occupied_room" +msgid "The room is occupied in the date %s" +msgstr "" + +msgctxt "model:ir.message,text:msg_operation_current" +msgid "Error, Can not select current operation" +msgstr "" + +msgctxt "model:ir.message,text:msg_overlap_operation_line" +msgid "The operation for the room %s overlaps with another operation!" +msgstr "" + +msgctxt "model:ir.message,text:msg_payterm_missing" +msgid "The payment term is missing!" +msgstr "" + +msgctxt "model:ir.message,text:msg_reservation_checkin" +msgid "The reservation already has check_in or check_out" +msgstr "" + +msgctxt "model:ir.message,text:msg_restring_room" +msgid "The room %s is in restring access for quarantine protocolo!" +msgstr "" + +msgctxt "model:ir.message,text:msg_room_no_clean" +msgid "The room %s is not clean!" +msgstr "" + +msgctxt "model:ir.message,text:msg_room_not_occupied" +msgid "The room %s selected is not occupied" +msgstr "" + +msgctxt "model:ir.message,text:msg_sale_closed" +msgid "You can not add charges to a sale is closed %s" +msgstr "" + msgctxt "model:ir.model.button,string:hotel_operation_check_out_button" msgid "Closed" -msgstr "Check Out" +msgstr "Cerrado" -#, fuzzy msgctxt "model:ir.model.button,string:operation_bill_button" msgid "Bill" msgstr "Facturar" @@ -2747,7 +2781,7 @@ msgstr "Configuración" msgctxt "model:ir.ui.menu,name:menu_hotel_housekeeping_cleaning_type" msgid "Cleaning Type" -msgstr "" +msgstr "Tipo de Limpieza" msgctxt "model:ir.ui.menu,name:menu_hotel_migration_city" msgid "Migration City" @@ -2821,7 +2855,6 @@ msgctxt "model:res.group,name:group_hotel_admin" msgid "Hotel Administration" msgstr "Administración del Hotel" -#, fuzzy msgctxt "model:sale.sale-account.voucher,name:" msgid "Sale - Voucher" msgstr "Venta - Comprobante" @@ -2948,9 +2981,10 @@ msgctxt "report:hotel.booking:" msgid "IMPUESTOS" msgstr "IMPUESTOS" +#, fuzzy msgctxt "report:hotel.booking:" msgid "M" -msgstr "" +msgstr "M" msgctxt "report:hotel.booking:" msgid "MONEDA" @@ -4107,40 +4141,36 @@ msgctxt "report:hotel.guests_list.report:" msgid "date" msgstr "fecha" -msgctxt "report:hotel.guests_list.report:" -msgid "for each='guest in rec.guests'" -msgstr "" - msgctxt "report:hotel.guests_list.report:" msgid "for each='rec in records'" msgstr "" -msgctxt "report:hotel.guests_list.report:" -msgid "guest.party.name" -msgstr "" - msgctxt "report:hotel.guests_list.report:" msgid "occupancy_rate" msgstr "" msgctxt "report:hotel.guests_list.report:" -msgid "rec.end_date" +msgid "rec[ 'guest']" msgstr "" msgctxt "report:hotel.guests_list.report:" -msgid "rec.nights_quantity" +msgid "rec[ 'party']" msgstr "" msgctxt "report:hotel.guests_list.report:" -msgid "rec.party.name" +msgid "rec[ 'room']" msgstr "" msgctxt "report:hotel.guests_list.report:" -msgid "rec.room and rec.room.code" +msgid "rec[ 'start_date']" msgstr "" msgctxt "report:hotel.guests_list.report:" -msgid "rec.start_date" +msgid "rec['end_date']" +msgstr "" + +msgctxt "report:hotel.guests_list.report:" +msgid "rec['nights_quantity']" msgstr "" msgctxt "report:hotel.guests_list.report:" @@ -4557,10 +4587,6 @@ msgctxt "report:hotel.migration:" msgid "PRIMER APELLIDO" msgstr "" -msgctxt "report:hotel.migration:" -msgid "PROFESION" -msgstr "" - msgctxt "report:hotel.migration:" msgid "Página" msgstr "" @@ -4590,17 +4616,17 @@ msgid "for each='line in records'" msgstr "" msgctxt "report:hotel.migration:" -msgid "guest.origin_city and guest.origin_city.code" +msgid "guest.nationality and guest.nationality.code" +msgstr "" + +msgctxt "report:hotel.migration:" +msgid "guest.origin_country and guest.origin_country.code" msgstr "" msgctxt "report:hotel.migration:" msgid "guest.party.birthday" msgstr "" -msgctxt "report:hotel.migration:" -msgid "guest.party.education" -msgstr "" - msgctxt "report:hotel.migration:" msgid "guest.party.first_family_name" msgstr "" @@ -4613,20 +4639,16 @@ msgctxt "report:hotel.migration:" msgid "guest.party.id_number" msgstr "" -msgctxt "report:hotel.migration:" -msgid "guest.party.nationality and guest.party.nationality.code" -msgstr "" - msgctxt "report:hotel.migration:" msgid "guest.party.second_family_name" msgstr "" msgctxt "report:hotel.migration:" -msgid "guest.party.type_document" +msgid "guest.target_country and guest.target_country.code" msgstr "" msgctxt "report:hotel.migration:" -msgid "guest.target_city and guest.target_city.code" +msgid "guest.type_document" msgstr "" msgctxt "report:hotel.migration:" @@ -4649,10 +4671,6 @@ msgctxt "report:hotel.migration:" msgid "line.main_guest.birthday" msgstr "" -msgctxt "report:hotel.migration:" -msgid "line.main_guest.education" -msgstr "" - msgctxt "report:hotel.migration:" msgid "line.main_guest.first_family_name" msgstr "" @@ -4665,10 +4683,6 @@ msgctxt "report:hotel.migration:" msgid "line.main_guest.id_number" msgstr "" -msgctxt "report:hotel.migration:" -msgid "line.main_guest.nationality and line.main_guest.nationality.code" -msgstr "" - msgctxt "report:hotel.migration:" msgid "line.main_guest.second_family_name" msgstr "" @@ -4678,11 +4692,15 @@ msgid "line.main_guest.type_document" msgstr "" msgctxt "report:hotel.migration:" -msgid "line.origin_city and line.origin_city.code" +msgid "line.nationality and line.nationality.code" msgstr "" msgctxt "report:hotel.migration:" -msgid "line.target_city and line.target_city.code" +msgid "line.origin_country and line.origin_country.code" +msgstr "" + +msgctxt "report:hotel.migration:" +msgid "line.target_country and line.target_country.code" msgstr "" msgctxt "report:hotel.migration:" @@ -5894,10 +5912,6 @@ msgctxt "report:hotel.rooms_occupancy.report:" msgid "???" msgstr "" -msgctxt "report:hotel.rooms_occupancy.report:" -msgid "EMPRESA" -msgstr "" - msgctxt "report:hotel.rooms_occupancy.report:" msgid "ESTADO" msgstr "" @@ -5951,6 +5965,10 @@ msgctxt "report:hotel.rooms_occupancy.report:" msgid "TASA DE OCUPACIÓN" msgstr "" +msgctxt "report:hotel.rooms_occupancy.report:" +msgid "TERCERO" +msgstr "" + msgctxt "report:hotel.rooms_occupancy.report:" msgid "TOTAL HAB. OCUPADAS" msgstr "" @@ -5984,7 +6002,7 @@ msgid "de" msgstr "" msgctxt "report:hotel.rooms_occupancy.report:" -msgid "for each='id, rec in records.items()'" +msgid "for each='rec in records'" msgstr "" msgctxt "report:hotel.rooms_occupancy.report:" @@ -6605,11 +6623,6 @@ msgctxt "report:hotel.statistics_by_month.report:" msgid "€" msgstr "" -#, fuzzy -msgctxt "selection:hotel.amenities,type:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.amenities,type:" msgid "Lingerie Room" msgstr "Lenceria" @@ -6618,11 +6631,6 @@ msgctxt "selection:hotel.amenities,type:" msgid "Service" msgstr "Servicio" -#, fuzzy -msgctxt "selection:hotel.booking,guarantee:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,guarantee:" msgid "Credit Card" msgstr "Tarjeta de Crédito" @@ -6647,11 +6655,6 @@ msgctxt "selection:hotel.booking,invoice_method:" msgid "By Main Guest" msgstr "Por Huesped Principal" -#, fuzzy -msgctxt "selection:hotel.booking,media:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,media:" msgid "Channel Manager" msgstr "Gestor de Canales" @@ -6688,11 +6691,6 @@ msgctxt "selection:hotel.booking,media:" msgid "Web" msgstr "Web" -#, fuzzy -msgctxt "selection:hotel.booking,plan:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,plan:" msgid "All Inclusive" msgstr "Todo Incluido" @@ -6709,29 +6707,25 @@ msgctxt "selection:hotel.booking,plan:" msgid "Half American" msgstr "Medio Americano" -#, fuzzy -msgctxt "selection:hotel.booking,registration_state:" -msgid "" -msgstr "Punto de Orden" +msgctxt "selection:hotel.booking,plan:" +msgid "No Breakfast" +msgstr "Sin Desayuno" -#, fuzzy msgctxt "selection:hotel.booking,registration_state:" msgid "Check In" msgstr "Check In" -#, fuzzy msgctxt "selection:hotel.booking,registration_state:" msgid "Check Out" msgstr "Check Out" msgctxt "selection:hotel.booking,registration_state:" msgid "No Show" -msgstr "" +msgstr "No Presentado" -#, fuzzy -msgctxt "selection:hotel.booking,satisfaction:" -msgid "" -msgstr "Punto de Orden" +msgctxt "selection:hotel.booking,registration_state:" +msgid "Pending" +msgstr "Pendiente" msgctxt "selection:hotel.booking,satisfaction:" msgid "Bad" @@ -6753,11 +6747,6 @@ msgctxt "selection:hotel.booking,satisfaction:" msgid "Worse" msgstr "Peor" -#, fuzzy -msgctxt "selection:hotel.booking,segment:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,segment:" msgid "Adventure" msgstr "Aventura" @@ -6810,11 +6799,6 @@ msgctxt "selection:hotel.booking,segment:" msgid "Weddings" msgstr "Bodas" -#, fuzzy -msgctxt "selection:hotel.booking,source_contact:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,source_contact:" msgid "Advertising" msgstr "Publicidad" @@ -6839,11 +6823,6 @@ msgctxt "selection:hotel.booking,source_contact:" msgid "Yellow Pages" msgstr "Paginas Amarillas" -#, fuzzy -msgctxt "selection:hotel.booking,state:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.booking,state:" msgid "Cancelled" msgstr "Cancelado" @@ -6854,29 +6833,19 @@ msgstr "Confirmado" msgctxt "selection:hotel.booking,state:" msgid "Not Confirmed" -msgstr "" +msgstr "No Confirmada" msgctxt "selection:hotel.booking,state:" msgid "Offer" -msgstr "" - -#, fuzzy -msgctxt "selection:hotel.booking,type_complementary:" -msgid "" -msgstr "Punto de Orden" +msgstr "Oferta" msgctxt "selection:hotel.booking,type_complementary:" msgid "Courtesy" -msgstr "" +msgstr "Cortesia" msgctxt "selection:hotel.booking,type_complementary:" msgid "In House" -msgstr "" - -#, fuzzy -msgctxt "selection:hotel.booking.guest,sex:" -msgid "" -msgstr "Punto de Orden" +msgstr "En Casa" msgctxt "selection:hotel.booking.guest,sex:" msgid "Female" @@ -6914,41 +6883,53 @@ msgctxt "selection:hotel.booking.guest,type_guest:" msgid "Child" msgstr "Niño(a)" -#, fuzzy -msgctxt "selection:hotel.booking.line,state:" -msgid "" -msgstr "Punto de Orden" +msgctxt "selection:hotel.booking.guest,type_person:" +msgid "Persona Juridica" +msgstr "" + +msgctxt "selection:hotel.booking.guest,type_person:" +msgid "Persona Natural" +msgstr "" + +msgctxt "selection:hotel.booking.line,registration_state:" +msgid "Check In" +msgstr "Check In" + +msgctxt "selection:hotel.booking.line,registration_state:" +msgid "Check Out" +msgstr "Check Out" + +msgctxt "selection:hotel.booking.line,registration_state:" +msgid "No Show" +msgstr "No Presentado" + +msgctxt "selection:hotel.booking.line,registration_state:" +msgid "Pending" +msgstr "Pendiente" -#, fuzzy msgctxt "selection:hotel.booking.line,state:" msgid "Cancelled" msgstr "Cancelado" -#, fuzzy msgctxt "selection:hotel.booking.line,state:" msgid "Confirmed" msgstr "Confirmado" msgctxt "selection:hotel.booking.line,state:" msgid "Not Confirmed" -msgstr "" +msgstr "No Confirmada" msgctxt "selection:hotel.booking.line,state:" msgid "Offer" -msgstr "" - -#, fuzzy -msgctxt "selection:hotel.channel,payment_method:" -msgid "" -msgstr "Punto de Orden" +msgstr "Oferta" msgctxt "selection:hotel.channel,payment_method:" msgid "On Booking" -msgstr "" +msgstr "En Reserva" msgctxt "selection:hotel.channel,payment_method:" msgid "On Check Out" -msgstr "" +msgstr "Al momento de check-out" msgctxt "selection:hotel.channel,type_commission:" msgid "Fixed" @@ -6986,18 +6967,13 @@ msgctxt "selection:hotel.cleaning_days,weekday:" msgid "Wednesday" msgstr "Miércoles" -#, fuzzy -msgctxt "selection:hotel.configuration,full_clean_time:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.configuration,full_clean_time:" msgid "By Time" -msgstr "" +msgstr "Por Tiempo" msgctxt "selection:hotel.configuration,full_clean_time:" msgid "On Check Out" -msgstr "" +msgstr "Al momento de check-out" msgctxt "selection:hotel.housekeeping,availability:" msgid "Available" @@ -7027,11 +7003,6 @@ msgctxt "selection:hotel.housekeeping,state:" msgid "Maintenance" msgstr "Mantenimiento" -#, fuzzy -msgctxt "selection:hotel.operation,invoice_state:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:hotel.operation,invoice_state:" msgid "In Process" msgstr "En Proceso" @@ -7044,7 +7015,6 @@ msgctxt "selection:hotel.operation,invoice_state:" msgid "Paid" msgstr "Pagada" -#, fuzzy msgctxt "selection:hotel.operation,invoice_state:" msgid "Pending" msgstr "Pendiente" @@ -7057,56 +7027,45 @@ msgctxt "selection:hotel.operation,kind:" msgid "Occupancy" msgstr "Ocupación" -#, fuzzy msgctxt "selection:hotel.operation,kind:" msgid "Statement" msgstr "Extracto" -#, fuzzy msgctxt "selection:hotel.operation,state:" msgid "Cancel" msgstr "Cancelar" -#, fuzzy msgctxt "selection:hotel.operation,state:" msgid "Closed" -msgstr "Check Out" +msgstr "Cerrado" msgctxt "selection:hotel.operation,state:" msgid "Draft" msgstr "Borrador" -#, fuzzy msgctxt "selection:hotel.operation,state:" msgid "Invoiced" msgstr "Facturada" -#, fuzzy msgctxt "selection:hotel.operation,state:" msgid "Open" -msgstr "Pendiente" +msgstr "Abierto" msgctxt "selection:hotel.operation,state:" msgid "Transfered" msgstr "" -#, fuzzy msgctxt "selection:hotel.operation,type_complementary:" -msgid "" -msgstr "Punto de Orden" +msgid "Courtesy" +msgstr "Cortesia" msgctxt "selection:hotel.operation,type_complementary:" msgid "In House" -msgstr "" +msgstr "En Casa" msgctxt "selection:hotel.operation,type_complementary:" msgid "courtesy" -msgstr "" - -#, fuzzy -msgctxt "selection:hotel.operation.line,state:" -msgid "" -msgstr "Punto de Orden" +msgstr "Cortesia" msgctxt "selection:hotel.operation.line,state:" msgid "In Process" @@ -7120,7 +7079,6 @@ msgctxt "selection:hotel.operation.line,state:" msgid "Paid" msgstr "Pagada" -#, fuzzy msgctxt "selection:hotel.operation.line,state:" msgid "Pending" msgstr "Pendiente" @@ -7145,6 +7103,42 @@ msgctxt "selection:hotel.operation.maintenance,state:" msgid "Finished" msgstr "Finalizada" +msgctxt "selection:hotel.party.guest.start,sex:" +msgid "Female" +msgstr "Mujer" + +msgctxt "selection:hotel.party.guest.start,sex:" +msgid "Male" +msgstr "Masculino" + +msgctxt "selection:hotel.party.guest.start,type_document:" +msgid "Cedula de Ciudadania" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_document:" +msgid "Cedula de Extranjeria" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_document:" +msgid "Pasaporte" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_document:" +msgid "Tarjeta de Extranjeria" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_document:" +msgid "Tarjeta de Identidad" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_person:" +msgid "Persona Juridica" +msgstr "" + +msgctxt "selection:hotel.party.guest.start,type_person:" +msgid "Persona Natural" +msgstr "" + msgctxt "selection:hotel.service,state:" msgid "Checked" msgstr "Revisado" @@ -7161,6 +7155,22 @@ msgctxt "selection:hotel.service,state:" msgid "Open" msgstr "Abierto" +msgctxt "selection:hotel.service.kind,category:" +msgid "Breakfast" +msgstr "Desayuno" + +msgctxt "selection:hotel.service.kind,category:" +msgid "Laundry" +msgstr "Lavandería" + +msgctxt "selection:hotel.service.kind,category:" +msgid "Restaurant" +msgstr "Restaurante" + +msgctxt "selection:hotel.service.kind,category:" +msgid "Spa" +msgstr "Spa" + msgctxt "selection:hotel.service.line,state:" msgid "Deleted" msgstr "Borrado" @@ -7177,11 +7187,6 @@ msgctxt "selection:hotel.service.line,state:" msgid "Loaded" msgstr "Cargado" -#, fuzzy -msgctxt "selection:party.party,sale_commission_type:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:party.party,sale_commission_type:" msgid "Direct" msgstr "Directa" @@ -7194,11 +7199,6 @@ msgctxt "selection:party.party,sale_commission_type:" msgid "Service Acomplished" msgstr "Servicio Cumplido" -#, fuzzy -msgctxt "selection:product.template,kind:" -msgid "" -msgstr "Punto de Orden" - msgctxt "selection:product.template,kind:" msgid "Accommodation" msgstr "Acomodación" @@ -7212,8 +7212,8 @@ msgid "Property Info" msgstr "Información de Propiedad" msgctxt "view:hotel.booking.line:" -msgid "Time" -msgstr "Hora" +msgid "Check In" +msgstr "Check In" msgctxt "view:hotel.booking:" msgid "Add Advance" @@ -7243,22 +7243,13 @@ msgctxt "view:hotel.booking:" msgid "Channel information" msgstr "Información del canal" -msgctxt "view:hotel.booking:" -msgid "Check In" -msgstr "Check In" - -#, fuzzy -msgctxt "view:hotel.booking:" -msgid "Check Out" -msgstr "Check Out" - msgctxt "view:hotel.booking:" msgid "Confirm" msgstr "Confirmar" msgctxt "view:hotel.booking:" -msgid "Guest information" -msgstr "Información del Huesped" +msgid "Create Guest" +msgstr "Crear Huesped" msgctxt "view:hotel.booking:" msgid "Lines" @@ -7270,24 +7261,32 @@ msgstr "Mercadeo" msgctxt "view:hotel.booking:" msgid "No Show" -msgstr "" +msgstr "No Presentado" msgctxt "view:hotel.booking:" msgid "Not Confirm" -msgstr "" +msgstr "No Confirmado" msgctxt "view:hotel.booking:" msgid "Offer" -msgstr "" +msgstr "Oferta" msgctxt "view:hotel.booking:" msgid "Operations" msgstr "Operaciones / Folios" +msgctxt "view:hotel.booking:" +msgid "Select Rooms" +msgstr "Selecionar Habitaciones" + msgctxt "view:hotel.booking:" msgid "Send Email" msgstr "Enviar Email" +msgctxt "view:hotel.booking_forecast:" +msgid "Time" +msgstr "Tiempo" + msgctxt "view:hotel.housekeeping:" msgid "Check List" msgstr "Lista de Chequeo" @@ -7352,7 +7351,6 @@ msgctxt "view:hotel.operation:" msgid "Bill" msgstr "Facturar" -#, fuzzy msgctxt "view:hotel.operation:" msgid "Closed" msgstr "Cerrado" @@ -7365,10 +7363,9 @@ msgctxt "view:hotel.operation:" msgid "Lines" msgstr "Líneas" -#, fuzzy msgctxt "view:hotel.operation:" msgid "Open" -msgstr "Pendiente" +msgstr "Abierto" msgctxt "view:hotel.operation:" msgid "Pay Advance" @@ -7382,6 +7379,10 @@ msgctxt "view:hotel.operation:" msgid "Vouchers" msgstr "Comprobantes" +msgctxt "view:hotel.party.guest.start:" +msgid "Names" +msgstr "Nombres" + msgctxt "view:hotel.service.line:" msgid "Load" msgstr "Cargar" @@ -7406,6 +7407,10 @@ msgctxt "view:party.party:" msgid "Hotel" msgstr "Hotel" +msgctxt "view:party.party:" +msgid "Names" +msgstr "Nombres" + msgctxt "view:product.template:" msgid "Hotel" msgstr "Hotel" @@ -7428,7 +7433,7 @@ msgstr "Cancelar" msgctxt "wizard_button:hotel.booking_daily,start,print_:" msgid "Open" -msgstr "Abierto" +msgstr "Abrir" msgctxt "wizard_button:hotel.daily_services,start,accept_:" msgid "Accept" @@ -7486,6 +7491,14 @@ msgctxt "wizard_button:hotel.operation.transfer_operation,start,transfer:" msgid "Transfer" msgstr "Transferencia" +msgctxt "wizard_button:hotel.party.guest,start,create_:" +msgid "Create" +msgstr "Crear" + +msgctxt "wizard_button:hotel.party.guest,start,end:" +msgid "Exit" +msgstr "Salir" + msgctxt "wizard_button:hotel.print_booking_forecast,start,end:" msgid "Cancel" msgstr "Cancelar" diff --git a/product.py b/product.py index c869436..ac5abac 100755 --- a/product.py +++ b/product.py @@ -17,6 +17,11 @@ class Template(metaclass=PoolMeta): __name__ = 'product.template' kind = fields.Selection(KIND, 'Kind') channel_code = fields.Char('Channel Code') - accommodation_capacity = fields.Integer('Accommodation Capacity', states={ - 'invisible': Eval('kind') != 'accommodation', - }) + accommodation_capacity = fields.Integer('Accommodation Capacity', + states={'invisible': Eval('kind') != 'accommodation'} + ) + + +class PriceList(metaclass=PoolMeta): + __name__ = 'product.price_list' + breakfast_included = fields.Boolean('Breakfast Included') diff --git a/product.xml b/product.xml index 10d5b9a..c9bd783 100755 --- a/product.xml +++ b/product.xml @@ -16,5 +16,10 @@ this repository contains the full copyright notices and license terms. --> template_tree + + product.price_list + + price_list_form + diff --git a/view/booking_form.xml b/view/booking_form.xml index 8baf9ec..035a443 100644 --- a/view/booking_form.xml +++ b/view/booking_form.xml @@ -18,8 +18,6 @@ this repository contains the full copyright notices and license terms. -->