Add agent improvemente views

This commit is contained in:
Oscar 2021-11-24 16:49:39 -05:00
parent e88f169736
commit ea9e825d8d
11 changed files with 208 additions and 158 deletions

View File

@ -16,8 +16,8 @@ from trytond.pool import Pool
from trytond.exceptions import UserError from trytond.exceptions import UserError
from trytond.i18n import gettext from trytond.i18n import gettext
from constants import ( from constants import (
STATE_BOOKING, REGISTRATION_STATE, SEGMENT, GUARANTEE, SATISFACTION, STATE_BOOKING, REGISTRATION_STATE, REASON, GUARANTEE, SATISFACTION,
MEDIA, PLAN, SOURCE, INVOICE_METHOD, COMPLEMENTARY, MEDIA, PLAN, INVOICE_METHOD, COMPLEMENTARY,
) )
STATES = { STATES = {
@ -45,13 +45,14 @@ class Booking(Workflow, ModelSQL, ModelView):
_rec_name = 'number' _rec_name = 'number'
number = fields.Char('Number', readonly=True, select=True, number = fields.Char('Number', readonly=True, select=True,
help="Sequence of reservation.") help="Sequence of reservation.")
party = fields.Many2One('party.party', 'Party', required=False, party = fields.Many2One('party.party', 'Customer', required=False,
select=True, help="Person or company owner of the booking.", select=True, help="Person or company owner of the booking.",
states={ states={
'required': Eval('state') == 'check_in', 'required': Eval('state') == 'check_in',
'readonly': Not(In(Eval('state'), ['offer', 'confirmed'])), 'readonly': Not(In(Eval('state'), ['offer', 'confirmed'])),
}) })
contact = fields.Char('Contact', states=STATES_CHECKIN) contact = fields.Char('Contact', states=STATES_CHECKIN,
help='Main contact or person how request booking')
payment_term = fields.Many2One('account.invoice.payment_term', payment_term = fields.Many2One('account.invoice.payment_term',
'Payment Term', states=STATES_CHECKIN) 'Payment Term', states=STATES_CHECKIN)
booking_date = fields.DateTime('Booking Date', readonly=False, states=STATES) booking_date = fields.DateTime('Booking Date', readonly=False, states=STATES)
@ -100,14 +101,10 @@ class Booking(Workflow, ModelSQL, ModelView):
plan = fields.Selection(PLAN, 'Commercial Plan', states=STATES_CHECKIN, plan = fields.Selection(PLAN, 'Commercial Plan', states=STATES_CHECKIN,
help="Plans offered by hotel and selected by guest for booking.") help="Plans offered by hotel and selected by guest for booking.")
plan_string = plan.translated('plan') plan_string = plan.translated('plan')
source_contact = fields.Selection(SOURCE, 'Source Contact',
states=STATES_CHECKIN,
help="Advertising source that create booking opportunity by guest.")
source_contact_string = source_contact.translated('source_contact')
comments = fields.Text('Comments', states=STATES_CHECKIN) comments = fields.Text('Comments', states=STATES_CHECKIN)
segment = fields.Selection(SEGMENT, 'Tourism Segment', reason = fields.Selection(REASON, 'Tourism Segment',
states=STATES_CHECKIN) states=STATES_CHECKIN)
segment_string = segment.translated('segment') reason_string = reason.translated('segment')
guarantee = fields.Selection(GUARANTEE, 'Guarantee', guarantee = fields.Selection(GUARANTEE, 'Guarantee',
states=STATES_CHECKIN) states=STATES_CHECKIN)
guarantee_string = guarantee.translated('guarantee') guarantee_string = guarantee.translated('guarantee')
@ -124,6 +121,7 @@ class Booking(Workflow, ModelSQL, ModelView):
'voucher', 'Vouchers', states=STATES_CHECKIN, domain=[ 'voucher', 'Vouchers', states=STATES_CHECKIN, domain=[
], depends=['party']) ], depends=['party'])
vip = fields.Boolean('V.I.P. Customer', states=STATES) vip = fields.Boolean('V.I.P. Customer', states=STATES)
ota_booking_code = fields.Char('OTA Code', select=True)
vehicles_num = fields.Integer('Vehicles Number', states=STATES, vehicles_num = fields.Integer('Vehicles Number', states=STATES,
help="Number of vehicles that bring with guests.") help="Number of vehicles that bring with guests.")
vehicle_plate = fields.Integer('Vehicle Plate', states=STATES) vehicle_plate = fields.Integer('Vehicle Plate', states=STATES)
@ -265,7 +263,12 @@ class Booking(Workflow, ModelSQL, ModelView):
@ModelView.button @ModelView.button
@Workflow.transition('cancelled') @Workflow.transition('cancelled')
def cancel(cls, records): def cancel(cls, records):
pass for rec in records:
for folio in rec.lines:
if folio.registration_state in ['check_in', 'check_out']:
raise UserError(gettext('hotel.msg_no_delete_folios'))
else:
folio.delete([folio])
@classmethod @classmethod
@ModelView.button @ModelView.button

View File

@ -10,7 +10,7 @@ class SaleChannel(ModelSQL, ModelView):
'Sale Channel' 'Sale Channel'
__name__ = 'hotel.channel' __name__ = 'hotel.channel'
name = fields.Char('Name', required=True) name = fields.Char('Name', required=True)
party = fields.Many2One('party.party', 'Party', required=True) agent = fields.Many2One('commission.agent', 'Agent', required=True)
type_commission = fields.Selection([ type_commission = fields.Selection([
('percentage', 'Percentage'), ('percentage', 'Percentage'),
('fixed', 'Fixed'), ('fixed', 'Fixed'),

View File

@ -17,7 +17,7 @@ REGISTRATION_STATE = [
('no_show', 'No Show'), ('no_show', 'No Show'),
] ]
SEGMENT = [ REASON = [
('', ''), ('', ''),
('sun_beach', 'Sun & Beach'), ('sun_beach', 'Sun & Beach'),
('sport', 'Sport'), ('sport', 'Sport'),
@ -72,16 +72,6 @@ PLAN = [
('half_american', 'Half American'), ('half_american', 'Half American'),
] ]
SOURCE = [
('', ''),
('web', 'Web'),
('yellow_pages', 'Yellow Pages'),
('recommended', 'Recommended'),
('travel_agency', 'Travel Agency'),
('advertising', 'Advertising'),
('other', 'Other'),
]
INVOICE_METHOD = [ INVOICE_METHOD = [
('by_booking', 'By Booking'), ('by_booking', 'By Booking'),
('by_main_guest', 'By Main Guest'), ('by_main_guest', 'By Main Guest'),

View File

@ -101,7 +101,7 @@ class Folio(ModelSQL, ModelView):
total_commission = fields.Function(fields.Numeric('Channel Commission', total_commission = fields.Function(fields.Numeric('Channel Commission',
digits=(16, 2)), 'get_channel_commission') digits=(16, 2)), 'get_channel_commission')
guests = fields.One2Many('hotel.folio.guest', 'folio', 'Guests', guests = fields.One2Many('hotel.folio.guest', 'folio', 'Guests',
states={'readonly': ~Eval('registration_state').in_(['check_in'])}) states={'readonly': ~Eval('registration_state').in_(['check_out'])})
nationality = fields.Many2One('party.nationality', 'Nationality', nationality = fields.Many2One('party.nationality', 'Nationality',
states=STATES_CHECKIN) states=STATES_CHECKIN)
origin_country = fields.Many2One('party.nationality', 'Origin Country', origin_country = fields.Many2One('party.nationality', 'Origin Country',

View File

@ -110,9 +110,13 @@ msgctxt "field:hotel.booking,number:"
msgid "Number" msgid "Number"
msgstr "Número" msgstr "Número"
msgctxt "field:hotel.booking,ota_booking_code:"
msgid "OTA Code"
msgstr "Código OTa"
msgctxt "field:hotel.booking,party:" msgctxt "field:hotel.booking,party:"
msgid "Party" msgid "Customer"
msgstr "Tercero" msgstr "Cliente / Titular Reserva"
msgctxt "field:hotel.booking,party_seller:" msgctxt "field:hotel.booking,party_seller:"
msgid "Channel" msgid "Channel"
@ -138,6 +142,10 @@ msgctxt "field:hotel.booking,price_list:"
msgid "Price List" msgid "Price List"
msgstr "Lista de precios" msgstr "Lista de precios"
msgctxt "field:hotel.booking,reason:"
msgid "Tourism Segment"
msgstr "Turismo"
msgctxt "field:hotel.booking,registration_state:" msgctxt "field:hotel.booking,registration_state:"
msgid "State Registration" msgid "State Registration"
msgstr "Estatus de Registro" msgstr "Estatus de Registro"
@ -146,14 +154,6 @@ msgctxt "field:hotel.booking,satisfaction:"
msgid "Satisfaction" msgid "Satisfaction"
msgstr "Satisfacción" msgstr "Satisfacción"
msgctxt "field:hotel.booking,segment:"
msgid "Tourism Segment"
msgstr "Segmento Turismo"
msgctxt "field:hotel.booking,source_contact:"
msgid "Source Contact"
msgstr "Fuente de Contacto"
msgctxt "field:hotel.booking,state:" msgctxt "field:hotel.booking,state:"
msgid "State" msgid "State"
msgstr "Estado" msgstr "Estado"
@ -234,6 +234,10 @@ msgctxt "field:hotel.booking.select_rooms.ask,targets:"
msgid "Targets" msgid "Targets"
msgstr "Objetivos" msgstr "Objetivos"
msgctxt "field:hotel.channel,agent:"
msgid "Agent"
msgstr "Agente"
msgctxt "field:hotel.channel,commission:" msgctxt "field:hotel.channel,commission:"
msgid "Commission" msgid "Commission"
msgstr "Comisión" msgstr "Comisión"
@ -258,10 +262,6 @@ msgctxt "field:hotel.channel,name:"
msgid "Name" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
msgctxt "field:hotel.channel,party:"
msgid "Party"
msgstr "Tercero"
msgctxt "field:hotel.channel,payment_method:" msgctxt "field:hotel.channel,payment_method:"
msgid "Payment Method" msgid "Payment Method"
msgstr "Método de pago" msgstr "Método de pago"
@ -611,7 +611,7 @@ msgid "First Name"
msgstr "Primer Nombre" msgstr "Primer Nombre"
msgctxt "field:hotel.folio.guest,folio:" msgctxt "field:hotel.folio.guest,folio:"
msgid "Booking Line" msgid "Folio"
msgstr "Folio" msgstr "Folio"
msgctxt "field:hotel.folio.guest,mobile:" msgctxt "field:hotel.folio.guest,mobile:"
@ -1070,6 +1070,10 @@ msgctxt "help:company.company,property_code:"
msgid "Code on channel manager" msgid "Code on channel manager"
msgstr "Código en gestor de canales" msgstr "Código en gestor de canales"
msgctxt "help:hotel.booking,contact:"
msgid "Main contact or person how request booking"
msgstr "Contacto principal o persona quien solicita la reserva"
msgctxt "help:hotel.booking,media:" msgctxt "help:hotel.booking,media:"
msgid "Media from booking coming from." msgid "Media from booking coming from."
msgstr "Medio por el cual se hace la reserva." msgstr "Medio por el cual se hace la reserva."
@ -1092,10 +1096,6 @@ msgstr ""
"Planes ofrecidos por el hotel y selecionados por los huespedes para la " "Planes ofrecidos por el hotel y selecionados por los huespedes para la "
"reserva." "reserva."
msgctxt "help:hotel.booking,source_contact:"
msgid "Advertising source that create booking opportunity by guest."
msgstr "La publicidad fuente que crea la oportunidad de reservas."
msgctxt "help:hotel.booking,vehicles_num:" msgctxt "help:hotel.booking,vehicles_num:"
msgid "Number of vehicles that bring with guests." msgid "Number of vehicles that bring with guests."
msgstr "Número de vehiculos" msgstr "Número de vehiculos"
@ -1262,7 +1262,7 @@ msgstr "Servicio"
msgctxt "model:hotel.service.kind,name:" msgctxt "model:hotel.service.kind,name:"
msgid "Service Kind" msgid "Service Kind"
msgstr "Clase" msgstr "Clase de Servicio"
msgctxt "model:hotel.service.line,name:" msgctxt "model:hotel.service.line,name:"
msgid "Service Line" msgid "Service Line"
@ -1285,7 +1285,7 @@ msgid "Amenities"
msgstr "Comodidades" msgstr "Comodidades"
msgctxt "model:ir.action,name:act_board_folio_view" msgctxt "model:ir.action,name:act_board_folio_view"
msgid "Folios" msgid "Board Folio Moves"
msgstr "Folios" msgstr "Folios"
msgctxt "model:ir.action,name:act_booking_form" msgctxt "model:ir.action,name:act_booking_form"
@ -1330,7 +1330,7 @@ msgstr "Habitación"
msgctxt "model:ir.action,name:act_service_kind_tree" msgctxt "model:ir.action,name:act_service_kind_tree"
msgid "Service Kind" msgid "Service Kind"
msgstr "Clase" msgstr "Clase de Servicio"
msgctxt "model:ir.action,name:act_service_line_tree" msgctxt "model:ir.action,name:act_service_line_tree"
msgid "Service Line" msgid "Service Line"
@ -1341,7 +1341,7 @@ msgid "Service"
msgstr "Servicio" msgstr "Servicio"
msgctxt "model:ir.action,name:act_task_housekeeping_form" msgctxt "model:ir.action,name:act_task_housekeeping_form"
msgid "Tarea de Ama de Llaves" msgid "Tasks Housekeeping"
msgstr "Tarea de Ama de Llaves" msgstr "Tarea de Ama de Llaves"
msgctxt "model:ir.action,name:booking_daily_report" msgctxt "model:ir.action,name:booking_daily_report"
@ -1369,7 +1369,7 @@ msgid "Service"
msgstr "Servicio" msgstr "Servicio"
msgctxt "model:ir.action,name:report_housekeeping_service" msgctxt "model:ir.action,name:report_housekeeping_service"
msgid "Reporte de Ama de Llaves" msgid "Housekeeping Service Report"
msgstr "Reporte de Ama de Llaves" msgstr "Reporte de Ama de Llaves"
msgctxt "model:ir.action,name:report_invoice_income_daily" msgctxt "model:ir.action,name:report_invoice_income_daily"
@ -1397,7 +1397,7 @@ msgid "Create Daily Services"
msgstr "Crear Servicios" msgstr "Crear Servicios"
msgctxt "model:ir.action,name:wizard_party_guest" msgctxt "model:ir.action,name:wizard_party_guest"
msgid "Create Party Guest" msgid "Create Guest"
msgstr "Crear Huesped" msgstr "Crear Huesped"
msgctxt "model:ir.action,name:wizard_print_booking_daily" msgctxt "model:ir.action,name:wizard_print_booking_daily"
@ -1477,7 +1477,7 @@ msgstr "Saliendo Hoy"
msgctxt "" msgctxt ""
"model:ir.action.act_window.domain,name:act_guest_moves_form_domain_no_show_today" "model:ir.action.act_window.domain,name:act_guest_moves_form_domain_no_show_today"
msgid "No Show Today" msgid "No Presentados Hoy"
msgstr "No Presentados Hoy" msgstr "No Presentados Hoy"
msgctxt "" msgctxt ""
@ -1539,7 +1539,7 @@ msgid "Must exist one principal guest"
msgstr "Debe haber un huesped principal" msgstr "Debe haber un huesped principal"
msgctxt "model:ir.message,text:msg_missing_confirm_booking" msgctxt "model:ir.message,text:msg_missing_confirm_booking"
msgid "Missing Confirm Booking" msgid "Missing confirm booking"
msgstr "Falta confirmar la reserva" msgstr "Falta confirmar la reserva"
msgctxt "model:ir.message,text:msg_missing_default_configuration" msgctxt "model:ir.message,text:msg_missing_default_configuration"
@ -1560,6 +1560,10 @@ msgctxt "model:ir.message,text:msg_missing_sequence_registration"
msgid "Missing the configuration of registration card sequence!" msgid "Missing the configuration of registration card sequence!"
msgstr "Falta la configuración de la secuencia de registro!" msgstr "Falta la configuración de la secuencia de registro!"
msgctxt "model:ir.message,text:msg_no_delete_folios"
msgid "Error, you can not delete folios actives"
msgstr "Error, no puede borrar folios activos"
msgctxt "model:ir.message,text:msg_occupied_room" msgctxt "model:ir.message,text:msg_occupied_room"
msgid "The room is occupied in the date %s" msgid "The room is occupied in the date %s"
msgstr "" msgstr ""
@ -1645,7 +1649,7 @@ msgid "Amenities"
msgstr "Comodidades" msgstr "Comodidades"
msgctxt "model:ir.ui.menu,name:menu_hotel_board_folio" msgctxt "model:ir.ui.menu,name:menu_hotel_board_folio"
msgid "Board Folios" msgid "Board Folio Moves"
msgstr "Front Desk" msgstr "Front Desk"
msgctxt "model:ir.ui.menu,name:menu_hotel_booking_daily" msgctxt "model:ir.ui.menu,name:menu_hotel_booking_daily"
@ -1682,7 +1686,7 @@ msgstr "Servicios"
msgctxt "model:ir.ui.menu,name:menu_hotel_service_kind" msgctxt "model:ir.ui.menu,name:menu_hotel_service_kind"
msgid "Service Kind" msgid "Service Kind"
msgstr "Clase" msgstr "Clase de Servicio"
msgctxt "model:ir.ui.menu,name:menu_hotel_task_housekeeping" msgctxt "model:ir.ui.menu,name:menu_hotel_task_housekeeping"
msgid "Task HouseKeeping" msgid "Task HouseKeeping"
@ -1899,10 +1903,18 @@ msgctxt "report:hotel.booking:"
msgid "PRINCIPAL" msgid "PRINCIPAL"
msgstr "" msgstr ""
msgctxt "report:hotel.booking:"
msgid "RE-RESERVA"
msgstr ""
msgctxt "report:hotel.booking:" msgctxt "report:hotel.booking:"
msgid "RESERVA" msgid "RESERVA"
msgstr "" msgstr ""
msgctxt "report:hotel.booking:"
msgid "RESERVA P"
msgstr ""
msgctxt "report:hotel.booking:" msgctxt "report:hotel.booking:"
msgid "SOFTWARE TRYTON HOTELES" msgid "SOFTWARE TRYTON HOTELES"
msgstr "" msgstr ""
@ -2121,6 +2133,10 @@ msgctxt "report:hotel.booking_daily.report:"
msgid "TARJETA DE REGISTRO" msgid "TARJETA DE REGISTRO"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_daily.report:"
msgid "TERCERO"
msgstr ""
msgctxt "report:hotel.booking_daily.report:" msgctxt "report:hotel.booking_daily.report:"
msgid "TERCERO /" msgid "TERCERO /"
msgstr "" msgstr ""
@ -2159,6 +2175,10 @@ msgctxt "report:hotel.booking_daily.report:"
msgid "rec.booking.party_seller and rec.booking.party_seller.name" msgid "rec.booking.party_seller and rec.booking.party_seller.name"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_daily.report:"
msgid "rec.booking.registration_card"
msgstr ""
msgctxt "report:hotel.booking_daily.report:" msgctxt "report:hotel.booking_daily.report:"
msgid "rec.departure_date" msgid "rec.departure_date"
msgstr "" msgstr ""
@ -2183,6 +2203,10 @@ msgctxt "report:hotel.booking_daily.report:"
msgid "rec.room and rec.room.name" msgid "rec.room and rec.room.name"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_daily.report:"
msgid "rec.state"
msgstr ""
msgctxt "report:hotel.booking_daily.report:" msgctxt "report:hotel.booking_daily.report:"
msgid "rec.unit_price" msgid "rec.unit_price"
msgstr "" msgstr ""
@ -2937,9 +2961,10 @@ msgctxt "report:hotel.folio:"
msgid "A" msgid "A"
msgstr "A" msgstr "A"
#, fuzzy
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "AMOUNT" msgid "AMOUNT"
msgstr "" msgstr "TOTAL"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "ANT." msgid "ANT."
@ -2982,17 +3007,19 @@ msgctxt "report:hotel.folio:"
msgid "CUSTOMER / CLIENTE" msgid "CUSTOMER / CLIENTE"
msgstr "" msgstr ""
#, fuzzy
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "D" msgid "D"
msgstr "" msgstr "D"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "DEPARTURE DATE / FECHA SALIDA" msgid "DEPARTURE DATE / FECHA SALIDA"
msgstr "" msgstr ""
#, fuzzy
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "DESCRIPTION" msgid "DESCRIPTION"
msgstr "" msgstr "DESCRIPCION"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "ECHA" msgid "ECHA"
@ -3055,9 +3082,10 @@ msgctxt "report:hotel.folio:"
msgid "NOTES /" msgid "NOTES /"
msgstr "" msgstr ""
#, fuzzy
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "NUMBER" msgid "NUMBER"
msgstr "" msgstr "NÚMERO"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "ORDEN" msgid "ORDEN"
@ -3241,6 +3269,10 @@ msgctxt "report:hotel.guests_list.report:"
msgid "LISTADO DE HUESPEDES" msgid "LISTADO DE HUESPEDES"
msgstr "" msgstr ""
msgctxt "report:hotel.guests_list.report:"
msgid "LISTADO DE HUESPEDES (PAX EN CASA)"
msgstr ""
msgctxt "report:hotel.guests_list.report:" msgctxt "report:hotel.guests_list.report:"
msgid "Página" msgid "Página"
msgstr "" msgstr ""
@ -3303,10 +3335,18 @@ msgctxt "report:hotel.guests_list.report:"
msgid "rec[ 'room']" msgid "rec[ 'room']"
msgstr "" msgstr ""
msgctxt "report:hotel.guests_list.report:"
msgid "rec[ 'start_date']"
msgstr ""
msgctxt "report:hotel.guests_list.report:" msgctxt "report:hotel.guests_list.report:"
msgid "rec['departure_date']" msgid "rec['departure_date']"
msgstr "" msgstr ""
msgctxt "report:hotel.guests_list.report:"
msgid "rec['end_date']"
msgstr ""
msgctxt "report:hotel.guests_list.report:" msgctxt "report:hotel.guests_list.report:"
msgid "rec['nights_quantity']" msgid "rec['nights_quantity']"
msgstr "" msgstr ""
@ -3922,6 +3962,10 @@ msgctxt "report:hotel.rooms_occupancy.report:"
msgid "TRG" msgid "TRG"
msgstr "" msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:"
msgid "VALOR ACUMULADO"
msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:" msgctxt "report:hotel.rooms_occupancy.report:"
msgid "VALOR TOTAL" msgid "VALOR TOTAL"
msgstr "" msgstr ""
@ -3966,6 +4010,10 @@ msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['arrival']" msgid "rec['arrival']"
msgstr "" msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['balance']"
msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:" msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['departure']" msgid "rec['departure']"
msgstr "" msgstr ""
@ -3982,6 +4030,10 @@ msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['party']" msgid "rec['party']"
msgstr "" msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['reference']"
msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:" msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['registration_card']" msgid "rec['registration_card']"
msgstr "" msgstr ""
@ -3994,6 +4046,10 @@ msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['room']" msgid "rec['room']"
msgstr "" msgstr ""
msgctxt "report:hotel.rooms_occupancy.report:"
msgid "rec['state']"
msgstr ""
#, fuzzy #, fuzzy
msgctxt "report:hotel.rooms_occupancy.report:" msgctxt "report:hotel.rooms_occupancy.report:"
msgid "user" msgid "user"
@ -4104,6 +4160,10 @@ msgctxt "report:hotel.service:"
msgid "No." msgid "No."
msgstr "No." msgstr "No."
msgctxt "report:hotel.service:"
msgid "OPER."
msgstr ""
msgctxt "report:hotel.service:" msgctxt "report:hotel.service:"
msgid "ORDEN" msgid "ORDEN"
msgstr "" msgstr ""
@ -4148,6 +4208,14 @@ msgctxt "report:hotel.service:"
msgid "line.guest" msgid "line.guest"
msgstr "" msgstr ""
msgctxt "report:hotel.service:"
msgid "line.guest and line.guest.party.name"
msgstr ""
msgctxt "report:hotel.service:"
msgid "line.operation_line and line.operation_line.id"
msgstr ""
msgctxt "report:hotel.service:" msgctxt "report:hotel.service:"
msgid "line.order" msgid "line.order"
msgstr "" msgstr ""
@ -4188,6 +4256,10 @@ msgctxt "report:hotel.service:"
msgid "service.service_date" msgid "service.service_date"
msgstr "" msgstr ""
msgctxt "report:hotel.service:"
msgid "service.state_string"
msgstr ""
msgctxt "report:hotel.service:" msgctxt "report:hotel.service:"
msgid "€" msgid "€"
msgstr "" msgstr ""
@ -4280,6 +4352,58 @@ msgctxt "selection:hotel.booking,plan:"
msgid "No Breakfast" msgid "No Breakfast"
msgstr "Sin Desayuno" msgstr "Sin Desayuno"
msgctxt "selection:hotel.booking,reason:"
msgid "Adventure"
msgstr "Aventura"
msgctxt "selection:hotel.booking,reason:"
msgid "Bussiness"
msgstr "Negocios"
msgctxt "selection:hotel.booking,reason:"
msgid "Conventions & Meetings"
msgstr "Convenciones"
msgctxt "selection:hotel.booking,reason:"
msgid "Cruises"
msgstr "Cruzeros"
msgctxt "selection:hotel.booking,reason:"
msgid "Cultural"
msgstr "Cultural"
msgctxt "selection:hotel.booking,reason:"
msgid "Health"
msgstr "Salud"
msgctxt "selection:hotel.booking,reason:"
msgid "Nature"
msgstr "Naturaleza"
msgctxt "selection:hotel.booking,reason:"
msgid "Rural"
msgstr "Rural"
msgctxt "selection:hotel.booking,reason:"
msgid "Sport"
msgstr "Deportes"
msgctxt "selection:hotel.booking,reason:"
msgid "Sun & Beach"
msgstr "Sol & Playa"
msgctxt "selection:hotel.booking,reason:"
msgid "Thematic Parks"
msgstr "Parques Temáticos"
msgctxt "selection:hotel.booking,reason:"
msgid "Urban"
msgstr "Urbano"
msgctxt "selection:hotel.booking,reason:"
msgid "Weddings"
msgstr "Bodas"
msgctxt "selection:hotel.booking,registration_state:" msgctxt "selection:hotel.booking,registration_state:"
msgid "Check In" msgid "Check In"
msgstr "Check In" msgstr "Check In"
@ -4316,82 +4440,6 @@ msgctxt "selection:hotel.booking,satisfaction:"
msgid "Worse" msgid "Worse"
msgstr "Peor" msgstr "Peor"
msgctxt "selection:hotel.booking,segment:"
msgid "Adventure"
msgstr "Aventura"
msgctxt "selection:hotel.booking,segment:"
msgid "Bussiness"
msgstr "Negocios"
msgctxt "selection:hotel.booking,segment:"
msgid "Conventions & Meetings"
msgstr "Convenciones & Reuniones"
msgctxt "selection:hotel.booking,segment:"
msgid "Cruises"
msgstr "Cruceros"
msgctxt "selection:hotel.booking,segment:"
msgid "Cultural"
msgstr "Cultural"
msgctxt "selection:hotel.booking,segment:"
msgid "Health"
msgstr "Salud"
msgctxt "selection:hotel.booking,segment:"
msgid "Nature"
msgstr "Naturaleza"
msgctxt "selection:hotel.booking,segment:"
msgid "Rural"
msgstr "Rural"
msgctxt "selection:hotel.booking,segment:"
msgid "Sport"
msgstr "Deportes"
msgctxt "selection:hotel.booking,segment:"
msgid "Sun & Beach"
msgstr "Sol y Playa"
msgctxt "selection:hotel.booking,segment:"
msgid "Thematic Parks"
msgstr "Parque Temático"
msgctxt "selection:hotel.booking,segment:"
msgid "Urban"
msgstr "Urbano"
msgctxt "selection:hotel.booking,segment:"
msgid "Weddings"
msgstr "Bodas"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Advertising"
msgstr "Publicidad"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Other"
msgstr "Otro"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Recommended"
msgstr "Recomendado"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Travel Agency"
msgstr "Agencia de Viajes"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Web"
msgstr "Web"
msgctxt "selection:hotel.booking,source_contact:"
msgid "Yellow Pages"
msgstr "Paginas Amarillas"
msgctxt "selection:hotel.booking,state:" msgctxt "selection:hotel.booking,state:"
msgid "Cancelled" msgid "Cancelled"
msgstr "Cancelado" msgstr "Cancelado"
@ -4752,6 +4800,14 @@ msgctxt "view:hotel.booking:"
msgid "Marketing" msgid "Marketing"
msgstr "Mercadeo" msgstr "Mercadeo"
msgctxt "view:hotel.booking:"
msgid "No Show"
msgstr "No Presentado"
msgctxt "view:hotel.booking:"
msgid "Not Confirm"
msgstr "No Confirmada"
msgctxt "view:hotel.booking:" msgctxt "view:hotel.booking:"
msgid "Not Show" msgid "Not Show"
msgstr "No Presentado" msgstr "No Presentado"

View File

@ -69,5 +69,8 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.message" id="msg_operation_current"> <record model="ir.message" id="msg_operation_current">
<field name="text">Error, Can not select current operation</field> <field name="text">Error, Can not select current operation</field>
</record> </record>
<record model="ir.message" id="msg_no_delete_folios">
<field name="text">Error, you can not delete folios actives</field>
</record>
</data> </data>
</tryton> </tryton>

Binary file not shown.

View File

@ -20,8 +20,14 @@ this repository contains the full copyright notices and license terms. -->
<field name="unit_price"/> <field name="unit_price"/>
<label name="host_quantity"/> <label name="host_quantity"/>
<field name="host_quantity"/> <field name="host_quantity"/>
<label name="breakfast_included"/> <label name="nationality"/>
<field name="breakfast_included"/> <field name="nationality"/>
<label name="total_commission"/>
<field name="total_commission"/>
<label name="origin_country"/>
<field name="origin_country"/>
<label name="target_country"/>
<field name="target_country"/>
<notebook colspan="6"> <notebook colspan="6">
<page string="Charges" id="hotel_charges"> <page string="Charges" id="hotel_charges">
<field name="charges" colspan="4"/> <field name="charges" colspan="4"/>
@ -30,14 +36,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="guests" colspan="4"/> <field name="guests" colspan="4"/>
</page> </page>
<page string="Additional Info" id="folio_additional_info"> <page string="Additional Info" id="folio_additional_info">
<label name="nationality"/>
<field name="nationality"/>
<label name="total_commission"/>
<field name="total_commission"/>
<label name="origin_country"/>
<field name="origin_country"/>
<label name="target_country"/>
<field name="target_country"/>
<separator name="notes" colspan="4"/> <separator name="notes" colspan="4"/>
<field name="notes" colspan="4"/> <field name="notes" colspan="4"/>
</page> </page>

View File

@ -14,10 +14,16 @@ this repository contains the full copyright notices and license terms. -->
<field name="booking_date"/> <field name="booking_date"/>
<label name="plan"/> <label name="plan"/>
<field name="plan"/> <field name="plan"/>
<label name="reason"/>
<field name="reason"/>
<label name="media"/>
<field name="media"/>
<label name="party_seller"/> <label name="party_seller"/>
<field name="party_seller" widget="selection"/> <field name="party_seller" widget="selection"/>
<label name="price_list"/> <label name="price_list"/>
<field name="price_list" widget="selection"/> <field name="price_list" widget="selection"/>
<label name="ota_booking_code"/>
<field name="ota_booking_code"/>
<button name="select_rooms" string="Select Rooms" <button name="select_rooms" string="Select Rooms"
icon="tryton-open" colspan="2"/> icon="tryton-open" colspan="2"/>
<button name="do_pay" string="Do Pay" icon="tryton-open" colspan="2"/> <button name="do_pay" string="Do Pay" icon="tryton-open" colspan="2"/>
@ -29,6 +35,8 @@ this repository contains the full copyright notices and license terms. -->
view_ids="hotel.booking_folio_view_tree"/> view_ids="hotel.booking_folio_view_tree"/>
</page> </page>
<page string="Additional Info" id="additional_info"> <page string="Additional Info" id="additional_info">
<label name="payment_term"/>
<field name="payment_term" widget="selection"/>
<label name="guarantee"/> <label name="guarantee"/>
<field name="guarantee"/> <field name="guarantee"/>
<label name="company"/> <label name="company"/>
@ -63,21 +71,11 @@ this repository contains the full copyright notices and license terms. -->
<label name="created_channel"/> <label name="created_channel"/>
<field name="created_channel"/> <field name="created_channel"/>
</page> </page>
<page string="Marketing" id="marketing">
<label name="source_contact"/>
<field name="source_contact"/>
<label name="segment"/>
<field name="segment"/>
</page>
<page string="Advances Payments" id="vouchers"> <page string="Advances Payments" id="vouchers">
<field name="vouchers" colspan="4"/> <field name="vouchers" colspan="4"/>
</page> </page>
</notebook> </notebook>
<group col="4" colspan="4" id="buttons"> <group col="4" colspan="4" id="buttons">
<label name="payment_term"/>
<field name="payment_term" widget="selection"/>
<label name="media"/>
<field name="media"/>
<label name="taxes_exception"/> <label name="taxes_exception"/>
<field name="taxes_exception"/> <field name="taxes_exception"/>
<label name="state"/> <label name="state"/>
@ -88,13 +86,15 @@ this repository contains the full copyright notices and license terms. -->
<button name="confirm" string="Confirm" icon="tryton-forward"/> <button name="confirm" string="Confirm" icon="tryton-forward"/>
<button name="bill" string="Bill"/> <button name="bill" string="Bill"/>
</group> </group>
<group col="2" colspan="2" xfill="1" id="amounts"> <group col="2" colspan="1" xfill="1" id="amounts">
<label name="untaxed_amount"/> <label name="untaxed_amount"/>
<field name="untaxed_amount"/> <field name="untaxed_amount"/>
<label name="tax_amount"/> <label name="tax_amount"/>
<field name="tax_amount"/> <field name="tax_amount"/>
<label name="total_amount"/> <label name="total_amount"/>
<field name="total_amount"/> <field name="total_amount"/>
</group>
<group col="2" colspan="1" xfill="1" id="advances">
<label name="total_advance"/> <label name="total_advance"/>
<field name="total_advance"/> <field name="total_advance"/>
<label name="pending_to_pay"/> <label name="pending_to_pay"/>

View File

@ -5,9 +5,9 @@ this repository contains the full copyright notices and license terms. -->
<label name="name"/> <label name="name"/>
<field name="name"/> <field name="name"/>
<label name="company"/> <label name="company"/>
<field name="company"/> <field name="company" widget="selection"/>
<label name="party"/> <label name="agent"/>
<field name="party"/> <field name="agent"/>
<label name="currency"/> <label name="currency"/>
<field name="currency"/> <field name="currency"/>
<label name="type_commission"/> <label name="type_commission"/>

View File

@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. --> this repository contains the full copyright notices and license terms. -->
<tree> <tree>
<field name="name"/> <field name="name"/>
<field name="party"/> <field name="agent"/>
<field name="type_commission"/> <field name="type_commission"/>
<field name="commission"/> <field name="commission"/>
<field name="currency"/> <field name="currency"/>