\n"
-" \n"
+" \n"
" \n"
" \n"
-"
¿Preguntas sobre la reserva?"
-" \n"
+"
¿Preguntas sobre la "
+"reserva? \n"
"
Por favor, póngase en "
"contacto con nosotros:
\n"
"
\n"
@@ -1731,8 +1606,8 @@ msgstr ""
"pms_property_id.partner_id.email\n"
" Correo: ${object.pms_property_id.partner_id.email}"
-"< /a> \n"
+"decoration:none;color:#875A7B;\">${object.pms_property_id.partner_id.email}< "
+"/a>\n"
" % terminara si\n"
" % object.pms_property_id."
"partner_id.phone\n"
@@ -1757,11 +1632,11 @@ msgstr ""
" \n"
" % if object.pms_property_id.privacy_policy\n"
" \n"
+"cellspacing=\"0\" style=\"min-width: 590px; background-color: #F1F1F1; color:"
+" #454748; padding: 8px; border-collapse:separate;\">\n"
" \n"
-" ${object.pms_property_id.privacy_policy|"
-"safe}\n"
+" ${object.pms_property_id.privacy_policy|safe}"
+"\n"
" \n"
"
\n"
" % endif\n"
@@ -1769,13 +1644,13 @@ msgstr ""
" \n"
" % if object.company_id\n"
" \n"
@@ -2009,16 +1884,6 @@ msgid "A transaction can't be linked to folios having different partners."
msgstr ""
"Una transacción no se puede vincular a folios que tengan diferentes socios."
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_anonymous_cash_customer
-msgid "AEAT - Anonymous customer"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_identification_type
-msgid "AEAT Identification type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__user_ids
msgid "Accepted Users"
@@ -2156,6 +2021,11 @@ msgstr "Añadir al nombre de la habitación"
msgid "Add to Folio"
msgstr "Añadir a la Ficha"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__additional_info
+msgid "Additional info"
+msgstr "Información adicional"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__mail_information
msgid "Additional information of the mail"
@@ -2182,20 +2052,11 @@ msgid "Administrative Manager"
msgstr "Director Administrativo"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__adults
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__adults
#: model:ir.model.fields,field_description:pms.field_pms_reservation__adults
#: model:ir.model.fields,field_description:pms.field_pms_reservation_duplicate__adults
msgid "Adults"
msgstr "Adultos"
-#. module: pms
-#: code:addons/pms/models/pms_board_service_line.py:0
-#: code:addons/pms/models/pms_board_service_room_type_line.py:0
-#, python-format
-msgid "Adults or Children must be checked"
-msgstr ""
-
#. module: pms
#: model:ir.actions.act_window,name:pms.action_advanced_filters_wizard
#: model:ir.ui.menu,name:pms.menu_pms_advanced_filters
@@ -2207,11 +2068,6 @@ msgstr "Filtros Avanzados"
msgid "Advanced filters"
msgstr "Filtros Avanzados"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_identification
-msgid "Aeat Identification"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__product_template__consumed_on__after
msgid "After night"
@@ -2466,11 +2322,6 @@ msgstr "Importe no tributable a facturar"
msgid "Amount to be consumed per day"
msgstr "Cantidad por dÃa"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_folio__untaxed_amount_to_invoice
-msgid "Amount to invoice"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "Amounts"
@@ -2482,21 +2333,11 @@ msgid "Analytic Account"
msgstr "Cuenta AnalÃtica"
#. module: pms
-#: model:ir.model,name:pms.model_account_analytic_distribution
-msgid "Analytic Account Distribution"
-msgstr ""
-
-#. module: pms
-#: model:ir.model,name:pms.model_account_analytic_line
-msgid "Analytic Line"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_folio_sale_line__analytic_tag_ids
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__analytic_tag_ids
-#: model:ir.model.fields,field_description:pms.field_pms_service__analytic_tag_ids
-msgid "Analytic Tags"
-msgstr "Etiquetas AnalÃticas"
+#: model:ir.model.fields,field_description:pms.field_folio_sale_line__analytic_distribution_ids
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__analytic_distribution_ids
+#: model:ir.model.fields,field_description:pms.field_pms_service__analytic_distribution_ids
+msgid "Analytic Distribution"
+msgstr "Distribución AnalÃtica"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__analytic_line_ids
@@ -2666,18 +2507,6 @@ msgstr "Aplicar Cambios a \"Cupo\""
msgid "Apply pricelists on"
msgstr "Aplicar tarifas en"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_line__adults
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__adults
-msgid "Apply service to adults"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_line__children
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__children
-msgid "Apply service to children"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__state__arrival_delayed
msgid "Arrival Delayed"
@@ -2786,6 +2615,7 @@ msgstr "Confirmar automáticamente"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__autoinvoice_date
+#: model:ir.model.fields,field_description:pms.field_pms_folio__autoinvoice_date
msgid "Autoinvoice Date"
msgstr "Fecha de autofacturación"
@@ -2854,6 +2684,7 @@ msgstr "Plan de Disponibilidad para aplicar cambios masivos"
#. module: pms
#: model:ir.ui.menu,name:pms.reservation_availability_plan_rules_menu
#: model_terms:ir.ui.view,arch_db:pms.availability_plan_rule_view_form
+#: model_terms:ir.ui.view,arch_db:pms.availability_view_tree
msgid "Availability Plans"
msgstr "Planes de Disponibilidad"
@@ -2869,6 +2700,11 @@ msgstr "Resultados de la Disponibilidad"
msgid "Availability Rules"
msgstr "Reglas de Disponibilidad"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.availability_plan_rule_view_tree
+msgid "Availability rules"
+msgstr "Reglas de Disponibilidad"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_product_pricelist__pms_sale_channel_ids
msgid "Available Channels"
@@ -2879,11 +2715,6 @@ msgstr "Canales de Venta"
msgid "Available in PMS"
msgstr "Disponible en el Punto De Venta"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__available_in_pos
-msgid "Available in POS"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio_availability_wizard__num_rooms_available
msgid "Available rooms"
@@ -2975,8 +2806,8 @@ msgstr "Contacto de facturación"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Birth Date *"
-msgstr ""
+msgid "Birth Date"
+msgstr "Fecha de Nacimiento"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__birthdate_date
@@ -2993,16 +2824,14 @@ msgid "Blacklist"
msgstr "Lista Negra"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__blocked
-msgid "Blocked"
-msgstr ""
+#: model:ir.model.fields,field_description:pms.field_pms_property__mobile_blacklisted
+msgid "Blacklisted Phone Is Mobile"
+msgstr "El teléfono en la lista negra es un móvil"
#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#: code:addons/pms/models/pms_reservation_line.py:0
-#, python-format
-msgid "Blocked reservations can't be modified"
-msgstr ""
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_blacklisted
+msgid "Blacklisted Phone is Phone"
+msgstr "El teléfono en la lista negra es un teléfono fijo"
#. module: pms
#: model:ir.actions.act_window,name:pms.action_pms_board_service_room_type_view
@@ -3024,17 +2853,11 @@ msgid "Board Service Code"
msgstr "Código del régimen"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_service__board_service_line_id
#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_form
#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_room_type_form
msgid "Board Service Line"
msgstr "Servicios del Régimen"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_service__board_service_line_id
-msgid "Board Service Line in which this service is included"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_board_service__board_service_line_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__board_service_line_ids
@@ -3098,6 +2921,7 @@ msgstr "Régimen incluido en la Habitación"
#: model:ir.model.fields,field_description:pms.field_pms_room_type__board_service_room_type_ids
#: model:ir.model.fields.selection,name:pms.selection__pms_massive_changes_wizard__apply_pricelists_on__board_services
#: model:ir.ui.menu,name:pms.menu_open_pms_board_service_form_tree
+#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_view_tree
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_search
msgid "Board Services"
@@ -3210,32 +3034,16 @@ msgstr "Puede Crear un Folio"
msgid "Cancel"
msgstr "Cancelar"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__cancel_datetime
-msgid "Cancel Date"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Cancel Folio"
msgstr "Cancelar Folio"
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "Cancel Penalty"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "Cancel Reservation"
msgstr "Cancelar Reserva"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_company__cancel_penalty_product_id
-msgid "Cancel penalty product"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_service_line__cancel_discount
msgid "Cancelation Discount"
@@ -3266,6 +3074,7 @@ msgstr "Regla de Cancelación"
#: model:ir.model,name:pms.model_pms_cancelation_rule
#: model:ir.ui.menu,name:pms.menu_pms_cancelation_rule
#: model_terms:ir.ui.view,arch_db:pms.pms_cancelation_rule_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_cancelation_rule_view_tree
msgid "Cancelation Rules"
msgstr "Reglas de Cancelación"
@@ -3326,21 +3135,6 @@ msgstr "Configuración de cardex"
msgid "Cash Payments"
msgstr "Pagos de Efectivo"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__category_id
-msgid "Category"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__route_from_categ_ids
-msgid "Category Routes"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__pos_categ_id
-msgid "Category used in the Point of Sale."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__cancelled_reason
msgid "Cause of cancelled"
@@ -3348,7 +3142,6 @@ msgstr "Causa de la Cancelación"
#. module: pms
#: model:ir.model,name:pms.model_room_closure_reason
-#: model:ir.model.fields,field_description:pms.field_pms_folio__out_service_description
#: model:ir.model.fields,field_description:pms.field_pms_reservation__out_service_description
msgid "Cause of out of service"
msgstr "Causa de estar Fuera de Servicio"
@@ -3397,22 +3190,11 @@ msgid "Check if the contact is a company, otherwise it is a person"
msgstr ""
"Comprobar que el contacto es una compañÃa, de otra manera es una persona"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__to_weight
-msgid ""
-"Check if the product should be weighted using the hardware scale integration."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation_duplicate__occupied_room
msgid "Check if the room is occupied"
msgstr "Compruebe si la habitación está ocupada"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__available_in_pos
-msgid "Check if you want this product to appear in the Point of Sale."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_res_company__check_min_partner_data_invoice
msgid "Check minimum partner data for invoices"
@@ -3432,11 +3214,6 @@ msgstr ""
msgid "Check this box if this contact is an Employee."
msgstr "Marque esta casilla si este contacto es un Empleado."
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_anonymous_cash_customer
-msgid "Check this for anonymous cash customer. AEAT communication"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
msgid "Check-in hours"
@@ -3567,13 +3344,6 @@ msgstr "Fecha y hora de salida del Checkin Partner"
msgid "Checkin partner name"
msgstr "Cliente del Checkin"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__sii_simplified_invoice
-msgid ""
-"Checking this mark, invoices done to this partner will be sent to SII as "
-"simplified invoices."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_folio.py:0
#: model:ir.actions.act_window,name:pms.action_checkin_partner
@@ -3641,11 +3411,6 @@ msgstr "Comprobación del mes pasado"
msgid "Child Avails"
msgstr "Niño Disponible"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__child_ids
-msgid "Child Properties"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__child_ids
msgid "Child Rooms"
@@ -3662,8 +3427,6 @@ msgid "Child rooms of the room"
msgstr "Habitaciones infantiles de la sala"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__children
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__children
#: model:ir.model.fields,field_description:pms.field_pms_reservation__children
msgid "Children"
msgstr "Niños"
@@ -3839,6 +3602,11 @@ msgstr "Nombre de la Entidad de la CompañÃa"
msgid "Company Type"
msgstr "Tipo de CompañÃa"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__partner_gid
+msgid "Company database ID"
+msgstr "ID de la base de datos de la empresa"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_product_pricelist__company_id
msgid "Company to which the pricelist belongs"
@@ -3935,6 +3703,7 @@ msgstr "Fechas de Consumo"
#. module: pms
#: model:ir.model,name:pms.model_res_partner
+#: model:ir.model.fields,field_description:pms.field_pms_property__child_ids
#: model_terms:ir.ui.view,arch_db:pms.folio_portal_template
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Contact"
@@ -3965,50 +3734,28 @@ msgstr "Precio"
msgid "Cost Currency"
msgstr "Moneda del Precio"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__cost_method
-msgid "Costing Method"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__payment_token_count
msgid "Count Payment Token"
msgstr "Contar Señal de Pago"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__count_alternative_free_rooms
-msgid "Count alternative free rooms"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__message_bounce
msgid "Counter of the number of bounced emails for this contact"
msgstr "Nº emails devueltos por este contacto"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__country_ids
-msgid "Countries"
-msgstr ""
-
-#. module: pms
-#: model:ir.model,name:pms.model_res_country
#: model:ir.model.fields,field_description:pms.field_pms_property__country_id
#: model:ir.model.fields,field_description:pms.field_res_partner__country_id
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__country_id
#: model:ir.model.fields,field_description:pms.field_res_users__country_id
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "Country"
msgstr "PaÃs"
-#. module: pms
-#: code:addons/pms/models/res_partner_id_number.py:0
-#, python-format
-msgid "Country is not allowed for this document type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__residence_country_id
#: model:ir.model.fields,field_description:pms.field_pms_property__residence_country_id
@@ -4017,17 +3764,16 @@ msgstr ""
msgid "Country of residence"
msgstr "PaÃs de residencia"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__document_country_id
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__country_id
-msgid "Country of the document"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_checkin_partner__residence_country_id
msgid "Country of the guest's residence"
msgstr "PaÃs de residencia del huésped"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Covering"
+msgstr "Cubriendo"
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_search
msgid "Create Date"
@@ -4045,11 +3791,6 @@ msgstr "Crear Ficha"
msgid "Create Invoice"
msgstr "Crear Factura"
-#. module: pms
-#: model_terms:ir.actions.act_window,help:pms.action_pms_move_out_invoice_type
-msgid "Create a customer invoice"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.booking_duplicate
msgid "Create and Close"
@@ -4090,13 +3831,6 @@ msgstr "Crear por Semana"
msgid "Create invoices"
msgstr "Crear Facturas"
-#. module: pms
-#: model_terms:ir.actions.act_window,help:pms.action_pms_move_out_invoice_type
-msgid ""
-"Create invoices, register payments and keep track of the discussions with "
-"your customers."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
@@ -4247,20 +3981,6 @@ msgstr "Hotel Actual"
msgid "Current property"
msgstr "Hotel Actual"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__qty_available
-msgid ""
-"Current quantity of products.\n"
-"In a context with a single Stock Location, this includes goods stored at "
-"this Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the "
-"Stock Location of this Warehouse, or any of its children.\n"
-"stored in the Stock Location of the Warehouse of this Shop, or any of its "
-"children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' "
-"type."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Current state of this reservation"
@@ -4284,16 +4004,6 @@ msgstr "Cliente"
msgid "Customer E-mail"
msgstr "E-mail"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__sale_delay
-msgid "Customer Lead Time"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__property_stock_customer
-msgid "Customer Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_folio__mobile
#: model:ir.model.fields,help:pms.field_pms_reservation__mobile
@@ -4347,6 +4057,16 @@ msgstr "Clientes"
msgid "Daily Plan"
msgstr "Plan Diario"
+#. module: pms
+#: code:addons/pms/models/product_pricelist.py:0
+#, python-format
+msgid ""
+"Daily Plan must have fixed price, only one property and its items must be "
+"daily"
+msgstr ""
+"El Plan Diario debe tener precio fijo, sólo una propiedad y sus artÃculos "
+"deben ser diarios"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__daily_limit
#: model:ir.model.fields,field_description:pms.field_product_product__daily_limit
@@ -4388,11 +4108,6 @@ msgstr "Fecha de finalización de la reserva"
msgid "Date Reservation starts "
msgstr "Fecha de inicio de la reserva "
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__sign_on
-msgid "Date and time of the signature"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability__date
msgid "Date for which availability applies"
@@ -4430,11 +4145,6 @@ msgstr "Fecha en la cual se confirma el folio."
msgid "Date types"
msgstr "Tipo de fecha"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__cancel_datetime
-msgid "Date when the reservation was cancelled"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__wizard_folio_changes__modification_type__dates
msgid "Dates"
@@ -4445,6 +4155,13 @@ msgstr "Fechas"
msgid "Dates incrongruence"
msgstr "Incrongruencia de fechas"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_tree
+msgid "Days"
+msgstr "DÃas"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_cancelation_rule__days_intime
msgid "Days Late"
@@ -4559,13 +4276,6 @@ msgstr "Definir las tarifas del proveedor."
msgid "Degree of trust you have in this debtor"
msgstr "Grado de confianza que tiene en este deudor"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__sale_delay
-msgid ""
-"Delivery lead time, in days. It's the number of days, promised to the "
-"customer, between the confirmation of the sales order and the delivery."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__default_departure_hour
#: model:ir.model.fields,field_description:pms.field_pms_reservation__departure_hour
@@ -4589,14 +4299,6 @@ msgstr "La hora de salida (%s) es anterior a la llegada en %s"
msgid "Departure delayed"
msgstr "Salidas Hoy"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__route_ids
-msgid ""
-"Depending on the modules installed, this will allow you to define the route "
-"of the product: whether it will be bought, manufactured, replenished on "
-"order, etc."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__name
#: model:ir.model.fields,field_description:pms.field_pms_room_type__description
@@ -4610,21 +4312,6 @@ msgstr "Descripción"
msgid "Description of folio sale line"
msgstr "Descripción de las lineas de venta de la ficha"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_pickingout
-msgid "Description on Delivery Orders"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_picking
-msgid "Description on Picking"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_pickingin
-msgid "Description on Receptions"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_form
@@ -4748,8 +4435,6 @@ msgid "Discount that be applied in total price"
msgstr "Descuento que se aplicará en el precio total"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__display_name
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__display_name
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__display_name
#: model:ir.model.fields,field_description:pms.field_account_journal__display_name
@@ -4803,10 +4488,7 @@ msgstr "Descuento que se aplicará en el precio total"
#: model:ir.model.fields,field_description:pms.field_product_product__display_name
#: model:ir.model.fields,field_description:pms.field_product_template__display_name
#: model:ir.model.fields,field_description:pms.field_res_company__display_name
-#: model:ir.model.fields,field_description:pms.field_res_country__display_name
#: model:ir.model.fields,field_description:pms.field_res_partner__display_name
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__display_name
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__display_name
#: model:ir.model.fields,field_description:pms.field_res_users__display_name
#: model:ir.model.fields,field_description:pms.field_room_closure_reason__display_name
@@ -4822,43 +4504,37 @@ msgstr "Tipo Mostrado"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Expedition Date/Doc. Validity Date *"
-msgstr ""
+msgid "Doc. Expedition Date/Doc. Validity Date"
+msgstr "Doc. Fecha de expedición/Doc. Fecha de validez"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Number *"
-msgstr ""
+msgid "Doc. Number"
+msgstr "Doc. Número"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Type *"
-msgstr ""
+msgid "Doc. Type"
+msgstr "Doc. Tipo"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_id
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_id
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_id
msgid "Document"
msgstr "Documento"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Document\n"
-" number"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_country_id
-msgid "Document Country"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_number
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_number
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_number
msgid "Document Number"
msgstr "Nº de documento"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_type
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_type
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_type
msgid "Document Type"
msgstr "Tipo de Documento"
@@ -4877,12 +4553,6 @@ msgstr "Número de documento:"
msgid "Document partner required"
msgstr "Documento socio requerido"
-#. module: pms
-#: code:addons/pms/models/pms_checkin_partner.py:0
-#, python-format
-msgid "Document type and country of document do not match"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
#, python-format
@@ -5082,11 +4752,6 @@ msgstr "End date for creation of reservations and folios"
msgid "End date to apply daily pricelist items"
msgstr "Fecha lÃmite para aplicar los Ãtems de la tarifa diaria"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__tracking
-msgid "Ensure the traceability of a storable product in your warehouse."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__arrival
msgid "Enter"
@@ -5097,6 +4762,18 @@ msgstr "Entrada"
msgid "Entry date"
msgstr "Fecha de entrada"
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Error in autoinvoicing folio: "
+msgstr "Error en folio de autofacturación: "
+
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Error in autoinvoicing invoice: "
+msgstr "Error en la autofacturación de la factura: "
+
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
#, python-format
@@ -5140,18 +4817,16 @@ msgstr "Correo Electrónico de Salida"
msgid "Exit date"
msgstr "Fecha Salida"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Expedition\n"
-" date"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_expedition_date
msgid "Expedition Date"
msgstr "Fecha de expedición"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.traveller_report
+msgid "Expedition date"
+msgstr "Fecha de expedición"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__property_account_expense_id
msgid "Expense Account"
@@ -5312,6 +4987,15 @@ msgstr ""
msgid "Field used to create the name of the checkin partner"
msgstr "Campo utilizado para crear el nombre del cliente"
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_sanitized
+msgid ""
+"Field used to store sanitized phone number. Helps speeding up searches and "
+"comparisons."
+msgstr ""
+"Campo utilizado para almacenar el número de teléfono saneado. Ayuda a "
+"acelerar las búsquedas y las comparaciones."
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.advanced_filters_wizard
msgid "Filters"
@@ -5372,6 +5056,7 @@ msgstr "Valor de Campo Flotante"
#: model:ir.model.fields,field_description:pms.field_wizard_payment_folio__folio_id
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_tree
msgid "Folio"
msgstr "Ficha"
@@ -5600,35 +5285,6 @@ msgstr "Forzar a No Añadir LÃneas Automáticamente"
msgid "Force no invoice"
msgstr "Forzar a no facturar"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__virtual_available
-msgid "Forecast Quantity"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__virtual_available
-msgid ""
-"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n"
-"In a context with a single Stock Location, this includes goods stored in "
-"this location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the "
-"Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' "
-"type."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__free_qty
-msgid ""
-"Forecast quantity (computed as Quantity On Hand - reserved quantity)\n"
-"In a context with a single Stock Location, this includes goods stored in "
-"this location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the "
-"Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' "
-"type."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_property.py:0
#: code:addons/pms/models/pms_reservation.py:0
@@ -5674,11 +5330,6 @@ msgstr "Cuarto piso"
msgid "Free Bar"
msgstr "Barra Libre"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__free_qty
-msgid "Free To Use Quantity "
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.wizard_folio_changes_view_form
@@ -5725,15 +5376,11 @@ msgstr "Futuro"
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
#: model:ir.model.fields,field_description:pms.field_pms_property__gender
#: model:ir.model.fields,field_description:pms.field_res_partner__gender
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "Gender"
msgstr "Género"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Gender *"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -5908,11 +5555,6 @@ msgstr "Champú y Jabón de Esencias de Hiebas de Alta Calidad"
msgid "History"
msgstr "Historia"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_reservation
-msgid "Host"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_checkin_partner__document_number
msgid "Host document number"
@@ -5931,8 +5573,6 @@ msgid "Hosts"
msgstr "Huéspedes"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__id
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__id
#: model:ir.model.fields,field_description:pms.field_account_journal__id
@@ -5986,10 +5626,7 @@ msgstr "Huéspedes"
#: model:ir.model.fields,field_description:pms.field_product_product__id
#: model:ir.model.fields,field_description:pms.field_product_template__id
#: model:ir.model.fields,field_description:pms.field_res_company__id
-#: model:ir.model.fields,field_description:pms.field_res_country__id
#: model:ir.model.fields,field_description:pms.field_res_partner__id
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__id
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__id
#: model:ir.model.fields,field_description:pms.field_res_users__id
#: model:ir.model.fields,field_description:pms.field_room_closure_reason__id
@@ -5998,16 +5635,6 @@ msgstr "Huéspedes"
msgid "ID"
msgstr "Identificación"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__name
-msgid "ID Number"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__category_id
-msgid "ID type defined in configuration. For example, Driver License"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__im_status
msgid "IM Status"
@@ -6046,11 +5673,6 @@ msgstr "Números de documentos"
msgid "Identification code for a room type"
msgstr "Código de identificación del tipo de habitación"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_identification
-msgid "Identification for AEAT purposes"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__identifier
msgid "Identifier"
@@ -6081,10 +5703,15 @@ msgstr "Si está marcado, los mensajes nuevos requieren su atención."
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_checkin_partner__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_checkin_partner__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_folio__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_folio__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_property__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_property__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_reservation__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_reservation__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_room_type__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_room_type__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr "Si está marcado, algunos mensajes tienen un error de entrega."
@@ -6127,6 +5754,15 @@ msgstr ""
"Si la lista de precios está disponible en el PMS, debe seleccionar un plan "
"de disponibilidad"
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_sanitized_blacklisted
+msgid ""
+"If the sanitized phone number is on the blacklist, the contact won't receive "
+"mass mailing sms anymore, from any list"
+msgstr ""
+"Si el número de teléfono saneado está en la lista negra, el contacto no "
+"recibirá más sms de envÃo masivo, de ninguna lista"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_res_company__document_partner_required
msgid ""
@@ -6170,13 +5806,6 @@ msgstr ""
"Si almacenamos su información de pago en nuestro servidor, los pagos de la "
"suscripción se realizarán automáticamente."
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_precheckin
-msgid ""
-"If you wish, you can share with the rest of the guests the access to their "
-"check-in so that they can fill it out. "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__image_128
#: model:ir.model.fields,field_description:pms.field_pms_property__image_1920
@@ -6208,11 +5837,6 @@ msgstr "Imagen 256"
msgid "Image 512"
msgstr "Imagen 512"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__logo
-msgid "Image in checkin"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service__product_image
msgid "Image of the service"
@@ -6264,11 +5888,6 @@ msgstr "Servicios incluidos en la reserva"
msgid "Income Account"
msgstr "Cuenta de Ingresos"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__incoming_qty
-msgid "Incoming"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_checkin_partner__state__draft
msgid "Incomplete data"
@@ -6284,11 +5903,6 @@ msgstr "Indica si existe overbooking"
msgid "Indicate if exists overbooking in the reservation line"
msgstr "Indicar si existe sobreventa en la lÃnea de reserva"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__is_reselling
-msgid "Indicate if exists reselling in any reservation line"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability_plan_rule__closed
msgid "Indicate if property is closed or not"
@@ -6306,6 +5920,30 @@ msgstr "Causa de la Cancelación"
msgid "Indicates how much products can consumed in one day"
msgstr "Indica cuántos productos se pueden consumir en un dÃa"
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__mobile_blacklisted
+msgid ""
+"Indicates if a blacklisted sanitized phone number is a mobile number. Helps "
+"distinguish which number is blacklisted when there is both a "
+"mobile and phone field in a model."
+msgstr ""
+"Indica si un número de teléfono saneado de la lista negra es un número de "
+"móvil. Ayuda a distinguir qué número está en la lista "
+"negra cuando hay tanto un campo de móvil como "
+"de teléfono en un modelo."
+
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_blacklisted
+msgid ""
+"Indicates if a blacklisted sanitized phone number is a phone number. Helps "
+"distinguish which number is blacklisted when there is both a "
+"mobile and phone field in a model."
+msgstr ""
+"Indica si un número de teléfono saneado de la lista negra es un número de "
+"teléfono. Ayuda a distinguir qué número está en la lista "
+"negra cuando hay tanto un campo de móvil "
+"como de teléfono en un modelo."
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__invoice_to_agency
#: model:ir.model.fields,help:pms.field_res_partner__invoice_to_agency
@@ -6364,16 +6002,6 @@ msgstr "Indica si ese producto está disponible en PMS"
msgid "Indicates if the partner is an agency"
msgstr "Indica si el partner es una agencia"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__blocked
-msgid "Indicates if the reservation is blocked"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation_line__is_reselling
-msgid "Indicates if the reservation line is reselling"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_sale_channel__is_on_line
msgid "Indicates if the sale channel is on-line"
@@ -6388,11 +6016,6 @@ msgstr ""
"Indica si el servicio incluido en la lÃnea de venta de la ficha es parte de "
"un board service"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_service__is_cancel_penalty
-msgid "Indicates if the service is a cancel penalty"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service__is_board_service
msgid "Indicates if the service is part of a board service"
@@ -6435,7 +6058,6 @@ msgid "Indicates that this room is a child of another room"
msgstr "Indica que esta habitación es hija de otra habitación"
#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__out_service_description
#: model:ir.model.fields,help:pms.field_pms_reservation__out_service_description
msgid "Indicates the cause of out of service"
msgstr "Causa de estar Fuera de Servicio"
@@ -6632,16 +6254,6 @@ msgstr "Se ha encontrado un token no válido. Adquirente de token %s != %s"
msgid "Invalid token found! Token partner %s != %s"
msgstr "¡Ficha inválida encontrada! Ficha socio %s != %s"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__property_stock_inventory
-msgid "Inventory Location"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__valuation
-msgid "Inventory Valuation"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_folio_invitations
msgid "Invitation email sent"
@@ -6696,13 +6308,9 @@ msgstr "Estado de Facturación"
#. module: pms
#: model:ir.model.fields,help:pms.field_folio_sale_line__invoice_status
-msgid "Invoice Status; it can be: invoiced, to invoice, no"
-msgstr ""
-
-#. module: pms
#: model:ir.model.fields,help:pms.field_pms_folio__invoice_status
-msgid "Invoice Status; it can be: invoiced, to invoice, to confirm, no"
-msgstr ""
+msgid "Invoice Status; it can be: upselling, invoiced, to invoice, no"
+msgstr "Estado de la factura; puede ser: upselling, facturado, a facturar, no"
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_folio__partner_invoice_ids
@@ -6795,11 +6403,6 @@ msgstr "Es Agencia"
msgid "Is Board Service"
msgstr "Es Regimen"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_service__is_cancel_penalty
-msgid "Is Cancel Penalty"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_is_follower
#: model:ir.model.fields,field_description:pms.field_pms_folio__message_is_follower
@@ -6915,9 +6518,12 @@ msgstr ""
#, python-format
msgid ""
"It is forbidden to modify the following fields\n"
-" in a locked folio (fields already invoiced):\n"
+" in a locked folio (fields already invoiced):\n"
"%s"
msgstr ""
+"Está prohibido modificar los siguientes campos\n"
+" en un folio bloqueado (campos ya facturados):\n"
+"%s"
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
@@ -6991,6 +6597,12 @@ msgstr "Unificar la reserva"
msgid "Journal"
msgstr "Diario"
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Journal %s is not allowed to be used for normal invoices"
+msgstr "El diario %s no puede utilizarse para facturas normales"
+
#. module: pms
#: model:ir.model,name:pms.model_account_move
#: model:ir.model.fields,field_description:pms.field_account_move_line__move_id
@@ -7054,26 +6666,17 @@ msgid "Label"
msgstr "Descripción"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_folio__lang
#: model:ir.model.fields,field_description:pms.field_pms_property__lang
#: model:ir.model.fields,field_description:pms.field_pms_reservation__lang
-#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Language"
msgstr "Lenguaje"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__lang
-msgid "Language used for the folio"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__last_checkout
msgid "Last Folio Checkout"
msgstr "Checkout del folio"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution____last_update
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:pms.field_account_bank_statement____last_update
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line____last_update
#: model:ir.model.fields,field_description:pms.field_account_journal____last_update
@@ -7127,10 +6730,7 @@ msgstr "Checkout del folio"
#: model:ir.model.fields,field_description:pms.field_product_product____last_update
#: model:ir.model.fields,field_description:pms.field_product_template____last_update
#: model:ir.model.fields,field_description:pms.field_res_company____last_update
-#: model:ir.model.fields,field_description:pms.field_res_country____last_update
#: model:ir.model.fields,field_description:pms.field_res_partner____last_update
-#: model:ir.model.fields,field_description:pms.field_res_partner_category____last_update
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number____last_update
#: model:ir.model.fields,field_description:pms.field_res_users____last_update
#: model:ir.model.fields,field_description:pms.field_room_closure_reason____last_update
@@ -7250,8 +6850,8 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Lastname *"
-msgstr ""
+msgid "Lastname"
+msgstr "Apellidos"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
@@ -7326,21 +6926,11 @@ msgstr "Lista de caracterÃsticas incluidas en la habitación"
msgid "List of amenities included in room type"
msgstr "Lista de caracterÃsticas incluidas en el tipo de habitación"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__location_id
-msgid "Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__state__done
msgid "Locked"
msgstr "Bloqueado"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_sale_channel__icon
-msgid "Logo"
-msgstr ""
-
#. module: pms
#: model:product.product,name:pms.pms_service_lunch
#: model:product.template,name:pms.pms_service_lunch_product_template
@@ -7396,16 +6986,6 @@ msgstr "Obligatorio Nombre"
msgid "Manual"
msgstr "Manual"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__valuation
-msgid ""
-"Manual: The accounting entries to value the inventory are not posted "
-"automatically.\n"
-" Automated: An accounting entry is automatically created to value the "
-"inventory when a product enters or leaves the company.\n"
-" "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__service_type
msgid ""
@@ -7587,11 +7167,6 @@ msgstr "Mensaje para pedido de ventas"
msgid "Message for Sales Order Line"
msgstr "Mensaje para lÃnea de pedido de ventas"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__picking_warn_msg
-msgid "Message for Stock Picking"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_ids
#: model:ir.model.fields,field_description:pms.field_pms_folio__message_ids
@@ -7606,11 +7181,6 @@ msgstr "Mensajes"
msgid "Microwave oven"
msgstr "Horno microondas"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__min_price
-msgid "Min. Price"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_massive_changes_wizard__min_quantity
msgid "Min. Quantity"
@@ -7640,16 +7210,6 @@ msgstr "Min. Estancia Llegada no puede ser menor que cero"
msgid "Min. Stay can't be less than zero"
msgstr "La estancia mÃnima no puede ser menor que cero"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__orderpoint_ids
-msgid "Minimum Stock Rules"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__min_price
-msgid "Minimum price for a room type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability_plan_rule__min_stay
msgid "Minimum stay"
@@ -7697,11 +7257,6 @@ msgstr "Tipo de Modificación"
msgid "Modification email template"
msgstr "Plantilla de modificación de correo electrónico"
-#. module: pms
-#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__cancelled_reason__modified
-msgid "Modified"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.wizard_folio_changes_view_form
@@ -7787,22 +7342,18 @@ msgstr "Nombre fijado manualmente"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Name * "
-msgstr ""
+msgid "Name* "
+msgstr "Nombre* "
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__nationality_id
#: model:ir.model.fields,field_description:pms.field_pms_property__nationality_id
#: model:ir.model.fields,field_description:pms.field_res_partner__nationality_id
#: model:ir.model.fields,field_description:pms.field_res_users__nationality_id
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
msgid "Nationality"
msgstr "Nacionalidad"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Nationality *"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__res_partner__invoice_to_agency__never
msgid "Never"
@@ -7976,8 +7527,8 @@ msgstr "No pagado"
#. module: pms
#: code:addons/pms/models/pms_property.py:0
#, python-format
-msgid "Not invoiced due to pending amounts and cancelled reservations"
-msgstr ""
+msgid "Not invoiced due to pending amounts"
+msgstr "No facturado debido a importes pendientes"
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__display_type__line_note
@@ -8397,11 +7948,6 @@ msgstr "Fuera de Servicio"
msgid "Out service description"
msgstr "Descripción de Fuera de Servicio"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__outgoing_qty
-msgid "Outgoing"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -8434,13 +7980,6 @@ msgstr "Pago en exceso"
msgid "Overpayment!"
msgstr "¡Pago en exceso!"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"PART\n"
-" OF TRAVELERS ENTRY"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "PART OF TRAVELERS ENTRY"
@@ -8456,11 +7995,6 @@ msgstr "FICHA"
msgid "PMS Invoice policy"
msgstr "PolÃtica de facturación PMS"
-#. module: pms
-#: model:ir.actions.act_window,name:pms.action_pms_move_out_invoice_type
-msgid "PMS Invoices"
-msgstr ""
-
#. module: pms
#: model:ir.ui.menu,name:pms.pms_management_menu
msgid "PMS Management"
@@ -8486,6 +8020,11 @@ msgstr "Miembro del Equipo PMS"
msgid "PRO-FORMA Invoice"
msgstr "Factura PRO-FORMA"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Page"
+msgstr "Página"
+
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__payment_state__paid
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
@@ -8503,11 +8042,6 @@ msgstr "Pagado/a"
msgid "Parent Avail"
msgstr "Disponibilidad de los Padres"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__parent_id
-msgid "Parent Property"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__parent_id
msgid "Parent Room"
@@ -8523,13 +8057,6 @@ msgstr "Disponibilidad de los padres para esta disponibilidad"
msgid "Parent name"
msgstr "Nombre del Padre"
-#. module: pms
-#: model:pms.room.type,name:pms.pms_room_type_parking
-#: model:pms.room.type.class,name:pms.pms_room_type_class_parking
-#: model:product.product,name:pms.pms_room_type_parking_product_product
-msgid "Parking"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -8563,11 +8090,6 @@ msgstr "Checkins del Cliente"
msgid "Partner Contracts"
msgstr "Contratos del Cliente"
-#. module: pms
-#: model:ir.model,name:pms.model_res_partner_id_category
-msgid "Partner ID Category"
-msgstr ""
-
#. module: pms
#: model:ir.model,name:pms.model_res_partner_id_number
msgid "Partner ID Number"
@@ -8584,7 +8106,6 @@ msgid "Partner Requests"
msgstr "Notas del Cliente"
#. module: pms
-#: model:ir.model,name:pms.model_res_partner_category
#: model:ir.model.fields,help:pms.field_pms_booking_duplicate__segmentation_ids
#: model:ir.model.fields,help:pms.field_pms_booking_engine__segmentation_ids
msgid "Partner Tags"
@@ -8655,7 +8176,6 @@ msgid "Passport"
msgstr "Pasaporte"
#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_folio_payment
#: model_terms:ir.ui.view,arch_db:pms.wizard_payment_folio_view_form
msgid "Pay"
msgstr "Pagar"
@@ -8855,6 +8375,11 @@ msgstr "Teléfono"
msgid "Phone (Optional)"
msgstr "Teléfono (Opcional)"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_sanitized_blacklisted
+msgid "Phone Blacklisted"
+msgstr "Teléfono en la lista negra"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan_rule__plan_avail
msgid "Plan Avail"
@@ -8867,18 +8392,11 @@ msgid "Please define an accounting sales journal for the company %s (%s)."
msgstr "Defina un diario de ventas contables para la compañÃa %s (%s)."
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_account_move_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_reservation__pms_property_id
msgid "Pms Property"
msgstr "Hotel"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__pos_categ_id
-msgid "Point of Sale Category"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__access_url
#: model:ir.model.fields,field_description:pms.field_pms_folio__access_url
@@ -8886,16 +8404,6 @@ msgstr ""
msgid "Portal Access URL"
msgstr "URL de acceso al portal"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__pos_order_ids
-msgid "Pos Order"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__pos_order_count
-msgid "Pos Order Count"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__checkin_partner_possible_customer_id
#: model:ir.model.fields,field_description:pms.field_res_partner__checkin_partner_possible_customer_id
@@ -9187,8 +8695,6 @@ msgstr "Imprimir en cardex"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_reservation__priority
-#: model:ir.model.fields,field_description:pms.field_res_country__priority
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__priority
msgid "Priority"
msgstr "Prioridad"
@@ -9314,16 +8820,6 @@ msgstr "Identificador de producto asociado al tipo de habitación"
msgid "Product template associated with the item"
msgstr "Product template asociada con el item"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_company__cancel_penalty_product_id
-msgid "Product used to calculate the cancel penalty"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__property_stock_production
-msgid "Production Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__product_variant_ids
msgid "Products"
@@ -9339,6 +8835,8 @@ msgstr "Prductos"
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__pms_property_ids
+#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__pms_property_ids
+#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_cancelation_rule__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_property__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_room_type__pms_property_ids
@@ -9382,6 +8880,8 @@ msgstr ""
#: model:ir.model.fields,help:pms.field_pms_availability_plan__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_board_service__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_board_service_line__pms_property_ids
+#: model:ir.model.fields,help:pms.field_pms_board_service_room_type__pms_property_ids
+#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_cancelation_rule__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_room__pms_property_id
#: model:ir.model.fields,help:pms.field_pms_room_type__pms_property_ids
@@ -9406,9 +8906,6 @@ msgid "Propertiy with access to the element;"
msgstr "Propiedad con acceso al elemento;"
#. module: pms
-#. openerp-web
-#: code:addons/pms/static/src/js/reconciliation_widget.js:0
-#: code:addons/pms/static/src/xml/account_reconciliation.xml:0
#: model:ir.model,name:pms.model_pms_property
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__pms_property_id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__pms_property_id
@@ -9417,8 +8914,6 @@ msgstr "Propiedad con acceso al elemento;"
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_availability__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan_rule__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_booking_duplicate__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_booking_engine__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__pms_property_id
@@ -9443,7 +8938,6 @@ msgstr "Propiedad con acceso al elemento;"
#: model_terms:ir.ui.view,arch_db:pms.view_account_move_filter
#: model_terms:ir.ui.view,arch_db:pms.view_account_move_line_filter
#: model_terms:ir.ui.view,arch_db:pms.view_account_payment_search
-#, python-format
msgid "Property"
msgstr "Hotel"
@@ -9480,12 +8974,14 @@ msgstr "Factura de Póliza de Propiedad"
#. module: pms
#: model:ir.model,name:pms.model_pms_room
#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_tree
msgid "Property Room"
msgstr "Habitación"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__room_type_id
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_tree
msgid "Property Room Type"
msgstr "Tipo de Habitación del Hotel"
@@ -9499,6 +8995,11 @@ msgstr "Clase del Tipo del Hotel"
msgid "Property Ubication"
msgstr "Ubicación del Hotel"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_ubication_view_tree
+msgid "Property Ubications"
+msgstr "Zonas del Hotel"
+
#. module: pms
#: code:addons/pms/models/pms_ubication.py:0
#, python-format
@@ -9511,6 +9012,11 @@ msgstr "Hotel no permitido"
msgid "Property not allowed on availability day compute"
msgstr "Propiedad no permitida en el cálculo del dÃa de disponibilidad"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_tree
+msgid "Property settings summary"
+msgstr "Resumen de la configuración del Hotel"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability__pms_property_id
msgid "Property to which the availability is directed"
@@ -9548,20 +9054,6 @@ msgstr "Propiedad con acceso al elemento"
msgid "Property with access to the element;"
msgstr "Propiedad con acceso al elemento;"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__pms_property_id
-msgid ""
-"Property with access to the element; if not set, all properties can access"
-msgstr ""
-"Propiedad con acceso al elemento; si no se establece, todas las propiedades "
-"pueden acceder"
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type__pms_property_id
-msgid ""
-"Property with access to the element; if not set, all property can access"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__ratio_checkin_data
msgid "Proportion of guest data complete at checkin"
@@ -9592,11 +9084,6 @@ msgstr "Descripción de Compra"
msgid "Purchase Unit of Measure"
msgstr "Unidad de medida de la compra"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__putaway_rule_ids
-msgid "Putaway Rules"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_service_line__auto_qty
msgid "Qty automated setted"
@@ -9616,40 +9103,6 @@ msgstr "Cuádruple"
msgid "Quantity"
msgstr "Cantidad"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__qty_available
-msgid "Quantity On Hand"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__quantity_svl
-msgid "Quantity Svl"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__incoming_qty
-msgid ""
-"Quantity of planned incoming products.\n"
-"In a context with a single Stock Location, this includes goods arriving to "
-"this Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods arriving to the "
-"Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods arriving to any Stock Location with "
-"'internal' type."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__outgoing_qty
-msgid ""
-"Quantity of planned outgoing products.\n"
-"In a context with a single Stock Location, this includes goods leaving this "
-"Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods leaving the Stock "
-"Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods leaving any Stock Location with 'internal' "
-"type."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__day_qty
msgid "Quantity per day"
@@ -9829,38 +9282,22 @@ msgstr "Registro de pago"
msgid "Regular invoice"
msgstr "Factura normal"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__parent_id
+msgid "Related Company"
+msgstr "CompañÃa relacionada"
+
#. module: pms
#: code:addons/pms/models/pms_reservation.py:0
#, python-format
msgid "Remove some of the leftover assigned checkins first"
msgstr "Elimine primero algunos de los registros sobrantes"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__reordering_max_qty
-msgid "Reordering Max Qty"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__reordering_min_qty
-msgid "Reordering Min Qty"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__nbr_reordering_rules
-msgid "Reordering Rules"
-msgstr ""
-
#. module: pms
#: model:ir.actions.report,name:pms.action_report_folio
msgid "Report Folio"
msgstr "Informe de Ficha"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__is_reselling
-#: model:ir.model.fields,field_description:pms.field_pms_reservation_line__is_reselling
-msgid "Reselling"
-msgstr ""
-
#. module: pms
#: model:ir.actions.act_window,name:pms.action_resend_cancellation_email
msgid "Resend cancellation email"
@@ -9885,6 +9322,7 @@ msgstr "Reenviar correo electrónico de modificación"
#: model:ir.model.fields,field_description:pms.field_pms_service_line__reservation_id
#: model:ir.model.fields,field_description:pms.field_pms_several_partners_wizard__reservation_id
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_tree
#: model_terms:ir.ui.view,arch_db:pms.reservation_wizard
msgid "Reservation"
msgstr "Reserva"
@@ -10044,8 +9482,6 @@ msgstr "Reserva a la que pertenece el folio sale line "
#: model:ir.ui.menu,name:pms.menu_reservations
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_graph
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_pivot
-#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_calendar
-#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_timeline
#: model_terms:ir.ui.view,arch_db:pms.portal_my_home_menu_reservation
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservations
@@ -10096,20 +9532,11 @@ msgstr "Reservas/"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_form
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "Residence Address"
msgstr "Dirección de Residencia"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Residence Address *"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__responsible_id
-msgid "Responsible"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__activity_user_id
#: model:ir.model.fields,field_description:pms.field_pms_folio__activity_user_id
@@ -10154,23 +9581,27 @@ msgstr "Habitación"
#: model:ir.model.fields,field_description:pms.field_pms_room__room_amenity_ids
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_search
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_list
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
msgid "Room Amenities"
msgstr "CaracterÃsticas de la habitación"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_room_amenity_type_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_amenity_type_view_list
msgid "Room Amenities Type"
msgstr "Tipo de caracterÃsticas de la habitación"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_class_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_class_view_tree
msgid "Room Class"
msgstr "Clase de Habitación"
#. module: pms
#: model:ir.actions.act_window,name:pms.open_pms_room_closure_reason_form_tree
#: model_terms:ir.ui.view,arch_db:pms.pms_room_closure_reason_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_closure_reason_view_tree
msgid "Room Closure Reason"
msgstr "Razón de cierre de la habitación"
@@ -10185,6 +9616,11 @@ msgstr "LÃnea de la habitación"
msgid "Room Name"
msgstr "Nombre de la Habitación"
+#. module: pms
+#: model:ir.model.constraint,message:pms.constraint_pms_reservation_line_rule_availability
+msgid "Room Occupied"
+msgstr "Habitación Ocupada"
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_kanban_view
msgid "Room Reservation"
@@ -10355,11 +9791,6 @@ msgstr "Habitación {} no disponible."
msgid "Room/s"
msgstr "Habitación/es"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Room:"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Rooming"
@@ -10419,16 +9850,6 @@ msgstr "Habitaciones que pertenecen al tipo de habitación."
msgid "Rooms to create"
msgstr "Salas para crear"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__route_ids
-msgid "Routes"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__has_available_route_ids
-msgid "Routes can be selected on this product"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_massive_changes_wizard__rules_to_overwrite
msgid "Rule to Overwrite"
@@ -10450,9 +9871,13 @@ msgid "Rules to overwrite on massive changes"
msgstr "Reglas para sobrescribir en los cambios masivos"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__sii_exempt_cause
-msgid "SII Exempt Cause"
-msgstr ""
+#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_folio__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_property__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_room_type__message_has_sms_error
+msgid "SMS Delivery error"
+msgstr "Error Entrega SMS"
#. module: pms
#: model:ir.actions.act_window,name:pms.open_pms_sale_channel_form_tree
@@ -10461,6 +9886,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_res_partner__sale_channel_id
#: model:ir.model.fields,field_description:pms.field_res_users__sale_channel_id
#: model_terms:ir.ui.view,arch_db:pms.pms_sale_channel_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_sale_channel_view_tree
msgid "Sale Channel"
msgstr "Canal de Venta"
@@ -10609,6 +10035,7 @@ msgstr "Descripciones de la Venta"
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_reservation_line__sale_line_ids
#: model:ir.model.fields,field_description:pms.field_pms_service_line__sale_line_ids
+#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Sales Lines"
msgstr "LÃneas de Ventas"
@@ -10639,6 +10066,11 @@ msgstr "Equipo de Venta"
msgid "Sales Warnings"
msgstr "Advertencias de Venta"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_sanitized
+msgid "Sanitized Number"
+msgstr "Número Saneado"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service_line__date
msgid "Sate on which the product is to be consumed"
@@ -10652,8 +10084,13 @@ msgstr "Sábado"
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Save"
+msgid ""
+"Save and Continue\n"
+" "
msgstr ""
+"Guardar y continuar\n"
+" "
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.advanced_filters_wizard
@@ -10703,7 +10140,6 @@ msgid "Second street of the guest's residence"
msgstr "Segunda calle de la residencia del huésped"
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_folio_sale_line__section_id
#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__display_type__line_section
msgid "Section"
msgstr "Sección"
@@ -10756,6 +10192,11 @@ msgstr "Segmentación..."
msgid "Select a valid document type"
msgstr "Seleccione un tipo de documento válido"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Select an option"
+msgstr "Seleccione una opción"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__categ_id
msgid "Select category for the current product"
@@ -10773,7 +10214,6 @@ msgstr "Habitaciones Seleccionadas"
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__invoice_warn
-#: model:ir.model.fields,help:pms.field_pms_property__picking_warn
#: model:ir.model.fields,help:pms.field_pms_property__sale_warn
#: model:ir.model.fields,help:pms.field_pms_room_type__sale_line_warn
msgid ""
@@ -10852,6 +10292,12 @@ msgstr "Secuencias"
msgid "Service"
msgstr "Servicio"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_report_view_tree
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_tree
+msgid "Service By Day"
+msgstr "Servicio por dÃa"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__service_order
msgid "Service Id"
@@ -10915,6 +10361,7 @@ msgstr "Estado del servicio, corresponde al estado de la ficha"
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_graph
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_pivot
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_calendar
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_tree
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Services"
msgstr "Servicios"
@@ -11053,11 +10500,6 @@ msgstr "Propiedad del nombre corto"
msgid "Show Detail Report"
msgstr "Ver Informe"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__show_on_hand_qty_status_button
-msgid "Show On Hand Qty Status Button"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_folio_search
msgid "Show all checkins for Tomorrow"
@@ -11103,21 +10545,6 @@ msgstr ""
msgid "Show if the day qty was calculated automatically"
msgstr "Mostrar si la cantidad diaria se ha calculado automáticamente"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__sign_on
-msgid "Sign on"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__signature
-msgid "Signature"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__signature
-msgid "Signature of the guest"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__signup_expiration
msgid "Signup Expiration"
@@ -11143,11 +10570,6 @@ msgstr "La Señal del Registro es Válida"
msgid "Signup URL"
msgstr "URL de Inscripción"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__sii_enabled
-msgid "Sii Enabled"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
msgid "Simplified Invoice"
@@ -11166,11 +10588,6 @@ msgstr "Diario de Facturas Simplificado"
msgid "Simplified invoice"
msgstr "Factura simplificada"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__sii_simplified_invoice
-msgid "Simplified invoices in SII?"
-msgstr ""
-
#. module: pms
#: model:pms.room.type,name:pms.pms_room_type_single
#: model:product.product,name:pms.pms_room_type_single_product_product
@@ -11188,6 +10605,11 @@ msgstr "Vendido"
msgid "Some properties do not belong to the allowed companies"
msgstr "Algunas propiedades no pertenecen a las compañÃas permitidas"
+#. module: pms
+#: model:res.partner.id_category,name:pms.document_type_spanish_residence
+msgid "Spanish Residence permit"
+msgstr "Permiso de residencia Español"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_product_pricelist_item__board_service_room_type_id
msgid "Specify a Board services on Room Types."
@@ -11228,18 +10650,6 @@ msgstr "Staff"
msgid "Stage"
msgstr "Estado"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__cost_method
-msgid ""
-"Standard Price: The products are valued at their standard cost defined on "
-"the product.\n"
-" Average Cost (AVCO): The products are valued at weighted average "
-"cost.\n"
-" First In First Out (FIFO): The products are valued supposing those "
-"that enter the company first will also leave it first.\n"
-" "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_product_pricelist_item__date_start_consumption
msgid "Start Date Consumption"
@@ -11267,6 +10677,7 @@ msgstr "Fecha de inicio para aplicar los items de tarifa diarios"
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "State"
msgstr "Estado"
@@ -11331,26 +10742,6 @@ msgstr ""
msgid "Status of the checkin partner regarding the reservation"
msgstr "Ningún checkin fue realizado en esta reserva"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_move_ids
-msgid "Stock Move"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__picking_warn
-msgid "Stock Picking"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_quant_ids
-msgid "Stock Quant"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_valuation_layer_ids
-msgid "Stock Valuation Layer"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__residence_street
#: model:ir.model.fields,field_description:pms.field_pms_property__street
@@ -11630,6 +11021,13 @@ msgstr ""
msgid "Technical field to know if the invoice is simplified"
msgstr "Campo técnico para saber si la factura está simplificada"
+#. module: pms
+#: model:ir.model.fields,help:pms.field_res_partner_id_number__vat_syncronized
+msgid ""
+"Technical field to know if vat partner is syncronized with this document"
+msgstr ""
+"Campo técnico para saber si el socio iva está sincronizado con este documento"
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__is_origin_channel_check_visible
msgid "Technical field to make visible update origin channel check"
@@ -11674,12 +11072,6 @@ msgstr ""
"Campo técnico. Usado para buscar e las tarifas, no se almacena en la base de "
"datos."
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__stock_move_ids
-#: model:ir.model.fields,help:pms.field_pms_room_type__stock_quant_ids
-msgid "Technical: used to compute quantities."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__note
msgid "Terms and conditions"
@@ -11694,11 +11086,6 @@ msgstr ""
"Gracias.\n"
" Su registro se ha realizado correctamente."
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__name
-msgid "The ID itself. For example, Driver License number of this person"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_reservation.py:0
#, python-format
@@ -11749,11 +11136,6 @@ msgstr "La cantidad que queda por pagar"
msgid "The amount that remains to be paid from folio"
msgstr "La cantidad que queda por pagar de la ficha"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__untaxed_amount_to_invoice
-msgid "The amount to invoice"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_folio_sale_line__untaxed_amount_invoiced
msgid "The amount to invoice without taxes in the line of folio"
@@ -11949,11 +11331,6 @@ msgstr "El nombre del canal de venta."
msgid "The name that identifies the room closure reason"
msgstr "El nombre que identifica el motivo de cierre de la sala"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__pos_order_count
-msgid "The number of point of sales orders related to this customer"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__total_rooms_count
msgid "The number of rooms in a room type"
@@ -12003,14 +11380,6 @@ msgstr ""
"El porcentaje de la cantidad a facturar por adelantado, tasas/impuestos "
"excluidos."
-#. module: pms
-#: code:addons/pms/models/pms_folio.py:0
-#, python-format
-msgid ""
-"The period to create this invoice is locked. Please contact your "
-"administrator to unlock it."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation_line__price
msgid "The price in a reservation line"
@@ -12108,18 +11477,6 @@ msgstr "El jefe de recepción en el folio"
msgid "The reference of the payment origin"
msgstr "La referencia del origen del pago"
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "The reservation must be canceled by action: action_cancel"
-msgstr ""
-
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "The reservation must be confirmed by action: action_confirm"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_reservation.py:0
#, python-format
@@ -12173,11 +11530,6 @@ msgstr ""
"en el botón 'Configurar variantes' para establecer los precios de los "
"atributos adicionales."
-#. module: pms
-#: model:ir.model.fields,help:pms.field_folio_sale_line__section_id
-msgid "The section of the folio sale line"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__folio_sequence_id
msgid "The sequence that formed the name of the folio."
@@ -12222,18 +11574,6 @@ msgstr ""
"El estado de las facturas en folio. Puede ser 'facturado', 'a_factura' o "
"'no'."
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__property_stock_customer
-msgid ""
-"The stock location used as destination when sending goods to this contact."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__property_stock_supplier
-msgid ""
-"The stock location used as source when receiving goods from this contact."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -12285,12 +11625,6 @@ msgstr "Actualmente no hay reservas en este folio para su cuenta."
msgid "There are no checkins to print"
msgstr "No hay checkins para imprimir"
-#. module: pms
-#: code:addons/pms/models/pms_reservation_line.py:0
-#, python-format
-msgid "There is no availability for the room type %s on %s"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_folio.py:0
#, python-format
@@ -12504,27 +11838,6 @@ msgstr ""
"Esta reserva forma parte de una reserva partida, puede intentar\n"
"\t\tunificar la reserva aquÃ"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__property_stock_production
-msgid ""
-"This stock location will be used, instead of the default one, as the source "
-"location for stock moves generated by manufacturing orders."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__property_stock_inventory
-msgid ""
-"This stock location will be used, instead of the default one, as the source "
-"location for stock moves generated when you do an inventory."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__responsible_id
-msgid ""
-"This user will be responsible of the next activities related to logistic "
-"operations for this product."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "This will update all unit prices based on the currently set pricelist."
@@ -12565,11 +11878,6 @@ msgstr "Hasta:"
msgid "To Assign"
msgstr "Por Asignar"
-#. module: pms
-#: model:ir.model.fields.selection,name:pms.selection__pms_folio__invoice_status__to_confirm
-msgid "To Confirm"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__invoice_status__to_invoice
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__invoice_status__to_invoice
@@ -12603,11 +11911,6 @@ msgstr "Para Enviar Correo de Salida"
msgid "To Send Modification Mail"
msgstr "Para Enviar Correo de Modificación"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__to_weight
-msgid "To Weigh With Scale"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
msgid "To be paid"
@@ -12705,13 +12008,6 @@ msgstr "Impuestos totales"
msgid "Total amount"
msgstr "Importe total"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Total amount\n"
-" (Reservation Card):"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "Total amount (Reservation Card):"
@@ -12778,11 +12074,6 @@ msgstr "Precio Total"
msgid "Track Service"
msgstr "Servicio de Seguimiento"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__tracking
-msgid "Tracking"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__transaction_ids
msgid "Transactions"
@@ -12857,26 +12148,6 @@ msgstr ""
msgid "Type of the exception activity on record."
msgstr "Tipo de actividad de excepcion/excepcional regsitrada./en un registro."
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your country here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your nationality here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your state here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your zip code here"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type_class__room_type_ids
msgid "Types"
@@ -12965,7 +12236,6 @@ msgstr "Nombre de unidad de medida"
#: model:pms.room.type,uom_name:pms.pms_room_type_conference_room
#: model:pms.room.type,uom_name:pms.pms_room_type_double
#: model:pms.room.type,uom_name:pms.pms_room_type_economic
-#: model:pms.room.type,uom_name:pms.pms_room_type_parking
#: model:pms.room.type,uom_name:pms.pms_room_type_quadruple
#: model:pms.room.type,uom_name:pms.pms_room_type_single
#: model:pms.room.type,uom_name:pms.pms_room_type_triple
@@ -12974,7 +12244,6 @@ msgstr "Nombre de unidad de medida"
#: model:product.product,uom_name:pms.pms_room_type_conference_room_product_product
#: model:product.product,uom_name:pms.pms_room_type_double_product_product
#: model:product.product,uom_name:pms.pms_room_type_economic_product_product
-#: model:product.product,uom_name:pms.pms_room_type_parking_product_product
#: model:product.product,uom_name:pms.pms_room_type_quadruple_product_product
#: model:product.product,uom_name:pms.pms_room_type_single_product_product
#: model:product.product,uom_name:pms.pms_room_type_triple_product_product
@@ -13052,6 +12321,12 @@ msgstr "Precio Único"
msgid "Update Sale Channel Origin"
msgstr "Actualización Canal Venta Origen"
+#. module: pms
+#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__invoice_status__upselling
+#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__invoice_status__upselling
+msgid "Upselling Opportunity"
+msgstr "Oportunidad de venta adiccional"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_res_company__url_advert
msgid "Url Advert"
@@ -13091,11 +12366,6 @@ msgstr "Utilizar para simplificar la factura"
msgid "Used Rooms"
msgstr "Habitaciones Usadas"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__is_used_in_checkin
-msgid "Used in checkin"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__shared_folio
msgid "Used to notify is the reservation folio has other reservations/services"
@@ -13103,18 +12373,6 @@ msgstr ""
"Se utiliza para notificar si la ficha de reservas tiene otras reservas/"
"servicios"
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_identification_type
-msgid ""
-"Used to specify an identification type to send to SII. Normally for sending "
-"national and export invoices to SII where the customer country is not Spain, "
-"it would calculate an identification type of 04 if the VAT field is filled "
-"and 06 if it was not. This field is to specify types of 03 through 05, in "
-"the event that the customer doesn't identify with a foreign VAT and instead "
-"with their passport or residential certificate. If there is no value it will "
-"work as before."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_team_member__user_id
msgid "User Member"
@@ -13155,11 +12413,6 @@ msgstr "Fecha de inicio del perÃodo de validación."
msgid "Value"
msgstr "Valor"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__value_svl
-msgid "Value Svl"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__image_variant_1920
msgid "Variant Image"
@@ -13195,6 +12448,11 @@ msgstr "Precio de variante extra"
msgid "Variant Seller"
msgstr "Vendedor de variantes"
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__vat_syncronized
+msgid "Vat Syncronized"
+msgstr "Recipiente Sincronizado"
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
msgid "Vendor Bill"
@@ -13205,11 +12463,6 @@ msgstr "Factura de Vendedor"
msgid "Vendor Credit Note"
msgstr "Nota de Crédito de Vendedor"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__property_stock_supplier
-msgid "Vendor Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__property_supplier_payment_term_id
msgid "Vendor Payment Terms"
@@ -13247,11 +12500,6 @@ msgstr "Volumen"
msgid "Volume unit of measure label"
msgstr "Etiqueta de unidad de medida de volumen"
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__warehouse_id
-msgid "Warehouse"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_service.py:0
#, python-format
@@ -13337,13 +12585,6 @@ msgstr ""
"No puede crear un nuevo folio porque ya hay habitaciones ocupadas.\n"
" Por favor, compruebe las habitaciones marcadas en rojo e inténtelo de nuevo."
-#. module: pms
-#: code:addons/pms/models/folio_sale_line.py:0
-#, python-format
-msgid ""
-"You cannot delete a sale order line once a invoice has been created from it."
-msgstr ""
-
#. module: pms
#: model:ir.model.constraint,message:pms.constraint_pms_room_room_property_unique
msgid ""
@@ -13360,14 +12601,6 @@ msgstr ""
"No puede tener más de una habitación con el mismo nombre corto en la misma "
"propiedad"
-#. module: pms
-#: code:addons/pms/models/folio_sale_line.py:0
-#, python-format
-msgid ""
-"You cannot reduce the invoiced quantity below\n"
-" the quantity already invoiced."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -13458,6 +12691,7 @@ msgstr "Código Postal"
#: model:ir.model.fields,field_description:pms.field_pms_property__zip
#: model:ir.model.fields,field_description:pms.field_res_partner__zip
#: model:ir.model.fields,field_description:pms.field_res_users__zip
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
msgid "Zip"
msgstr "Código Postal"
@@ -13538,11 +12772,6 @@ msgstr "ciudad de residencia"
msgid "close"
msgstr "Cerrar"
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_folio
-msgid "completed"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -13612,12 +12841,27 @@ msgstr ""
msgid "mobile"
msgstr "móvil"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "of"
+msgstr "de"
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.reservation_wizard
msgid "or"
msgstr "o"
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "partner "
+msgstr "socio "
+
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "partner data to remain to be covered"
+msgstr "datos de los socios que deben seguir cubiertos"
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__partner_incongruences
#: model:ir.model.fields,field_description:pms.field_pms_folio__partner_incongruences
@@ -13657,185 +12901,6 @@ msgstr ""
" puede seleccionarlo en el asistente de "
"facturación"
-#~ msgid " Pending"
-#~ msgstr " Pendiente"
-
-#~ msgid "Additional info"
-#~ msgstr "Información adicional"
-
-#~ msgid "Availability rules"
-#~ msgstr "Reglas de Disponibilidad"
-
-#~ msgid "Birth Date"
-#~ msgstr "Fecha de Nacimiento"
-
-#~ msgid "Blacklisted Phone Is Mobile"
-#~ msgstr "El teléfono en la lista negra es un móvil"
-
-#~ msgid "Blacklisted Phone is Phone"
-#~ msgstr "El teléfono en la lista negra es un teléfono fijo"
-
-#~ msgid "Company database ID"
-#~ msgstr "ID de la base de datos de la empresa"
-
-#~ msgid "Covering"
-#~ msgstr "Cubriendo"
-
-#, python-format
-#~ msgid ""
-#~ "Daily Plan must have fixed price, only one property and its items must be "
-#~ "daily"
-#~ msgstr ""
-#~ "El Plan Diario debe tener precio fijo, sólo una propiedad y sus artÃculos "
-#~ "deben ser diarios"
-
-#~ msgid "Days"
-#~ msgstr "DÃas"
-
-#~ msgid "Doc. Expedition Date/Doc. Validity Date"
-#~ msgstr "Doc. Fecha de expedición/Doc. Fecha de validez"
-
-#~ msgid "Doc. Number"
-#~ msgstr "Doc. Número"
-
-#~ msgid "Doc. Type"
-#~ msgstr "Doc. Tipo"
-
-#, python-format
-#~ msgid "Error in autoinvoicing folio: "
-#~ msgstr "Error en folio de autofacturación: "
-
-#, python-format
-#~ msgid "Error in autoinvoicing invoice: "
-#~ msgstr "Error en la autofacturación de la factura: "
-
-#~ msgid "Expedition date"
-#~ msgstr "Fecha de expedición"
-
-#~ msgid ""
-#~ "Field used to store sanitized phone number. Helps speeding up searches "
-#~ "and comparisons."
-#~ msgstr ""
-#~ "Campo utilizado para almacenar el número de teléfono saneado. Ayuda a "
-#~ "acelerar las búsquedas y las comparaciones."
-
-#~ msgid ""
-#~ "If the sanitized phone number is on the blacklist, the contact won't "
-#~ "receive mass mailing sms anymore, from any list"
-#~ msgstr ""
-#~ "Si el número de teléfono saneado está en la lista negra, el contacto no "
-#~ "recibirá más sms de envÃo masivo, de ninguna lista"
-
-#~ msgid ""
-#~ "Indicates if a blacklisted sanitized phone number is a mobile number. "
-#~ "Helps distinguish which number is blacklisted when there is "
-#~ "both a mobile and phone field in a model."
-#~ msgstr ""
-#~ "Indica si un número de teléfono saneado de la lista negra es un número de "
-#~ "móvil. Ayuda a distinguir qué número está en la lista "
-#~ "negra cuando hay tanto un campo de móvil "
-#~ "como de teléfono en un modelo."
-
-#~ msgid ""
-#~ "Indicates if a blacklisted sanitized phone number is a phone number. "
-#~ "Helps distinguish which number is blacklisted when there is "
-#~ "both a mobile and phone field in a model."
-#~ msgstr ""
-#~ "Indica si un número de teléfono saneado de la lista negra es un número de "
-#~ "teléfono. Ayuda a distinguir qué número está en la lista "
-#~ "negra cuando hay tanto un campo de móvil "
-#~ "como de teléfono en un modelo."
-
-#~ msgid "Invoice Status; it can be: upselling, invoiced, to invoice, no"
-#~ msgstr ""
-#~ "Estado de la factura; puede ser: upselling, facturado, a facturar, no"
-
-#, python-format
-#~ msgid ""
-#~ "It is forbidden to modify the following fields\n"
-#~ " in a locked folio (fields already invoiced):\n"
-#~ "%s"
-#~ msgstr ""
-#~ "Está prohibido modificar los siguientes campos\n"
-#~ " en un folio bloqueado (campos ya facturados):\n"
-#~ "%s"
-
-#, python-format
-#~ msgid "Journal %s is not allowed to be used for normal invoices"
-#~ msgstr "El diario %s no puede utilizarse para facturas normales"
-
-#~ msgid "Lastname"
-#~ msgstr "Apellidos"
-
-#~ msgid "Name* "
-#~ msgstr "Nombre* "
-
-#, python-format
-#~ msgid "Not invoiced due to pending amounts"
-#~ msgstr "No facturado debido a importes pendientes"
-
-#~ msgid "Page"
-#~ msgstr "Página"
-
-#~ msgid "Phone Blacklisted"
-#~ msgstr "Teléfono en la lista negra"
-
-#~ msgid "Property Ubications"
-#~ msgstr "Zonas del Hotel"
-
-#~ msgid "Property settings summary"
-#~ msgstr "Resumen de la configuración del Hotel"
-
-#~ msgid "Related Company"
-#~ msgstr "CompañÃa relacionada"
-
-#~ msgid "Room Occupied"
-#~ msgstr "Habitación Ocupada"
-
-#~ msgid "SMS Delivery error"
-#~ msgstr "Error Entrega SMS"
-
-#~ msgid "Sanitized Number"
-#~ msgstr "Número Saneado"
-
-#~ msgid ""
-#~ "Save and Continue\n"
-#~ " "
-#~ msgstr ""
-#~ "Guardar y continuar\n"
-#~ " "
-
-#~ msgid "Select an option"
-#~ msgstr "Seleccione una opción"
-
-#~ msgid "Service By Day"
-#~ msgstr "Servicio por dÃa"
-
-#~ msgid "Spanish Residence permit"
-#~ msgstr "Permiso de residencia Español"
-
-#~ msgid ""
-#~ "Technical field to know if vat partner is syncronized with this document"
-#~ msgstr ""
-#~ "Campo técnico para saber si el socio iva está sincronizado con este "
-#~ "documento"
-
-#~ msgid "Upselling Opportunity"
-#~ msgstr "Oportunidad de venta adiccional"
-
-#~ msgid "Vat Syncronized"
-#~ msgstr "Recipiente Sincronizado"
-
-#~ msgid "of"
-#~ msgstr "de"
-
-#~ msgid "partner "
-#~ msgstr "socio "
-
-#~ msgid "partner data to remain to be covered"
-#~ msgstr "datos de los socios que deben seguir cubiertos"
-
#~ msgid ""
#~ ". \n"
#~ " Your check-in has been successful."
@@ -13987,6 +13052,12 @@ msgstr ""
#~ msgstr ""
#~ "Solo se permite si el campo del canal de venta channel_type es 'direct'"
+#~ msgid ""
+#~ "Property with access to the element; if not set, all properties can access"
+#~ msgstr ""
+#~ "Propiedad con acceso al elemento; si no se establece, todas las "
+#~ "propiedades pueden acceder"
+
#~ msgid "Related customer with Folio Sale Line"
#~ msgstr "Cliente relacionado con Folio Sale Line"
diff --git a/pms/i18n/pms.pot b/pms/i18n/pms.pot
index c556b49b086..7e4ad81173d 100644
--- a/pms/i18n/pms.pot
+++ b/pms/i18n/pms.pot
@@ -159,14 +159,6 @@ msgid ""
" Do your check-in now and save time."
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-" \n"
-" \n"
-" CategorÃa:"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
msgid "Days: "
@@ -253,6 +245,11 @@ msgstr ""
msgid " Paid"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_folio_page_payment
+msgid " Pending"
+msgstr ""
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.folio_portal_template
msgid "Send message "
@@ -275,16 +272,6 @@ msgstr ""
msgid " OverBooking"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
-msgid " Reselling"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Select an option "
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Status: "
@@ -328,13 +315,6 @@ msgid ""
"type.\"/>"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_precheckin
-msgid ""
-" \n"
-" Send Invitations"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_folio_invitations
msgid ""
@@ -401,97 +381,6 @@ msgid ""
" Total Price "
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Birthdate cannot "
-"be older than today "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Residence City is a "
-"required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Doc. Expedition "
-"or Validate date is a required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Doc. Number is a required field \n"
-" Doc. Number Format is wrong "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Doc. Type is a"
-" required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Email format is "
-"incorrect "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Gender is a required "
-"field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Lastname is a "
-"required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Firstname is a required"
-" field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"If the nationality is Spanish, a second lastname must be provided \n"
-" Nationality is a required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"If the "
-"nationality is Spanish, a second lastname must be provided "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Residence Address is "
-"a required field "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid ""
-"Zip is a required "
-"field "
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_folio_invitations
msgid ""
@@ -499,16 +388,6 @@ msgid ""
"Email"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_reservation
-msgid " Complete data "
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_reservation
-msgid " Incomplete data "
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.booking_duplicate
msgid ""
@@ -1118,16 +997,6 @@ msgstr ""
msgid "A transaction can't be linked to folios having different partners."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_anonymous_cash_customer
-msgid "AEAT - Anonymous customer"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_identification_type
-msgid "AEAT Identification type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__user_ids
msgid "Accepted Users"
@@ -1265,6 +1134,11 @@ msgstr ""
msgid "Add to Folio"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__additional_info
+msgid "Additional info"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__mail_information
msgid "Additional information of the mail"
@@ -1291,20 +1165,11 @@ msgid "Administrative Manager"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__adults
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__adults
#: model:ir.model.fields,field_description:pms.field_pms_reservation__adults
#: model:ir.model.fields,field_description:pms.field_pms_reservation_duplicate__adults
msgid "Adults"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_board_service_line.py:0
-#: code:addons/pms/models/pms_board_service_room_type_line.py:0
-#, python-format
-msgid "Adults or Children must be checked"
-msgstr ""
-
#. module: pms
#: model:ir.actions.act_window,name:pms.action_advanced_filters_wizard
#: model:ir.ui.menu,name:pms.menu_pms_advanced_filters
@@ -1316,11 +1181,6 @@ msgstr ""
msgid "Advanced filters"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__aeat_identification
-msgid "Aeat Identification"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__product_template__consumed_on__after
msgid "After night"
@@ -1567,11 +1427,6 @@ msgstr ""
msgid "Amount to be consumed per day"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_folio__untaxed_amount_to_invoice
-msgid "Amount to invoice"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "Amounts"
@@ -1583,20 +1438,10 @@ msgid "Analytic Account"
msgstr ""
#. module: pms
-#: model:ir.model,name:pms.model_account_analytic_distribution
-msgid "Analytic Account Distribution"
-msgstr ""
-
-#. module: pms
-#: model:ir.model,name:pms.model_account_analytic_line
-msgid "Analytic Line"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_folio_sale_line__analytic_tag_ids
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__analytic_tag_ids
-#: model:ir.model.fields,field_description:pms.field_pms_service__analytic_tag_ids
-msgid "Analytic Tags"
+#: model:ir.model.fields,field_description:pms.field_folio_sale_line__analytic_distribution_ids
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__analytic_distribution_ids
+#: model:ir.model.fields,field_description:pms.field_pms_service__analytic_distribution_ids
+msgid "Analytic Distribution"
msgstr ""
#. module: pms
@@ -1767,18 +1612,6 @@ msgstr ""
msgid "Apply pricelists on"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_line__adults
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__adults
-msgid "Apply service to adults"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_line__children
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__children
-msgid "Apply service to children"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__state__arrival_delayed
msgid "Arrival Delayed"
@@ -1887,6 +1720,7 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__autoinvoice_date
+#: model:ir.model.fields,field_description:pms.field_pms_folio__autoinvoice_date
msgid "Autoinvoice Date"
msgstr ""
@@ -1955,6 +1789,7 @@ msgstr ""
#. module: pms
#: model:ir.ui.menu,name:pms.reservation_availability_plan_rules_menu
#: model_terms:ir.ui.view,arch_db:pms.availability_plan_rule_view_form
+#: model_terms:ir.ui.view,arch_db:pms.availability_view_tree
msgid "Availability Plans"
msgstr ""
@@ -1970,6 +1805,11 @@ msgstr ""
msgid "Availability Rules"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.availability_plan_rule_view_tree
+msgid "Availability rules"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_product_pricelist__pms_sale_channel_ids
msgid "Available Channels"
@@ -1980,11 +1820,6 @@ msgstr ""
msgid "Available in PMS"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__available_in_pos
-msgid "Available in POS"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio_availability_wizard__num_rooms_available
msgid "Available rooms"
@@ -2076,7 +1911,7 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Birth Date *"
+msgid "Birth Date"
msgstr ""
#. module: pms
@@ -2094,15 +1929,13 @@ msgid "Blacklist"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__blocked
-msgid "Blocked"
+#: model:ir.model.fields,field_description:pms.field_pms_property__mobile_blacklisted
+msgid "Blacklisted Phone Is Mobile"
msgstr ""
#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#: code:addons/pms/models/pms_reservation_line.py:0
-#, python-format
-msgid "Blocked reservations can't be modified"
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_blacklisted
+msgid "Blacklisted Phone is Phone"
msgstr ""
#. module: pms
@@ -2125,17 +1958,11 @@ msgid "Board Service Code"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_service__board_service_line_id
#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_form
#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_room_type_form
msgid "Board Service Line"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_service__board_service_line_id
-msgid "Board Service Line in which this service is included"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_board_service__board_service_line_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__board_service_line_ids
@@ -2197,6 +2024,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_room_type__board_service_room_type_ids
#: model:ir.model.fields.selection,name:pms.selection__pms_massive_changes_wizard__apply_pricelists_on__board_services
#: model:ir.ui.menu,name:pms.menu_open_pms_board_service_form_tree
+#: model_terms:ir.ui.view,arch_db:pms.pms_board_service_view_tree
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_search
msgid "Board Services"
@@ -2307,32 +2135,16 @@ msgstr ""
msgid "Cancel"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__cancel_datetime
-msgid "Cancel Date"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Cancel Folio"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "Cancel Penalty"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "Cancel Reservation"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_company__cancel_penalty_product_id
-msgid "Cancel penalty product"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_service_line__cancel_discount
msgid "Cancelation Discount"
@@ -2363,6 +2175,7 @@ msgstr ""
#: model:ir.model,name:pms.model_pms_cancelation_rule
#: model:ir.ui.menu,name:pms.menu_pms_cancelation_rule
#: model_terms:ir.ui.view,arch_db:pms.pms_cancelation_rule_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_cancelation_rule_view_tree
msgid "Cancelation Rules"
msgstr ""
@@ -2423,21 +2236,6 @@ msgstr ""
msgid "Cash Payments"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__category_id
-msgid "Category"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__route_from_categ_ids
-msgid "Category Routes"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__pos_categ_id
-msgid "Category used in the Point of Sale."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__cancelled_reason
msgid "Cause of cancelled"
@@ -2445,7 +2243,6 @@ msgstr ""
#. module: pms
#: model:ir.model,name:pms.model_room_closure_reason
-#: model:ir.model.fields,field_description:pms.field_pms_folio__out_service_description
#: model:ir.model.fields,field_description:pms.field_pms_reservation__out_service_description
msgid "Cause of out of service"
msgstr ""
@@ -2493,23 +2290,11 @@ msgstr ""
msgid "Check if the contact is a company, otherwise it is a person"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__to_weight
-msgid ""
-"Check if the product should be weighted using the hardware scale "
-"integration."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation_duplicate__occupied_room
msgid "Check if the room is occupied"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__available_in_pos
-msgid "Check if you want this product to appear in the Point of Sale."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_res_company__check_min_partner_data_invoice
msgid "Check minimum partner data for invoices"
@@ -2527,11 +2312,6 @@ msgstr ""
msgid "Check this box if this contact is an Employee."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_anonymous_cash_customer
-msgid "Check this for anonymous cash customer. AEAT communication"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
msgid "Check-in hours"
@@ -2661,13 +2441,6 @@ msgstr ""
msgid "Checkin partner name"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__sii_simplified_invoice
-msgid ""
-"Checking this mark, invoices done to this partner will be sent to SII as "
-"simplified invoices."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_folio.py:0
#: model:ir.actions.act_window,name:pms.action_checkin_partner
@@ -2735,11 +2508,6 @@ msgstr ""
msgid "Child Avails"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__child_ids
-msgid "Child Properties"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__child_ids
msgid "Child Rooms"
@@ -2756,8 +2524,6 @@ msgid "Child rooms of the room"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__children
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__children
#: model:ir.model.fields,field_description:pms.field_pms_reservation__children
msgid "Children"
msgstr ""
@@ -2933,6 +2699,11 @@ msgstr ""
msgid "Company Type"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__partner_gid
+msgid "Company database ID"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_product_pricelist__company_id
msgid "Company to which the pricelist belongs"
@@ -3029,6 +2800,7 @@ msgstr ""
#. module: pms
#: model:ir.model,name:pms.model_res_partner
+#: model:ir.model.fields,field_description:pms.field_pms_property__child_ids
#: model_terms:ir.ui.view,arch_db:pms.folio_portal_template
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Contact"
@@ -3059,50 +2831,28 @@ msgstr ""
msgid "Cost Currency"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__cost_method
-msgid "Costing Method"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__payment_token_count
msgid "Count Payment Token"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__count_alternative_free_rooms
-msgid "Count alternative free rooms"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__message_bounce
msgid "Counter of the number of bounced emails for this contact"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__country_ids
-msgid "Countries"
-msgstr ""
-
-#. module: pms
-#: model:ir.model,name:pms.model_res_country
#: model:ir.model.fields,field_description:pms.field_pms_property__country_id
#: model:ir.model.fields,field_description:pms.field_res_partner__country_id
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__country_id
#: model:ir.model.fields,field_description:pms.field_res_users__country_id
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "Country"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/res_partner_id_number.py:0
-#, python-format
-msgid "Country is not allowed for this document type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__residence_country_id
#: model:ir.model.fields,field_description:pms.field_pms_property__residence_country_id
@@ -3112,14 +2862,13 @@ msgid "Country of residence"
msgstr ""
#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__document_country_id
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__country_id
-msgid "Country of the document"
+#: model:ir.model.fields,help:pms.field_pms_checkin_partner__residence_country_id
+msgid "Country of the guest's residence"
msgstr ""
#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__residence_country_id
-msgid "Country of the guest's residence"
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Covering"
msgstr ""
#. module: pms
@@ -3139,11 +2888,6 @@ msgstr ""
msgid "Create Invoice"
msgstr ""
-#. module: pms
-#: model_terms:ir.actions.act_window,help:pms.action_pms_move_out_invoice_type
-msgid "Create a customer invoice"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.booking_duplicate
msgid "Create and Close"
@@ -3184,13 +2928,6 @@ msgstr ""
msgid "Create invoices"
msgstr ""
-#. module: pms
-#: model_terms:ir.actions.act_window,help:pms.action_pms_move_out_invoice_type
-msgid ""
-"Create invoices, register payments and keep track of the discussions with "
-"your customers."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
@@ -3341,16 +3078,6 @@ msgstr ""
msgid "Current property"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__qty_available
-msgid ""
-"Current quantity of products.\n"
-"In a context with a single Stock Location, this includes goods stored at this Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n"
-"stored in the Stock Location of the Warehouse of this Shop, or any of its children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' type."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Current state of this reservation"
@@ -3374,16 +3101,6 @@ msgstr ""
msgid "Customer E-mail"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__sale_delay
-msgid "Customer Lead Time"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__property_stock_customer
-msgid "Customer Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_folio__mobile
#: model:ir.model.fields,help:pms.field_pms_reservation__mobile
@@ -3437,6 +3154,14 @@ msgstr ""
msgid "Daily Plan"
msgstr ""
+#. module: pms
+#: code:addons/pms/models/product_pricelist.py:0
+#, python-format
+msgid ""
+"Daily Plan must have fixed price, only one property and its items must be "
+"daily"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__daily_limit
#: model:ir.model.fields,field_description:pms.field_product_product__daily_limit
@@ -3478,11 +3203,6 @@ msgstr ""
msgid "Date Reservation starts "
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__sign_on
-msgid "Date and time of the signature"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability__date
msgid "Date for which availability applies"
@@ -3518,11 +3238,6 @@ msgstr ""
msgid "Date types"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__cancel_datetime
-msgid "Date when the reservation was cancelled"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__wizard_folio_changes__modification_type__dates
msgid "Dates"
@@ -3533,6 +3248,13 @@ msgstr ""
msgid "Dates incrongruence"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_tree
+msgid "Days"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_cancelation_rule__days_intime
msgid "Days Late"
@@ -3640,13 +3362,6 @@ msgstr ""
msgid "Degree of trust you have in this debtor"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__sale_delay
-msgid ""
-"Delivery lead time, in days. It's the number of days, promised to the "
-"customer, between the confirmation of the sales order and the delivery."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__default_departure_hour
#: model:ir.model.fields,field_description:pms.field_pms_reservation__departure_hour
@@ -3670,14 +3385,6 @@ msgstr ""
msgid "Departure delayed"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__route_ids
-msgid ""
-"Depending on the modules installed, this will allow you to define the route "
-"of the product: whether it will be bought, manufactured, replenished on "
-"order, etc."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__name
#: model:ir.model.fields,field_description:pms.field_pms_room_type__description
@@ -3691,21 +3398,6 @@ msgstr ""
msgid "Description of folio sale line"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_pickingout
-msgid "Description on Delivery Orders"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_picking
-msgid "Description on Picking"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__description_pickingin
-msgid "Description on Receptions"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_form
@@ -3829,8 +3521,6 @@ msgid "Discount that be applied in total price"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__display_name
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__display_name
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__display_name
#: model:ir.model.fields,field_description:pms.field_account_journal__display_name
@@ -3884,10 +3574,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_product_product__display_name
#: model:ir.model.fields,field_description:pms.field_product_template__display_name
#: model:ir.model.fields,field_description:pms.field_res_company__display_name
-#: model:ir.model.fields,field_description:pms.field_res_country__display_name
#: model:ir.model.fields,field_description:pms.field_res_partner__display_name
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__display_name
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__display_name
#: model:ir.model.fields,field_description:pms.field_res_users__display_name
#: model:ir.model.fields,field_description:pms.field_room_closure_reason__display_name
@@ -3903,43 +3590,37 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Expedition Date/Doc. Validity Date *"
+msgid "Doc. Expedition Date/Doc. Validity Date"
msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Number *"
+msgid "Doc. Number"
msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Doc. Type *"
+msgid "Doc. Type"
msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_id
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_id
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_id
msgid "Document"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Document\n"
-" number"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_country_id
-msgid "Document Country"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_number
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_number
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_number
msgid "Document Number"
msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_type
+#: model:ir.model.fields,field_description:pms.field_pms_folio__document_type
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__document_type
msgid "Document Type"
msgstr ""
@@ -3958,12 +3639,6 @@ msgstr ""
msgid "Document partner required"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_checkin_partner.py:0
-#, python-format
-msgid "Document type and country of document do not match"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
#, python-format
@@ -4159,11 +3834,6 @@ msgstr ""
msgid "End date to apply daily pricelist items"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__tracking
-msgid "Ensure the traceability of a storable product in your warehouse."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__arrival
msgid "Enter"
@@ -4174,6 +3844,18 @@ msgstr ""
msgid "Entry date"
msgstr ""
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Error in autoinvoicing folio: "
+msgstr ""
+
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Error in autoinvoicing invoice: "
+msgstr ""
+
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
#, python-format
@@ -4215,15 +3897,13 @@ msgid "Exit date"
msgstr ""
#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Expedition\n"
-" date"
+#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_expedition_date
+msgid "Expedition Date"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__document_expedition_date
-msgid "Expedition Date"
+#: model_terms:ir.ui.view,arch_db:pms.traveller_report
+msgid "Expedition date"
msgstr ""
#. module: pms
@@ -4369,6 +4049,13 @@ msgstr ""
msgid "Field used to create the name of the checkin partner"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_sanitized
+msgid ""
+"Field used to store sanitized phone number. Helps speeding up searches and "
+"comparisons."
+msgstr ""
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.advanced_filters_wizard
msgid "Filters"
@@ -4429,6 +4116,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_wizard_payment_folio__folio_id
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_tree
msgid "Folio"
msgstr ""
@@ -4653,29 +4341,6 @@ msgstr ""
msgid "Force no invoice"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__virtual_available
-msgid "Forecast Quantity"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__virtual_available
-msgid ""
-"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n"
-"In a context with a single Stock Location, this includes goods stored in this location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' type."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__free_qty
-msgid ""
-"Forecast quantity (computed as Quantity On Hand - reserved quantity)\n"
-"In a context with a single Stock Location, this includes goods stored in this location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods stored in any Stock Location with 'internal' type."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_property.py:0
#: code:addons/pms/models/pms_reservation.py:0
@@ -4718,11 +4383,6 @@ msgstr ""
msgid "Free Bar"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__free_qty
-msgid "Free To Use Quantity "
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.wizard_folio_changes_view_form
@@ -4769,15 +4429,11 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
#: model:ir.model.fields,field_description:pms.field_pms_property__gender
#: model:ir.model.fields,field_description:pms.field_res_partner__gender
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "Gender"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Gender *"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -4950,11 +4606,6 @@ msgstr ""
msgid "History"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_reservation
-msgid "Host"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_checkin_partner__document_number
msgid "Host document number"
@@ -4973,8 +4624,6 @@ msgid "Hosts"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__id
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__id
#: model:ir.model.fields,field_description:pms.field_account_journal__id
@@ -5028,10 +4677,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_product_product__id
#: model:ir.model.fields,field_description:pms.field_product_template__id
#: model:ir.model.fields,field_description:pms.field_res_company__id
-#: model:ir.model.fields,field_description:pms.field_res_country__id
#: model:ir.model.fields,field_description:pms.field_res_partner__id
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__id
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__id
#: model:ir.model.fields,field_description:pms.field_res_users__id
#: model:ir.model.fields,field_description:pms.field_room_closure_reason__id
@@ -5040,16 +4686,6 @@ msgstr ""
msgid "ID"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__name
-msgid "ID Number"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__category_id
-msgid "ID type defined in configuration. For example, Driver License"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__im_status
msgid "IM Status"
@@ -5088,11 +4724,6 @@ msgstr ""
msgid "Identification code for a room type"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_identification
-msgid "Identification for AEAT purposes"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__identifier
msgid "Identifier"
@@ -5121,10 +4752,15 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_checkin_partner__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_checkin_partner__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_folio__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_folio__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_property__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_property__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_reservation__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_reservation__message_has_sms_error
#: model:ir.model.fields,help:pms.field_pms_room_type__message_has_error
+#: model:ir.model.fields,help:pms.field_pms_room_type__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""
@@ -5160,6 +4796,13 @@ msgid ""
"plan"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_sanitized_blacklisted
+msgid ""
+"If the sanitized phone number is on the blacklist, the contact won't receive"
+" mass mailing sms anymore, from any list"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_res_company__document_partner_required
msgid ""
@@ -5193,13 +4836,6 @@ msgid ""
"will be made automatically."
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_precheckin
-msgid ""
-"If you wish, you can share with the rest of the guests the access to their "
-"check-in so that they can fill it out. "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__image_128
#: model:ir.model.fields,field_description:pms.field_pms_property__image_1920
@@ -5231,11 +4867,6 @@ msgstr ""
msgid "Image 512"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__logo
-msgid "Image in checkin"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service__product_image
msgid "Image of the service"
@@ -5277,11 +4908,6 @@ msgstr ""
msgid "Income Account"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__incoming_qty
-msgid "Incoming"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_checkin_partner__state__draft
msgid "Incomplete data"
@@ -5297,11 +4923,6 @@ msgstr ""
msgid "Indicate if exists overbooking in the reservation line"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__is_reselling
-msgid "Indicate if exists reselling in any reservation line"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability_plan_rule__closed
msgid "Indicate if property is closed or not"
@@ -5319,6 +4940,22 @@ msgstr ""
msgid "Indicates how much products can consumed in one day"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__mobile_blacklisted
+msgid ""
+"Indicates if a blacklisted sanitized phone number is a mobile number. Helps "
+"distinguish which number is blacklisted when there is both a "
+"mobile and phone field in a model."
+msgstr ""
+
+#. module: pms
+#: model:ir.model.fields,help:pms.field_pms_property__phone_blacklisted
+msgid ""
+"Indicates if a blacklisted sanitized phone number is a phone number. Helps "
+"distinguish which number is blacklisted when there is both a "
+"mobile and phone field in a model."
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__invoice_to_agency
#: model:ir.model.fields,help:pms.field_res_partner__invoice_to_agency
@@ -5373,16 +5010,6 @@ msgstr ""
msgid "Indicates if the partner is an agency"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation__blocked
-msgid "Indicates if the reservation is blocked"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_reservation_line__is_reselling
-msgid "Indicates if the reservation line is reselling"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_sale_channel__is_on_line
msgid "Indicates if the sale channel is on-line"
@@ -5395,11 +5022,6 @@ msgid ""
"service"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_service__is_cancel_penalty
-msgid "Indicates if the service is a cancel penalty"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service__is_board_service
msgid "Indicates if the service is part of a board service"
@@ -5441,7 +5063,6 @@ msgid "Indicates that this room is a child of another room"
msgstr ""
#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__out_service_description
#: model:ir.model.fields,help:pms.field_pms_reservation__out_service_description
msgid "Indicates the cause of out of service"
msgstr ""
@@ -5626,16 +5247,6 @@ msgstr ""
msgid "Invalid token found! Token partner %s != %s"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__property_stock_inventory
-msgid "Inventory Location"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__valuation
-msgid "Inventory Valuation"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_folio_invitations
msgid "Invitation email sent"
@@ -5688,12 +5299,8 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,help:pms.field_folio_sale_line__invoice_status
-msgid "Invoice Status; it can be: invoiced, to invoice, no"
-msgstr ""
-
-#. module: pms
#: model:ir.model.fields,help:pms.field_pms_folio__invoice_status
-msgid "Invoice Status; it can be: invoiced, to invoice, to confirm, no"
+msgid "Invoice Status; it can be: upselling, invoiced, to invoice, no"
msgstr ""
#. module: pms
@@ -5785,11 +5392,6 @@ msgstr ""
msgid "Is Board Service"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_service__is_cancel_penalty
-msgid "Is Cancel Penalty"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_is_follower
#: model:ir.model.fields,field_description:pms.field_pms_folio__message_is_follower
@@ -5899,7 +5501,7 @@ msgstr ""
#, python-format
msgid ""
"It is forbidden to modify the following fields\n"
-" in a locked folio (fields already invoiced):\n"
+" in a locked folio (fields already invoiced):\n"
"%s"
msgstr ""
@@ -5974,6 +5576,12 @@ msgstr ""
msgid "Journal"
msgstr ""
+#. module: pms
+#: code:addons/pms/models/pms_property.py:0
+#, python-format
+msgid "Journal %s is not allowed to be used for normal invoices"
+msgstr ""
+
#. module: pms
#: model:ir.model,name:pms.model_account_move
#: model:ir.model.fields,field_description:pms.field_account_move_line__move_id
@@ -6031,26 +5639,17 @@ msgid "Label"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_folio__lang
#: model:ir.model.fields,field_description:pms.field_pms_property__lang
#: model:ir.model.fields,field_description:pms.field_pms_reservation__lang
-#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Language"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__lang
-msgid "Language used for the folio"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__last_checkout
msgid "Last Folio Checkout"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution____last_update
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:pms.field_account_bank_statement____last_update
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line____last_update
#: model:ir.model.fields,field_description:pms.field_account_journal____last_update
@@ -6104,10 +5703,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_product_product____last_update
#: model:ir.model.fields,field_description:pms.field_product_template____last_update
#: model:ir.model.fields,field_description:pms.field_res_company____last_update
-#: model:ir.model.fields,field_description:pms.field_res_country____last_update
#: model:ir.model.fields,field_description:pms.field_res_partner____last_update
-#: model:ir.model.fields,field_description:pms.field_res_partner_category____last_update
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:pms.field_res_partner_id_number____last_update
#: model:ir.model.fields,field_description:pms.field_res_users____last_update
#: model:ir.model.fields,field_description:pms.field_room_closure_reason____last_update
@@ -6224,7 +5820,7 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Lastname *"
+msgid "Lastname"
msgstr ""
#. module: pms
@@ -6297,21 +5893,11 @@ msgstr ""
msgid "List of amenities included in room type"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__location_id
-msgid "Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__state__done
msgid "Locked"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_sale_channel__icon
-msgid "Logo"
-msgstr ""
-
#. module: pms
#: model:product.product,name:pms.pms_service_lunch
#: model:product.template,name:pms.pms_service_lunch_product_template
@@ -6367,14 +5953,6 @@ msgstr ""
msgid "Manual"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__valuation
-msgid ""
-"Manual: The accounting entries to value the inventory are not posted automatically.\n"
-" Automated: An accounting entry is automatically created to value the inventory when a product enters or leaves the company.\n"
-" "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__service_type
msgid ""
@@ -6541,11 +6119,6 @@ msgstr ""
msgid "Message for Sales Order Line"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__picking_warn_msg
-msgid "Message for Stock Picking"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_ids
#: model:ir.model.fields,field_description:pms.field_pms_folio__message_ids
@@ -6560,11 +6133,6 @@ msgstr ""
msgid "Microwave oven"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__min_price
-msgid "Min. Price"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_massive_changes_wizard__min_quantity
msgid "Min. Quantity"
@@ -6594,16 +6162,6 @@ msgstr ""
msgid "Min. Stay can't be less than zero"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__orderpoint_ids
-msgid "Minimum Stock Rules"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__min_price
-msgid "Minimum price for a room type"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability_plan_rule__min_stay
msgid "Minimum stay"
@@ -6651,11 +6209,6 @@ msgstr ""
msgid "Modification email template"
msgstr ""
-#. module: pms
-#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__cancelled_reason__modified
-msgid "Modified"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.wizard_folio_changes_view_form
@@ -6741,7 +6294,7 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Name * "
+msgid "Name* "
msgstr ""
#. module: pms
@@ -6749,12 +6302,8 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_property__nationality_id
#: model:ir.model.fields,field_description:pms.field_res_partner__nationality_id
#: model:ir.model.fields,field_description:pms.field_res_users__nationality_id
-msgid "Nationality"
-msgstr ""
-
-#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Nationality *"
+msgid "Nationality"
msgstr ""
#. module: pms
@@ -6764,6 +6313,8 @@ msgstr ""
#. module: pms
#: code:addons/pms/models/pms_checkin_partner.py:0
+#: code:addons/pms/models/pms_checkin_partner.py:0
+#: code:addons/pms/models/pms_checkin_partner.py:0
#: code:addons/pms/models/pms_folio.py:0 code:addons/pms/models/pms_folio.py:0
#: code:addons/pms/models/pms_folio.py:0
#: code:addons/pms/models/pms_reservation.py:0
@@ -6928,7 +6479,7 @@ msgstr ""
#. module: pms
#: code:addons/pms/models/pms_property.py:0
#, python-format
-msgid "Not invoiced due to pending amounts and cancelled reservations"
+msgid "Not invoiced due to pending amounts"
msgstr ""
#. module: pms
@@ -7343,11 +6894,6 @@ msgstr ""
msgid "Out service description"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__outgoing_qty
-msgid "Outgoing"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -7380,13 +6926,6 @@ msgstr ""
msgid "Overpayment!"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"PART\n"
-" OF TRAVELERS ENTRY"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "PART OF TRAVELERS ENTRY"
@@ -7402,11 +6941,6 @@ msgstr ""
msgid "PMS Invoice policy"
msgstr ""
-#. module: pms
-#: model:ir.actions.act_window,name:pms.action_pms_move_out_invoice_type
-msgid "PMS Invoices"
-msgstr ""
-
#. module: pms
#: model:ir.ui.menu,name:pms.pms_management_menu
msgid "PMS Management"
@@ -7432,6 +6966,11 @@ msgstr ""
msgid "PRO-FORMA Invoice"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Page"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__payment_state__paid
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
@@ -7449,11 +6988,6 @@ msgstr ""
msgid "Parent Avail"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__parent_id
-msgid "Parent Property"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__parent_id
msgid "Parent Room"
@@ -7469,13 +7003,6 @@ msgstr ""
msgid "Parent name"
msgstr ""
-#. module: pms
-#: model:pms.room.type,name:pms.pms_room_type_parking
-#: model:pms.room.type.class,name:pms.pms_room_type_class_parking
-#: model:product.product,name:pms.pms_room_type_parking_product_product
-msgid "Parking"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -7509,11 +7036,6 @@ msgstr ""
msgid "Partner Contracts"
msgstr ""
-#. module: pms
-#: model:ir.model,name:pms.model_res_partner_id_category
-msgid "Partner ID Category"
-msgstr ""
-
#. module: pms
#: model:ir.model,name:pms.model_res_partner_id_number
msgid "Partner ID Number"
@@ -7530,7 +7052,6 @@ msgid "Partner Requests"
msgstr ""
#. module: pms
-#: model:ir.model,name:pms.model_res_partner_category
#: model:ir.model.fields,help:pms.field_pms_booking_duplicate__segmentation_ids
#: model:ir.model.fields,help:pms.field_pms_booking_engine__segmentation_ids
msgid "Partner Tags"
@@ -7602,7 +7123,6 @@ msgid "Passport"
msgstr ""
#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_folio_payment
#: model_terms:ir.ui.view,arch_db:pms.wizard_payment_folio_view_form
msgid "Pay"
msgstr ""
@@ -7799,6 +7319,11 @@ msgstr ""
msgid "Phone (Optional)"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_sanitized_blacklisted
+msgid "Phone Blacklisted"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan_rule__plan_avail
msgid "Plan Avail"
@@ -7811,18 +7336,11 @@ msgid "Please define an accounting sales journal for the company %s (%s)."
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_account_analytic_distribution__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_account_analytic_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_account_move_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_reservation__pms_property_id
msgid "Pms Property"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__pos_categ_id
-msgid "Point of Sale Category"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__access_url
#: model:ir.model.fields,field_description:pms.field_pms_folio__access_url
@@ -7830,16 +7348,6 @@ msgstr ""
msgid "Portal Access URL"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__pos_order_ids
-msgid "Pos Order"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__pos_order_count
-msgid "Pos Order Count"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__checkin_partner_possible_customer_id
#: model:ir.model.fields,field_description:pms.field_res_partner__checkin_partner_possible_customer_id
@@ -8122,8 +7630,6 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_reservation__priority
-#: model:ir.model.fields,field_description:pms.field_res_country__priority
-#: model:ir.model.fields,field_description:pms.field_res_partner_id_category__priority
msgid "Priority"
msgstr ""
@@ -8246,16 +7752,6 @@ msgstr ""
msgid "Product template associated with the item"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_company__cancel_penalty_product_id
-msgid "Product used to calculate the cancel penalty"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__property_stock_production
-msgid "Production Location"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__product_variant_ids
msgid "Products"
@@ -8271,6 +7767,8 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_board_service_line__pms_property_ids
+#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__pms_property_ids
+#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_cancelation_rule__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_property__pms_property_ids
#: model:ir.model.fields,field_description:pms.field_pms_room_type__pms_property_ids
@@ -8312,6 +7810,8 @@ msgstr ""
#: model:ir.model.fields,help:pms.field_pms_availability_plan__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_board_service__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_board_service_line__pms_property_ids
+#: model:ir.model.fields,help:pms.field_pms_board_service_room_type__pms_property_ids
+#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_cancelation_rule__pms_property_ids
#: model:ir.model.fields,help:pms.field_pms_room__pms_property_id
#: model:ir.model.fields,help:pms.field_pms_room_type__pms_property_ids
@@ -8334,9 +7834,6 @@ msgid "Propertiy with access to the element;"
msgstr ""
#. module: pms
-#. openerp-web
-#: code:addons/pms/static/src/js/reconciliation_widget.js:0
-#: code:addons/pms/static/src/xml/account_reconciliation.xml:0
#: model:ir.model,name:pms.model_pms_property
#: model:ir.model.fields,field_description:pms.field_account_bank_statement__pms_property_id
#: model:ir.model.fields,field_description:pms.field_account_bank_statement_line__pms_property_id
@@ -8345,8 +7842,6 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_availability__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_availability_plan_rule__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type__pms_property_id
-#: model:ir.model.fields,field_description:pms.field_pms_board_service_room_type_line__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_booking_duplicate__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_booking_engine__pms_property_id
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__pms_property_id
@@ -8371,7 +7866,6 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:pms.view_account_move_filter
#: model_terms:ir.ui.view,arch_db:pms.view_account_move_line_filter
#: model_terms:ir.ui.view,arch_db:pms.view_account_payment_search
-#, python-format
msgid "Property"
msgstr ""
@@ -8408,12 +7902,14 @@ msgstr ""
#. module: pms
#: model:ir.model,name:pms.model_pms_room
#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_view_tree
msgid "Property Room"
msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room__room_type_id
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_tree
msgid "Property Room Type"
msgstr ""
@@ -8427,6 +7923,11 @@ msgstr ""
msgid "Property Ubication"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_ubication_view_tree
+msgid "Property Ubications"
+msgstr ""
+
#. module: pms
#: code:addons/pms/models/pms_ubication.py:0
#, python-format
@@ -8439,6 +7940,11 @@ msgstr ""
msgid "Property not allowed on availability day compute"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_tree
+msgid "Property settings summary"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_availability__pms_property_id
msgid "Property to which the availability is directed"
@@ -8476,18 +7982,6 @@ msgstr ""
msgid "Property with access to the element;"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type_line__pms_property_id
-msgid ""
-"Property with access to the element; if not set, all properties can access"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_board_service_room_type__pms_property_id
-msgid ""
-"Property with access to the element; if not set, all property can access"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__ratio_checkin_data
msgid "Proportion of guest data complete at checkin"
@@ -8518,11 +8012,6 @@ msgstr ""
msgid "Purchase Unit of Measure"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__putaway_rule_ids
-msgid "Putaway Rules"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_service_line__auto_qty
msgid "Qty automated setted"
@@ -8542,34 +8031,6 @@ msgstr ""
msgid "Quantity"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__qty_available
-msgid "Quantity On Hand"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__quantity_svl
-msgid "Quantity Svl"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__incoming_qty
-msgid ""
-"Quantity of planned incoming products.\n"
-"In a context with a single Stock Location, this includes goods arriving to this Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods arriving to the Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods arriving to any Stock Location with 'internal' type."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__outgoing_qty
-msgid ""
-"Quantity of planned outgoing products.\n"
-"In a context with a single Stock Location, this includes goods leaving this Location, or any of its children.\n"
-"In a context with a single Warehouse, this includes goods leaving the Stock Location of this Warehouse, or any of its children.\n"
-"Otherwise, this includes goods leaving any Stock Location with 'internal' type."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__day_qty
msgid "Quantity per day"
@@ -8746,24 +8207,14 @@ msgid "Regular invoice"
msgstr ""
#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "Remove some of the leftover assigned checkins first"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__reordering_max_qty
-msgid "Reordering Max Qty"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__reordering_min_qty
-msgid "Reordering Min Qty"
+#: model:ir.model.fields,field_description:pms.field_pms_property__parent_id
+msgid "Related Company"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__nbr_reordering_rules
-msgid "Reordering Rules"
+#: code:addons/pms/models/pms_reservation.py:0
+#, python-format
+msgid "Remove some of the leftover assigned checkins first"
msgstr ""
#. module: pms
@@ -8771,12 +8222,6 @@ msgstr ""
msgid "Report Folio"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_reservation__is_reselling
-#: model:ir.model.fields,field_description:pms.field_pms_reservation_line__is_reselling
-msgid "Reselling"
-msgstr ""
-
#. module: pms
#: model:ir.actions.act_window,name:pms.action_resend_cancellation_email
msgid "Resend cancellation email"
@@ -8801,6 +8246,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_service_line__reservation_id
#: model:ir.model.fields,field_description:pms.field_pms_several_partners_wizard__reservation_id
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_tree
#: model_terms:ir.ui.view,arch_db:pms.reservation_wizard
msgid "Reservation"
msgstr ""
@@ -8960,8 +8406,6 @@ msgstr ""
#: model:ir.ui.menu,name:pms.menu_reservations
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_graph
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_pivot
-#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_calendar
-#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_timeline
#: model_terms:ir.ui.view,arch_db:pms.portal_my_home_menu_reservation
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservations
@@ -9011,20 +8455,11 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_form
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "Residence Address"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Residence Address *"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__responsible_id
-msgid "Responsible"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__activity_user_id
#: model:ir.model.fields,field_description:pms.field_pms_folio__activity_user_id
@@ -9069,23 +8504,27 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_room__room_amenity_ids
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_search
#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_amenity_view_list
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_view_form
msgid "Room Amenities"
msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_room_amenity_type_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_amenity_type_view_list
msgid "Room Amenities Type"
msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_class_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_type_class_view_tree
msgid "Room Class"
msgstr ""
#. module: pms
#: model:ir.actions.act_window,name:pms.open_pms_room_closure_reason_form_tree
#: model_terms:ir.ui.view,arch_db:pms.pms_room_closure_reason_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_room_closure_reason_view_tree
msgid "Room Closure Reason"
msgstr ""
@@ -9100,6 +8539,11 @@ msgstr ""
msgid "Room Name"
msgstr ""
+#. module: pms
+#: model:ir.model.constraint,message:pms.constraint_pms_reservation_line_rule_availability
+msgid "Room Occupied"
+msgstr ""
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_kanban_view
msgid "Room Reservation"
@@ -9266,11 +8710,6 @@ msgstr ""
msgid "Room/s"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Room:"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Rooming"
@@ -9330,16 +8769,6 @@ msgstr ""
msgid "Rooms to create"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__route_ids
-msgid "Routes"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__has_available_route_ids
-msgid "Routes can be selected on this product"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_massive_changes_wizard__rules_to_overwrite
msgid "Rule to Overwrite"
@@ -9361,8 +8790,12 @@ msgid "Rules to overwrite on massive changes"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__sii_exempt_cause
-msgid "SII Exempt Cause"
+#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_folio__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_property__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_reservation__message_has_sms_error
+#: model:ir.model.fields,field_description:pms.field_pms_room_type__message_has_sms_error
+msgid "SMS Delivery error"
msgstr ""
#. module: pms
@@ -9372,6 +8805,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_res_partner__sale_channel_id
#: model:ir.model.fields,field_description:pms.field_res_users__sale_channel_id
#: model_terms:ir.ui.view,arch_db:pms.pms_sale_channel_view_form
+#: model_terms:ir.ui.view,arch_db:pms.pms_sale_channel_view_tree
msgid "Sale Channel"
msgstr ""
@@ -9519,6 +8953,7 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_reservation_line__sale_line_ids
#: model:ir.model.fields,field_description:pms.field_pms_service_line__sale_line_ids
+#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
msgid "Sales Lines"
msgstr ""
@@ -9549,6 +8984,11 @@ msgstr ""
msgid "Sales Warnings"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,field_description:pms.field_pms_property__phone_sanitized
+msgid "Sanitized Number"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_service_line__date
msgid "Sate on which the product is to be consumed"
@@ -9562,7 +9002,9 @@ msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Save"
+msgid ""
+"Save and Continue\n"
+" "
msgstr ""
#. module: pms
@@ -9613,7 +9055,6 @@ msgid "Second street of the guest's residence"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_folio_sale_line__section_id
#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__display_type__line_section
msgid "Section"
msgstr ""
@@ -9665,6 +9106,11 @@ msgstr ""
msgid "Select a valid document type"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "Select an option"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__categ_id
msgid "Select category for the current product"
@@ -9682,7 +9128,6 @@ msgstr ""
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__invoice_warn
-#: model:ir.model.fields,help:pms.field_pms_property__picking_warn
#: model:ir.model.fields,help:pms.field_pms_property__sale_warn
#: model:ir.model.fields,help:pms.field_pms_room_type__sale_line_warn
msgid ""
@@ -9757,6 +9202,12 @@ msgstr ""
msgid "Service"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_report_view_tree
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_tree
+msgid "Service By Day"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_folio_sale_line__service_order
msgid "Service Id"
@@ -9820,6 +9271,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_graph
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_pivot
#: model_terms:ir.ui.view,arch_db:pms.pms_service_line_view_calendar
+#: model_terms:ir.ui.view,arch_db:pms.pms_service_view_tree
#: model_terms:ir.ui.view,arch_db:pms.portal_my_reservation_detail
msgid "Services"
msgstr ""
@@ -9955,11 +9407,6 @@ msgstr ""
msgid "Show Detail Report"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__show_on_hand_qty_status_button
-msgid "Show On Hand Qty Status Button"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_folio_search
msgid "Show all checkins for Tomorrow"
@@ -9999,21 +9446,6 @@ msgstr ""
msgid "Show if the day qty was calculated automatically"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__sign_on
-msgid "Sign on"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__signature
-msgid "Signature"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_checkin_partner__signature
-msgid "Signature of the guest"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_property__signup_expiration
msgid "Signup Expiration"
@@ -10039,11 +9471,6 @@ msgstr ""
msgid "Signup URL"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__sii_enabled
-msgid "Sii Enabled"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
msgid "Simplified Invoice"
@@ -10062,11 +9489,6 @@ msgstr ""
msgid "Simplified invoice"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__sii_simplified_invoice
-msgid "Simplified invoices in SII?"
-msgstr ""
-
#. module: pms
#: model:pms.room.type,name:pms.pms_room_type_single
#: model:product.product,name:pms.pms_room_type_single_product_product
@@ -10084,6 +9506,11 @@ msgstr ""
msgid "Some properties do not belong to the allowed companies"
msgstr ""
+#. module: pms
+#: model:res.partner.id_category,name:pms.document_type_spanish_residence
+msgid "Spanish Residence permit"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_product_pricelist_item__board_service_room_type_id
msgid "Specify a Board services on Room Types."
@@ -10124,15 +9551,6 @@ msgstr ""
msgid "Stage"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__cost_method
-msgid ""
-"Standard Price: The products are valued at their standard cost defined on the product.\n"
-" Average Cost (AVCO): The products are valued at weighted average cost.\n"
-" First In First Out (FIFO): The products are valued supposing those that enter the company first will also leave it first.\n"
-" "
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_product_pricelist_item__date_start_consumption
msgid "Start Date Consumption"
@@ -10160,6 +9578,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_search
#: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
#: model_terms:ir.ui.view,arch_db:pms.res_partner_view_form
msgid "State"
msgstr ""
@@ -10218,26 +9637,6 @@ msgstr ""
msgid "Status of the checkin partner regarding the reservation"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_move_ids
-msgid "Stock Move"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__picking_warn
-msgid "Stock Picking"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_quant_ids
-msgid "Stock Quant"
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__stock_valuation_layer_ids
-msgid "Stock Valuation Layer"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__residence_street
#: model:ir.model.fields,field_description:pms.field_pms_property__street
@@ -10503,6 +9902,12 @@ msgstr ""
msgid "Technical field to know if the invoice is simplified"
msgstr ""
+#. module: pms
+#: model:ir.model.fields,help:pms.field_res_partner_id_number__vat_syncronized
+msgid ""
+"Technical field to know if vat partner is syncronized with this document"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__is_origin_channel_check_visible
msgid "Technical field to make visible update origin channel check"
@@ -10536,12 +9941,6 @@ msgid ""
"Technical field. Used for searching on pricelists, not stored in database."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__stock_move_ids
-#: model:ir.model.fields,help:pms.field_pms_room_type__stock_quant_ids
-msgid "Technical: used to compute quantities."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__note
msgid "Terms and conditions"
@@ -10554,11 +9953,6 @@ msgid ""
" Your check-in has been successful."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_res_partner_id_number__name
-msgid "The ID itself. For example, Driver License number of this person"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_reservation.py:0
#, python-format
@@ -10605,11 +9999,6 @@ msgstr ""
msgid "The amount that remains to be paid from folio"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_folio__untaxed_amount_to_invoice
-msgid "The amount to invoice"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_folio_sale_line__untaxed_amount_invoiced
msgid "The amount to invoice without taxes in the line of folio"
@@ -10794,11 +10183,6 @@ msgstr ""
msgid "The name that identifies the room closure reason"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__pos_order_count
-msgid "The number of point of sales orders related to this customer"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_room_type__total_rooms_count
msgid "The number of rooms in a room type"
@@ -10844,14 +10228,6 @@ msgstr ""
msgid "The percentage of amount to be invoiced in advance, taxes excluded."
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_folio.py:0
-#, python-format
-msgid ""
-"The period to create this invoice is locked. Please contact your "
-"administrator to unlock it."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation_line__price
msgid "The price in a reservation line"
@@ -10929,18 +10305,6 @@ msgstr ""
msgid "The reference of the payment origin"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "The reservation must be canceled by action: action_cancel"
-msgstr ""
-
-#. module: pms
-#: code:addons/pms/models/pms_reservation.py:0
-#, python-format
-msgid "The reservation must be confirmed by action: action_confirm"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_reservation.py:0
#, python-format
@@ -10990,11 +10354,6 @@ msgid ""
" Variants' button to set the extra attribute prices."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_folio_sale_line__section_id
-msgid "The section of the folio sale line"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_property__folio_sequence_id
msgid "The sequence that formed the name of the folio."
@@ -11036,18 +10395,6 @@ msgid ""
"'no'."
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__property_stock_customer
-msgid ""
-"The stock location used as destination when sending goods to this contact."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__property_stock_supplier
-msgid ""
-"The stock location used as source when receiving goods from this contact."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -11097,12 +10444,6 @@ msgstr ""
msgid "There are no checkins to print"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/pms_reservation_line.py:0
-#, python-format
-msgid "There is no availability for the room type %s on %s"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_folio.py:0
#, python-format
@@ -11268,27 +10609,6 @@ msgid ""
" join the reservation here"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__property_stock_production
-msgid ""
-"This stock location will be used, instead of the default one, as the source "
-"location for stock moves generated by manufacturing orders."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__property_stock_inventory
-msgid ""
-"This stock location will be used, instead of the default one, as the source "
-"location for stock moves generated when you do an inventory."
-msgstr ""
-
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_room_type__responsible_id
-msgid ""
-"This user will be responsible of the next activities related to logistic "
-"operations for this product."
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
msgid "This will update all unit prices based on the currently set pricelist."
@@ -11327,11 +10647,6 @@ msgstr ""
msgid "To Assign"
msgstr ""
-#. module: pms
-#: model:ir.model.fields.selection,name:pms.selection__pms_folio__invoice_status__to_confirm
-msgid "To Confirm"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__invoice_status__to_invoice
#: model:ir.model.fields.selection,name:pms.selection__pms_folio__invoice_status__to_invoice
@@ -11365,11 +10680,6 @@ msgstr ""
msgid "To Send Modification Mail"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__to_weight
-msgid "To Weigh With Scale"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_search
msgid "To be paid"
@@ -11467,13 +10777,6 @@ msgstr ""
msgid "Total amount"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.traveller_report
-msgid ""
-"Total amount\n"
-" (Reservation Card):"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.traveller_report
msgid "Total amount (Reservation Card):"
@@ -11540,11 +10843,6 @@ msgstr ""
msgid "Track Service"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__tracking
-msgid "Tracking"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_folio__transaction_ids
msgid "Transactions"
@@ -11613,26 +10911,6 @@ msgstr ""
msgid "Type of the exception activity on record."
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your country here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your nationality here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your state here"
-msgstr ""
-
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
-msgid "Type your zip code here"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type_class__room_type_ids
msgid "Types"
@@ -11721,7 +10999,6 @@ msgstr ""
#: model:pms.room.type,uom_name:pms.pms_room_type_conference_room
#: model:pms.room.type,uom_name:pms.pms_room_type_double
#: model:pms.room.type,uom_name:pms.pms_room_type_economic
-#: model:pms.room.type,uom_name:pms.pms_room_type_parking
#: model:pms.room.type,uom_name:pms.pms_room_type_quadruple
#: model:pms.room.type,uom_name:pms.pms_room_type_single
#: model:pms.room.type,uom_name:pms.pms_room_type_triple
@@ -11730,7 +11007,6 @@ msgstr ""
#: model:product.product,uom_name:pms.pms_room_type_conference_room_product_product
#: model:product.product,uom_name:pms.pms_room_type_double_product_product
#: model:product.product,uom_name:pms.pms_room_type_economic_product_product
-#: model:product.product,uom_name:pms.pms_room_type_parking_product_product
#: model:product.product,uom_name:pms.pms_room_type_quadruple_product_product
#: model:product.product,uom_name:pms.pms_room_type_single_product_product
#: model:product.product,uom_name:pms.pms_room_type_triple_product_product
@@ -11808,6 +11084,12 @@ msgstr ""
msgid "Update Sale Channel Origin"
msgstr ""
+#. module: pms
+#: model:ir.model.fields.selection,name:pms.selection__folio_sale_line__invoice_status__upselling
+#: model:ir.model.fields.selection,name:pms.selection__pms_reservation__invoice_status__upselling
+msgid "Upselling Opportunity"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_res_company__url_advert
msgid "Url Advert"
@@ -11847,29 +11129,12 @@ msgstr ""
msgid "Used Rooms"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_res_partner_category__is_used_in_checkin
-msgid "Used in checkin"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,help:pms.field_pms_reservation__shared_folio
msgid ""
"Used to notify is the reservation folio has other reservations/services"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,help:pms.field_pms_property__aeat_identification_type
-msgid ""
-"Used to specify an identification type to send to SII. Normally for sending "
-"national and export invoices to SII where the customer country is not Spain,"
-" it would calculate an identification type of 04 if the VAT field is filled "
-"and 06 if it was not. This field is to specify types of 03 through 05, in "
-"the event that the customer doesn't identify with a foreign VAT and instead "
-"with their passport or residential certificate. If there is no value it will"
-" work as before."
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_team_member__user_id
msgid "User Member"
@@ -11910,11 +11175,6 @@ msgstr ""
msgid "Value"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__value_svl
-msgid "Value Svl"
-msgstr ""
-
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_room_type__image_variant_1920
msgid "Variant Image"
@@ -11951,18 +11211,18 @@ msgid "Variant Seller"
msgstr ""
#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
-msgid "Vendor Bill"
+#: model:ir.model.fields,field_description:pms.field_res_partner_id_number__vat_syncronized
+msgid "Vat Syncronized"
msgstr ""
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
-msgid "Vendor Credit Note"
+msgid "Vendor Bill"
msgstr ""
#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_property__property_stock_supplier
-msgid "Vendor Location"
+#: model_terms:ir.ui.view,arch_db:pms.report_invoice_document
+msgid "Vendor Credit Note"
msgstr ""
#. module: pms
@@ -12002,11 +11262,6 @@ msgstr ""
msgid "Volume unit of measure label"
msgstr ""
-#. module: pms
-#: model:ir.model.fields,field_description:pms.field_pms_room_type__warehouse_id
-msgid "Warehouse"
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/pms_service.py:0
#, python-format
@@ -12087,13 +11342,6 @@ msgid ""
" Please, check the rooms marked in red and try again."
msgstr ""
-#. module: pms
-#: code:addons/pms/models/folio_sale_line.py:0
-#, python-format
-msgid ""
-"You cannot delete a sale order line once a invoice has been created from it."
-msgstr ""
-
#. module: pms
#: model:ir.model.constraint,message:pms.constraint_pms_room_room_property_unique
msgid ""
@@ -12107,14 +11355,6 @@ msgid ""
"property"
msgstr ""
-#. module: pms
-#: code:addons/pms/models/folio_sale_line.py:0
-#, python-format
-msgid ""
-"You cannot reduce the invoiced quantity below\n"
-" the quantity already invoiced."
-msgstr ""
-
#. module: pms
#: code:addons/pms/models/account_move.py:0
#, python-format
@@ -12195,6 +11435,7 @@ msgstr ""
#: model:ir.model.fields,field_description:pms.field_pms_property__zip
#: model:ir.model.fields,field_description:pms.field_res_partner__zip
#: model:ir.model.fields,field_description:pms.field_res_users__zip
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
msgid "Zip"
msgstr ""
@@ -12265,11 +11506,6 @@ msgstr ""
msgid "close"
msgstr ""
-#. module: pms
-#: model_terms:ir.ui.view,arch_db:pms.portal_my_prechekin_folio
-msgid "completed"
-msgstr ""
-
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.pms_folio_view_form
#: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
@@ -12333,12 +11569,27 @@ msgstr ""
msgid "mobile"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "of"
+msgstr ""
+
#. module: pms
#: model_terms:ir.ui.view,arch_db:pms.massive_changes_wizard
#: model_terms:ir.ui.view,arch_db:pms.reservation_wizard
msgid "or"
msgstr ""
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "partner "
+msgstr ""
+
+#. module: pms
+#: model_terms:ir.ui.view,arch_db:pms.portal_my_precheckin_detail
+msgid "partner data to remain to be covered"
+msgstr ""
+
#. module: pms
#: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__partner_incongruences
#: model:ir.model.fields,field_description:pms.field_pms_folio__partner_incongruences
diff --git a/pms/init_hook.py b/pms/init_hook.py
index 5592fe58f71..ab344e799ce 100644
--- a/pms/init_hook.py
+++ b/pms/init_hook.py
@@ -3,14 +3,13 @@
def pre_init_hook(cr):
- with Environment.manage():
- env = Environment(cr, SUPERUSER_ID, {})
- ResConfig = env["res.config.settings"]
- default_values = ResConfig.default_get(list(ResConfig.fields_get()))
- default_values.update(
- {"group_product_pricelist": True, "group_sale_pricelist": True}
- )
- ResConfig.sudo().create(default_values).execute()
- env["ir.config_parameter"].sudo().set_param(
- "product.product_pricelist_setting", "advanced"
- )
+ env = Environment(cr, SUPERUSER_ID, {})
+ ResConfig = env["res.config.settings"]
+ default_values = ResConfig.default_get(list(ResConfig.fields_get()))
+ default_values.update(
+ {"group_product_pricelist": True, "group_sale_pricelist": True}
+ )
+ ResConfig.sudo().create(default_values).execute()
+ env["ir.config_parameter"].sudo().set_param(
+ "product.product_pricelist_setting", "advanced"
+ )
diff --git a/pms/models/__init__.py b/pms/models/__init__.py
index 398c5af2dd9..d5092fb5daa 100644
--- a/pms/models/__init__.py
+++ b/pms/models/__init__.py
@@ -48,7 +48,7 @@
from . import payment_transaction
from . import pms_team_member
from . import ir_pms_property
-from . import payment_acquirer
+from . import payment_provider
from . import account_analytic_line
from . import res_partner_category
from . import res_country
diff --git a/pms/models/account_analytic_line.py b/pms/models/account_analytic_line.py
index 9cfe9d5481d..5595b2bef04 100644
--- a/pms/models/account_analytic_line.py
+++ b/pms/models/account_analytic_line.py
@@ -15,17 +15,17 @@ class AccountAnalyticLine(models.Model):
index=True,
)
- @api.depends("move_id")
+ @api.depends("move_line_id.move_id")
def _compute_pms_property_id(self):
for rec in self:
- if rec.move_id and rec.move_id.pms_property_id:
- rec.pms_property_id = rec.move_id.pms_property_id
+ if rec.move_line_id.move_id and rec.move_line_id.move_id.pms_property_id:
+ rec.pms_property_id = rec.move_line_id.move_id.pms_property_id
elif not rec.pms_property_id:
rec.pms_property_id = False
class AccountAnalyticDistribution(models.Model):
- _inherit = "account.analytic.distribution"
+ _inherit = "account.analytic.distribution.model"
pms_property_id = fields.Many2one(
name="Property",
diff --git a/pms/models/folio_sale_line.py b/pms/models/folio_sale_line.py
index c8c87e7bf64..d8b39bbfbe8 100644
--- a/pms/models/folio_sale_line.py
+++ b/pms/models/folio_sale_line.py
@@ -21,6 +21,7 @@ class FolioSaleLine(models.Model):
"folio_id, sequence, reservation_order desc, service_order, name, date_order"
)
_check_company_auto = True
+ _rec_names_search = ["name", "folio_id.name"]
folio_id = fields.Many2one(
string="Folio Reference",
@@ -283,9 +284,9 @@ class FolioSaleLine(models.Model):
index=True,
readonly=False,
)
- analytic_tag_ids = fields.Many2many(
- string="Analytic Tags",
- comodel_name="account.analytic.tag",
+ analytic_distribution_ids = fields.Many2many(
+ string="Analytic Distribution",
+ comodel_name="account.analytic.distribution.model",
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
)
analytic_line_ids = fields.One2many(
@@ -682,7 +683,7 @@ def _compute_amount(self):
if self.env.context.get(
"import_file", False
) and not self.env.user.user_has_groups("account.group_account_manager"):
- line.tax_ids.invalidate_cache(
+ line.tax_ids.invalidate_recordset(
["invoice_repartition_line_ids"], [line.tax_ids.id]
)
@@ -843,20 +844,23 @@ def _compute_get_price_reduce_notax(self):
# product_uom IS NULL AND customer_lead = 0))",
# "Forbidden values on non-accountable sale order line"),
# ]
- @api.model
- def _name_search(
- self, name, args=None, operator="ilike", limit=100, name_get_uid=None
- ):
- if operator in ("ilike", "like", "=", "=like", "=ilike"):
- args = expression.AND(
- [
- args or [],
- ["|", ("folio_id.name", operator, name), ("name", operator, name)],
- ]
- )
- return super(FolioSaleLine, self)._name_search(
- name, args=args, operator=operator, limit=limit, name_get_uid=name_get_uid
- )
+
+ # TODO Check if _rec_names_search attribute works the same way, (the operator or
+ # this logic would apply the same way?)
+ # @api.model
+ # def _name_search(
+ # self, name, args=None, operator="ilike", limit=100, name_get_uid=None
+ # ):
+ # if operator in ("ilike", "like", "=", "=like", "=ilike"):
+ # args = expression.AND(
+ # [
+ # args or [],
+ # ["|", ("folio_id.name", operator, name), ("name", operator, name)],
+ # ]
+ # )
+ # return super(FolioSaleLine, self)._name_search(
+ # name, args=args, operator=operator, limit=limit, name_get_uid=name_get_uid
+ # )
def name_get(self):
result = []
@@ -964,7 +968,7 @@ def write(self, values):
protected_fields_modified_list = list(
set(protected_fields) & set(values.keys())
)
- fields_modified = self.env["ir.model.fields"].search(
+ fields_modified = self.sudo().env["ir.model.fields"].search(
[("name", "in", protected_fields_modified_list), ("model", "=", self._name)]
)
if fields_modified or "product_uom_qty" in values:
@@ -1083,7 +1087,7 @@ def _prepare_invoice_line(self, qty=False, **optional_values):
"price_unit": self.price_unit,
"tax_ids": [(6, 0, self.tax_ids.ids)],
"analytic_account_id": self.folio_id.analytic_account_id.id,
- "analytic_tag_ids": [(6, 0, self.analytic_tag_ids.ids)],
+ "analytic_distribution_ids": [(6, 0, self.analytic_distribution_ids.ids)],
"folio_line_ids": [(6, 0, [self.id])],
"name_changed_by_user": False,
}
@@ -1093,7 +1097,8 @@ def _prepare_invoice_line(self, qty=False, **optional_values):
res["account_id"] = False
return res
- def unlink(self):
+ @api.ondelete(at_uninstall=False)
+ def _unlink_except_invoice_is_not_draft(self):
for record in self:
if record.qty_invoiced > 0:
# If the invoice line is in draft, unlink it, else raise an error
@@ -1182,7 +1187,7 @@ def _get_protected_fields(self):
"price_unit",
"product_uom",
"tax_ids",
- "analytic_tag_ids",
+ "analytic_distribution_ids",
"discount",
]
@@ -1192,6 +1197,6 @@ def _get_mapped_move_line_fields(self):
"price_unit": "price_unit",
"product_uom": "product_uom_id",
"tax_ids": "tax_ids",
- "analytic_tag_ids": "analytic_tag_ids",
+ "analytic_distribution_ids": "analytic_distribution_ids",
"discount": "discount",
}
diff --git a/pms/models/ir_config_parameter.py b/pms/models/ir_config_parameter.py
index a561369acd8..53181065bc4 100644
--- a/pms/models/ir_config_parameter.py
+++ b/pms/models/ir_config_parameter.py
@@ -5,14 +5,13 @@
class IrConfigParameter(models.Model):
_inherit = "ir.config_parameter"
- def unlink(self):
- for record in self:
- if (
- record.key == "product.product_pricelist_setting"
- and record.value == "advanced"
- ):
- raise ValidationError(_("Cannot delete this parameter"))
- return super().unlink()
+ @api.ondelete(at_uninstall=False)
+ def _unlink_except_value_is_advanced(self):
+ if (
+ self.key == "product.product_pricelist_setting"
+ and self.value == "advanced"
+ ):
+ raise ValidationError(_("Cannot delete this parameter"))
@api.constrains("key", "value")
def check_value(self):
diff --git a/pms/models/ir_pms_property.py b/pms/models/ir_pms_property.py
index a0d67d16d8a..9ece37ef5f3 100644
--- a/pms/models/ir_pms_property.py
+++ b/pms/models/ir_pms_property.py
@@ -27,10 +27,10 @@ class IrPmsProperty(models.Model):
def get_field_value(
self, pms_property_id, model_name, field_name, record_id, value_type
):
- model_id = self.env["ir.model"].browse(model_name).id
- model = self.env["ir.model"].search([("model", "=", model_id)])
+ model_id = self.sudo().env["ir.model"].browse(model_name).id
+ model = self.sudo().env["ir.model"].search([("model", "=", model_id)])
if model:
- field_id = self.env["ir.model.fields"].search(
+ field_id = self.sudo().env["ir.model.fields"].search(
[("name", "=", field_name), ("model_id", "=", model.id)]
)
ir_pms_property = self.env["ir.pms.property"].search(
@@ -59,10 +59,10 @@ def get_field_value(
def set_field_value(
self, pms_property_id, model_name, field_name, record_id, value
):
- model_id = self.env["ir.model"].browse(model_name).id
- model = self.env["ir.model"].search([("model", "=", model_id)])
+ model_id = self.sudo().env["ir.model"].browse(model_name).id
+ model = self.sudo().env["ir.model"].search([("model", "=", model_id)])
if model:
- field_id = self.env["ir.model.fields"].search(
+ field_id = self.sudo().env["ir.model.fields"].search(
[("name", "=", field_name), ("model_id", "=", model.id)]
)
ir_pms_property = self.env["ir.pms.property"].search(
diff --git a/pms/models/pms_board_service_line.py b/pms/models/pms_board_service_line.py
index fa130cb8fae..bba4abd1ae4 100644
--- a/pms/models/pms_board_service_line.py
+++ b/pms/models/pms_board_service_line.py
@@ -1,7 +1,6 @@
# Copyright 2017 Dario Lodeiros
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-from odoo import _, api, fields, models
-from odoo.exceptions import ValidationError
+from odoo import api, fields, models
class PmsBoardServiceLine(models.Model):
@@ -124,9 +123,3 @@ def write(self, vals):
}
)
return super(PmsBoardServiceLine, self).write(vals)
-
- @api.constrains("adults", "children")
- def _check_adults_children(self):
- for record in self:
- if not record.adults and not record.children:
- raise ValidationError(_("Adults or Children must be checked"))
diff --git a/pms/models/pms_checkin_partner.py b/pms/models/pms_checkin_partner.py
index f72e6360302..361ca3c4918 100644
--- a/pms/models/pms_checkin_partner.py
+++ b/pms/models/pms_checkin_partner.py
@@ -286,17 +286,6 @@ class PmsCheckinPartner(models.Model):
string="Partner relationship", help="Family relationship between travelers"
)
- signature = fields.Image(
- string="Signature",
- help="Signature of the guest",
- )
-
- sign_on = fields.Datetime(
- string="Sign on",
- help="Date and time of the signature",
- compute="_compute_sign_on",
- )
-
@api.depends("partner_id")
def _compute_document_number(self):
for record in self:
@@ -616,14 +605,6 @@ def _compute_partner_incongruences(self):
else:
record.partner_incongruences = False
- @api.depends("signature")
- def _compute_sign_on(self):
- for record in self:
- if record.signature:
- record.sign_on = datetime.now()
- else:
- record.sign_on = False
-
def _compute_access_url(self):
super(PmsCheckinPartner, self)._compute_access_url()
for checkin in self:
@@ -763,7 +744,7 @@ def create(self, vals):
# If a checkin is manually created, we need make sure that
# the reservation adults are computed
if not reservation.checkin_partner_ids:
- reservation.flush()
+ reservation.flush_recordset()
dummy_checkins = reservation.checkin_partner_ids.filtered(
lambda c: c.state == "dummy"
)
@@ -776,7 +757,8 @@ def create(self, vals):
_("Is not possible to create the proposed check-in in this reservation")
)
- def unlink(self):
+ @api.ondelete(at_uninstall=False)
+ def _unlink_except_leftover_assigned_checkins(self):
reservations = self.mapped("reservation_id")
res = super().unlink()
reservations._compute_checkin_partner_ids()
@@ -951,7 +933,7 @@ def open_wizard_several_partners(self):
def _save_data_from_portal(self, values):
checkin_partner = values.get("checkin_partner", "")
values.pop("checkin_partner")
- values.pop("folio_access_token") if "folio_access_token" in values else None
+ values.pop("folio_access_token")
if values.get("nationality"):
values.update({"nationality_id": int(values.get("nationality_id"))})
diff --git a/pms/models/pms_folio.py b/pms/models/pms_folio.py
index 329cb66b265..39ee80aeac9 100644
--- a/pms/models/pms_folio.py
+++ b/pms/models/pms_folio.py
@@ -2194,7 +2194,7 @@ def do_payment(
pay.action_post()
# Review: force to autoreconcile payment with invoices already created
- pay.flush()
+ pay.flush_recordset()
for move in folio.move_ids:
move._autoreconcile_folio_payments()
diff --git a/pms/models/pms_property.py b/pms/models/pms_property.py
index 1b0c055cb2c..51831453435 100644
--- a/pms/models/pms_property.py
+++ b/pms/models/pms_property.py
@@ -29,6 +29,7 @@ class PmsProperty(models.Model):
_description = "Property"
_inherits = {"res.partner": "partner_id"}
_check_company_auto = True
+ _rec_names_search = ["name", "ref", "pms_property_code"]
partner_id = fields.Many2one(
string="Property",
@@ -974,25 +975,27 @@ def _get_revpar(self, start_date, end_date, domain=False):
revpar = round(sum_group_price[0]["price"] / count_available_room_days, 2)
return revpar
- @api.model
- def _name_search(
- self, name, args=None, operator="ilike", limit=100, name_get_uid=None
- ):
- args = args or []
- domain = []
- if name:
- domain = [
- "|",
- "|",
- ("ref", "=ilike", name.split(" ")[0] + "%"),
- ("pms_property_code", "=ilike", name.split(" ")[0] + "%"),
- ("name", operator, name),
- ]
- if operator in expression.NEGATIVE_TERM_OPERATORS:
- domain = ["&", "!"] + domain[1:]
- return self._search(
- expression.AND([domain, args]), limit=limit, access_rights_uid=name_get_uid
- )
+ # TODO Check if _rec_names_search attribute works the same way, (the operator or
+ # this logic would apply the same way?)
+ # @api.model
+ # def _name_search(
+ # self, name, args=None, operator="ilike", limit=100, name_get_uid=None
+ # ):
+ # args = args or []
+ # domain = []
+ # if name:
+ # domain = [
+ # "|",
+ # "|",
+ # ("ref", "=ilike", name.split(" ")[0] + "%"),
+ # ("pms_property_code", "=ilike", name.split(" ")[0] + "%"),
+ # ("name", operator, name),
+ # ]
+ # if operator in expression.NEGATIVE_TERM_OPERATORS:
+ # domain = ["&", "!"] + domain[1:]
+ # return self._search(
+ # expression.AND([domain, args]), limit=limit, access_rights_uid=name_get_uid
+ # )
def name_get(self):
result = []
diff --git a/pms/models/pms_reservation.py b/pms/models/pms_reservation.py
index 185a4f34d04..bb6bfbe3ddd 100644
--- a/pms/models/pms_reservation.py
+++ b/pms/models/pms_reservation.py
@@ -20,6 +20,7 @@ class PmsReservation(models.Model):
# consider near_to_checkin & pending_notifications to order
_check_pms_properties_auto = True
_check_company_auto = True
+ _rec_names_search = ["name", "folio_id.name", "preferred_room_id.name"]
name = fields.Text(
string="Reservation Code",
@@ -587,12 +588,12 @@ class PmsReservation(models.Model):
],
compute="_compute_invoice_status",
)
- analytic_tag_ids = fields.Many2many(
- string="Analytic Tags",
- comodel_name="account.analytic.tag",
- relation="pms_reservation_account_analytic_tag",
+ analytic_distribution_ids = fields.Many2many(
+ string="Analytic Distribution",
+ comodel_name="account.analytic.distribution.model",
+ relation="pms_reservation_account_analytic_distribution",
column1="reservation_id",
- column2="account_analytic_tag_id",
+ column2="account_analytic_distribution_id",
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
)
analytic_line_ids = fields.One2many(
@@ -2054,20 +2055,22 @@ def open_wizard_several_partners(self):
"context": ctx,
}
- @api.model
- def name_search(self, name="", args=None, operator="ilike", limit=100):
- if args is None:
- args = []
- if not (name == "" and operator == "ilike"):
- args += [
- "|",
- ("name", operator, name),
- ("folio_id.name", operator, name),
- ("preferred_room_id.name", operator, name),
- ]
- return super(PmsReservation, self).name_search(
- name="", args=args, operator="ilike", limit=limit
- )
+ # TODO Check if _rec_names_search attribute works the same way, (the operator or
+ # this logic would apply the same way?)
+ # @api.model
+ # def name_search(self, name="", args=None, operator="ilike", limit=100):
+ # if args is None:
+ # args = []
+ # if not (name == "" and operator == "ilike"):
+ # args += [
+ # "|",
+ # ("name", operator, name),
+ # ("folio_id.name", operator, name),
+ # ("preferred_room_id.name", operator, name),
+ # ]
+ # return super(PmsReservation, self).name_search(
+ # name="", args=args, operator="ilike", limit=limit
+ # )
def name_get(self):
result = []
@@ -2132,22 +2135,13 @@ def create(self, vals):
vals["reservation_type"] = (
folio.reservation_type if folio.reservation_type else "normal"
)
- # Avoid send state field in vals, with the propouse to
- # use action_confirm or action_cancel methods
- reservation_state = False
- if "state" in vals:
- reservation_state = vals["state"]
- vals.pop("state")
record = super(PmsReservation, self).create(vals)
record._check_capacity()
- if (
- record.preconfirm and record.state == "draft"
- ) or reservation_state == "confirm":
+ if record.preconfirm and record.state == "draft":
record.action_confirm()
- elif reservation_state == "cancel":
- record.action_cancel()
record._check_services(vals)
+
return record
def write(self, vals):
diff --git a/pms/models/pms_reservation_line.py b/pms/models/pms_reservation_line.py
index 56d334c0657..64eab7bc06f 100644
--- a/pms/models/pms_reservation_line.py
+++ b/pms/models/pms_reservation_line.py
@@ -402,10 +402,14 @@ def _compute_price(self):
)
# TODO: Out of service 0 amount
- @api.depends("reservation_id.state", "is_reselling")
+ @api.depends("reservation_id.state", "reservation_id.overbooking", "is_reselling")
def _compute_occupies_availability(self):
for line in self:
- if line.reservation_id.state == "cancel" or line.is_reselling:
+ if (
+ line.reservation_id.state == "cancel"
+ or line.overbooking
+ or line.is_reselling
+ ):
line.occupies_availability = False
else:
line.occupies_availability = True
@@ -477,7 +481,6 @@ def _compute_price_day_total(self):
@api.depends("room_id", "state", "is_reselling")
def _compute_overbooking(self):
for record in self.filtered("room_id"):
- overbooking = False
if record.state != "cancel" and not record.is_reselling:
record_id = (
record.id
@@ -492,11 +495,11 @@ def _compute_overbooking(self):
("room_id", "=", record.room_id.id),
("id", "!=", record_id),
("occupies_availability", "=", True),
- ("overbooking", "=", False),
]
):
- overbooking = True
- record.overbooking = overbooking
+ record.overbooking = True
+ else:
+ record.overbooking = False
@api.model_create_multi
def create(self, vals_list):
diff --git a/pms/models/pms_service.py b/pms/models/pms_service.py
index 548f0b03d4e..a305c89c948 100644
--- a/pms/models/pms_service.py
+++ b/pms/models/pms_service.py
@@ -11,6 +11,7 @@ class PmsService(models.Model):
_name = "pms.service"
_description = "Services and its charges"
_check_pms_properties_auto = True
+ _rec_names_search = ["name", "reservation_id.name"]
name = fields.Char(
string="Service description",
@@ -93,10 +94,10 @@ class PmsService(models.Model):
domain=["|", ("active", "=", False), ("active", "=", True)],
compute="_compute_tax_ids",
)
- analytic_tag_ids = fields.Many2many(
- string="Analytic Tags",
+ analytic_distribution_ids = fields.Many2many(
+ string="Analytic Distribution",
help="",
- comodel_name="account.analytic.tag",
+ comodel_name="account.analytic.distribution.model",
)
currency_id = fields.Many2one(
string="Currency",
@@ -507,20 +508,22 @@ def open_service_ids(self):
action["target"] = "new"
return action
+ # TODO Check if _rec_names_search attribute works the same way, (the operator or
+ # this logic would apply the same way?)
# ORM Overrides
- @api.model
- def name_search(self, name="", args=None, operator="ilike", limit=100):
- if args is None:
- args = []
- if not (name == "" and operator == "ilike"):
- args += [
- "|",
- ("reservation_id.name", operator, name),
- ("name", operator, name),
- ]
- return super(PmsService, self).name_search(
- name="", args=args, operator="ilike", limit=limit
- )
+ # @api.model
+ # def name_search(self, name="", args=None, operator="ilike", limit=100):
+ # if args is None:
+ # args = []
+ # if not (name == "" and operator == "ilike"):
+ # args += [
+ # "|",
+ # ("reservation_id.name", operator, name),
+ # ("name", operator, name),
+ # ]
+ # return super(PmsService, self).name_search(
+ # name="", args=args, operator="ilike", limit=limit
+ # )
def _get_display_price(self, product):
folio = self.folio_id
diff --git a/pms/models/res_partner.py b/pms/models/res_partner.py
index 3863bff41bc..236d8273a4b 100644
--- a/pms/models/res_partner.py
+++ b/pms/models/res_partner.py
@@ -696,8 +696,9 @@ def _check_enought_invoice_data(self):
# Template to be inherited by localization modules
return True
- def unlink(self):
- dummy, various_partner_id = self.env["ir.model.data"].get_object_reference(
+ @api.ondelete(at_uninstall=False)
+ def _unlink_except_is_various_partner(self):
+ dummy, various_partner_id = self.sudo().env["ir.model.data"].get_object_reference(
"pms", "various_pms_partner"
)
if various_partner_id in self.ids:
diff --git a/pms/report/pms_folio_templates.xml b/pms/report/pms_folio_templates.xml
index 7123852336a..6a4e4edffd1 100644
--- a/pms/report/pms_folio_templates.xml
+++ b/pms/report/pms_folio_templates.xml
@@ -17,7 +17,7 @@
Tax ID :
@@ -172,7 +172,7 @@
@@ -181,7 +181,7 @@
@@ -223,7 +223,7 @@
Subtotal
@@ -290,9 +290,9 @@
t-if="amount_by_group[3] == 1 and doc.amount_untaxed == amount_by_group[2]"
>
-
+
on
@@ -301,21 +301,21 @@
class="text-right o_price_total"
>
-
+
diff --git a/pms/static/description/index.html b/pms/static/description/index.html
index b4c2b892e07..7f9f245c08a 100644
--- a/pms/static/description/index.html
+++ b/pms/static/description/index.html
@@ -1,3 +1,4 @@
+
@@ -366,7 +367,7 @@ PMS (Property Management System)
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:4f0393d5fcb9c4849b44b6dc0a699e103b2bacebc46eec3b9c8cccbc3030a628
+!! source digest: sha256:084d2899cbc7b06f7ece70261b11256045c44b256ebff405d42812f6f32dd1fc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
This module is an all-in-one property management system (PMS) focused on medium-sized properties
diff --git a/pms/static/img/property_logo.png b/pms/static/img/property_logo.png
old mode 100755
new mode 100644
diff --git a/pms/static/src/js/inherited_abstract_web_client.js b/pms/static/src/js/inherited_abstract_web_client.js
index 56b9af5feb8..2497001406d 100644
--- a/pms/static/src/js/inherited_abstract_web_client.js
+++ b/pms/static/src/js/inherited_abstract_web_client.js
@@ -15,12 +15,11 @@ odoo.define("pms.AbstractWebClient", function (require) {
? utils.get_cookie("pms_pids")
: String(current_pms_property_id);
}
- var statePmsPropertyIDS = _.map(
- state.pms_pids.split(","),
- function (pms_pid) {
- return parseInt(pms_pid, 10);
- }
- );
+ var statePmsPropertyIDS = _.map(state.pms_pids.split(","), function (
+ pms_pid
+ ) {
+ return parseInt(pms_pid, 10);
+ });
var userPmsPropertyIDS = _.map(
session.user_pms_properties.allowed_pms_properties,
function (pms_property) {
diff --git a/pms/static/src/xml/account_reconciliation.xml b/pms/static/src/xml/account_reconciliation.xml
index 97fb89d5696..d4e8baf871b 100644
--- a/pms/static/src/xml/account_reconciliation.xml
+++ b/pms/static/src/xml/account_reconciliation.xml
@@ -3,7 +3,7 @@
-
+
Property
diff --git a/pms/static/src/xml/pms_base_templates.xml b/pms/static/src/xml/pms_base_templates.xml
index b054fb56cbc..7b5ab1b88e4 100644
--- a/pms/static/src/xml/pms_base_templates.xml
+++ b/pms/static/src/xml/pms_base_templates.xml
@@ -14,7 +14,7 @@
t-attf-class="#{widget.isMobile ? 'fa fa-building-o' : 'oe_topbar_name'}"
>
-
+
@@ -59,12 +59,12 @@
>
-
+
-
+
diff --git a/pms/templates/pms_email_template.xml b/pms/templates/pms_email_template.xml
index df7de0ebd4d..da56ffe3359 100644
--- a/pms/templates/pms_email_template.xml
+++ b/pms/templates/pms_email_template.xml
@@ -4,28 +4,28 @@
-
+
-
-
+
-
-
+
+
,
-
+
-
+
-
+
-
+
-
+
@@ -42,7 +42,7 @@
Nights
Price
-
+
@@ -50,19 +50,19 @@
-
+
-
+
-
+
-
+
-
+
@@ -83,7 +83,7 @@
Here is your confirmation code:
-
+
.
Keep this code for any question about your booking order.
@@ -140,12 +140,12 @@
${('%s <%s>' % (object.pms_property_id.partner_id.name, object.pms_property_id.partner_id.email) or '')|safe}
- ${(object.email or '')|safe}
- ${(object.partner_id.id or '')}
- ${object.lang}
+ >{{('%s <%s>' % (object.pms_property_id.partner_id.name, object.pms_property_id.partner_id.email) or '')|safe}}
+ {{(object.email or '')|safe}}
+ {{(object.partner_id.id or '')}}
+ {{object.lang}}
- Your reservation ${object.name} has been confirmed by the property staff
+ Your reservation {{object.name}} has been confirmed by the property staff
qweb
diff --git a/pms/tests/common.py b/pms/tests/common.py
index 866ed57faf1..8c1fd3a1eaf 100644
--- a/pms/tests/common.py
+++ b/pms/tests/common.py
@@ -1,7 +1,7 @@
from odoo.tests import common
-class TestPms(common.SavepointCase):
+class TestPms(common.TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/pms/tests/test_pms_availability_plan_rules.py b/pms/tests/test_pms_availability_plan_rules.py
index 528ad9c364b..ebf79c65f86 100644
--- a/pms/tests/test_pms_availability_plan_rules.py
+++ b/pms/tests/test_pms_availability_plan_rules.py
@@ -611,7 +611,7 @@ def test_rule_update_quota_on_create_reservation(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
with self.assertRaises(
ValidationError,
msg="The quota shouldnt be enough to create a new reservation",
diff --git a/pms/tests/test_pms_booking_engine.py b/pms/tests/test_pms_booking_engine.py
index 2f853824022..797771e3051 100644
--- a/pms/tests/test_pms_booking_engine.py
+++ b/pms/tests/test_pms_booking_engine.py
@@ -195,7 +195,6 @@ def test_price_wizard_correct_pricelist_applied(self):
"compute_price": "fixed",
"applied_on": "1_product",
"product_tmpl_id": product_tmpl.id,
- "product_id": self.test_room_type_double.product_id.id,
"fixed_price": price_today,
"min_quantity": 0,
"pms_property_ids": product_tmpl.pms_property_ids.ids,
@@ -758,7 +757,7 @@ def test_price_total_with_board_service(self):
self.board_service_test = self.env["pms.board.service"].create(
{
"name": "Test Board Service",
- "default_code": "TBS",
+ "default_code": "TPS",
}
)
self.env["pms.board.service.line"].create(
@@ -766,7 +765,6 @@ def test_price_total_with_board_service(self):
"pms_board_service_id": self.board_service_test.id,
"product_id": self.product_test1.id,
"amount": 8,
- "adults": True,
}
)
self.board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -776,7 +774,7 @@ def test_price_total_with_board_service(self):
"pms_property_id": self.pms_property1.id,
}
)
- # self.board_service_room_type.flush()
+ # self.board_service_room_type.flush_recordset()
# ACT
booking_engine = self.env["pms.booking.engine"].create(
{
@@ -825,7 +823,7 @@ def test_price_total_with_board_service(self):
)
@freeze_time("2014-05-05")
- def _test_board_service_discount(self):
+ def test_board_service_discount(self):
"""
In booking engine when a discount is indicated it must be
applied correctly on both reservation lines and board services,
@@ -845,7 +843,7 @@ def _test_board_service_discount(self):
self.board_service_test = self.env["pms.board.service"].create(
{
"name": "Test Board Service",
- "default_code": "TBS",
+ "default_code": "TPS",
}
)
self.env["pms.board.service.line"].create(
@@ -853,7 +851,6 @@ def _test_board_service_discount(self):
"pms_board_service_id": self.board_service_test.id,
"product_id": self.product_test1.id,
"amount": 8,
- "adults": True,
}
)
self.board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -896,6 +893,7 @@ def _test_board_service_discount(self):
booking_engine.create_folio()
folio = self.env["pms.folio"].search([("partner_id", "=", self.partner_id.id)])
+
# ASSERT
for line in folio.service_ids.service_line_ids:
if line.is_board_service:
@@ -990,7 +988,7 @@ def test_check_folio_when_change_selection(self):
"Reservations of folio are incorrect",
)
- def _test_adding_board_services_are_saved_on_lines(self):
+ def test_adding_board_services_are_saved_on_lines(self):
checkin = fields.date.today()
checkout = fields.date.today() + datetime.timedelta(days=1)
diff --git a/pms/tests/test_pms_checkin_partner.py b/pms/tests/test_pms_checkin_partner.py
index 6b9fe46541b..ab2978de8c3 100644
--- a/pms/tests/test_pms_checkin_partner.py
+++ b/pms/tests/test_pms_checkin_partner.py
@@ -579,7 +579,7 @@ def test_auto_arrival_delayed(self):
def test_auto_arrival_delayed_checkout(self):
"""
The state of reservation 'arrival_delayed' happen when the checkin day
- has already passed and the reservation had not yet changed its state to onboard.
+ has already passed and the resrvation had not yet changed its state to onboard.
But, if checkout day is passed without checkout, the reservation pass to
departure delayed with a reservation note warning
@@ -678,8 +678,9 @@ def test_auto_arrival_delayed_checkout(self):
PmsReservation.auto_arrival_delayed()
departure_delayed_reservations = folio_1.reservation_ids.filtered(
- lambda r: r.state == "arrival_delayed"
+ lambda r: r.state == "departure_delayed"
)
+
# ASSERT
self.assertEqual(
len(departure_delayed_reservations),
@@ -698,7 +699,7 @@ def test_auto_departure_delayed(self):
The date that was previously set was 2012-01-14,
it was advanced two days (to 2012-01-17).
Reservation1 has checkout day on 2012-01-17,
- after invoking the method auto_departure_delayed
+ after invoking the method auto_departure_delayed
this reservation change their state to 'auto_departure_delayed'
"""
@@ -995,7 +996,7 @@ def test_partner_id_numbers_created_from_checkin(self):
}
)
- checkin.flush()
+ checkin.flush_recordset()
# ASSERT
self.assertTrue(
@@ -1003,7 +1004,7 @@ def test_partner_id_numbers_created_from_checkin(self):
"Partner id_number should have been created and hasn't been",
)
- def _test_partner_not_modified_when_checkin_modified(self):
+ def test_partner_not_modified_when_checkin_modified(self):
"""
If a partner is associated with a checkin
and some of their data is modified in the checkin,
@@ -1025,7 +1026,7 @@ def test_partner_modified_previous_checkin_not_modified(self):
in the previous checkins associated with it
"""
# ARRANGE
- self.checkin1.flush()
+ self.checkin1.flush_recordset()
self.host1.gender = "female"
# ASSERT
self.assertNotEqual(
@@ -1565,15 +1566,15 @@ def test_save_checkin_from_portal(self):
"firstname": "SerafÃn",
"lastname": "Rivas",
"lastname2": "Gonzalez",
- "document_type": self.id_category,
+ "document_type": self.id_category.name,
"document_number": "18038946T",
- "document_expedition_date": "07/10/2010",
- "birthdate_date": "05/10/1983",
+ "document_expedition_date": "2010-10-07",
+ "birthdate_date": "1983-10-05",
"mobile": "60595595",
"email": "serafin@example.com",
"gender": "male",
- "nationality_id": 1,
- "residence_state_id": 1,
+ "nationality_id": "1",
+ "residence_state_id": "1",
}
checkin_partner_id._save_data_from_portal(checkin_partner_vals)
checkin_partner_vals.update(
diff --git a/pms/tests/test_pms_folio.py b/pms/tests/test_pms_folio.py
index 1536ed29b76..50ce72c9991 100644
--- a/pms/tests/test_pms_folio.py
+++ b/pms/tests/test_pms_folio.py
@@ -727,7 +727,7 @@ def test_reservation_type_incongruence(self):
}
)
- def _test_create_partner_in_folio(self):
+ def test_create_partner_in_folio(self):
"""
Check that a res_partner is created from a folio.
------------
@@ -771,7 +771,7 @@ def test_auto_complete_partner_mobile(self):
folio1 = self.env["pms.folio"].create(
{
"pms_property_id": self.pms_property1.id,
- "partner_id": partner.id,
+ "partner_name": partner.name,
}
)
# ASSERT
@@ -808,7 +808,7 @@ def test_auto_complete_partner_email(self):
folio1 = self.env["pms.folio"].create(
{
"pms_property_id": self.pms_property1.id,
- "partner_id": partner.id,
+ "partner_name": partner.name,
}
)
# ASSERT
diff --git a/pms/tests/test_pms_folio_invoice.py b/pms/tests/test_pms_folio_invoice.py
index ef8387f26e6..ec68306b64d 100644
--- a/pms/tests/test_pms_folio_invoice.py
+++ b/pms/tests/test_pms_folio_invoice.py
@@ -144,7 +144,7 @@ def create_configuration_accounting_scenario(self):
)
journals.allowed_pms_payments = True
- def _test_invoice_full_folio(self):
+ def test_invoice_full_folio(self):
"""
Check that when launching the create_invoices() method for a full folio,
the invoice_status field is set to "invoiced".
@@ -168,7 +168,6 @@ def _test_invoice_full_folio(self):
state_expected = "invoiced"
# ACT
r1.folio_id._create_invoices()
- r1.flush()
# ASSERT
self.assertEqual(
state_expected,
@@ -176,7 +175,7 @@ def _test_invoice_full_folio(self):
"The status after a full invoice folio isn't correct",
)
- def _test_invoice_partial_folio_by_steps(self):
+ def test_invoice_partial_folio_by_steps(self):
"""
Check that when launching the create_invoices() method for a partial folio,
the invoice_status field is set to "invoiced".
@@ -234,7 +233,7 @@ def test_invoice_partial_folio_diferent_partners(self):
)
# test does not work without invalidating cache
- self.env["account.move"].invalidate_cache()
+ self.env["account.move"].invalidate_model()
self.assertNotEqual(
"invoiced",
@@ -488,7 +487,6 @@ def test_price_invoice_board_service(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -546,7 +544,6 @@ def test_qty_invoiced_board_service(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -605,7 +602,6 @@ def test_qty_to_invoice_board_service(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -762,7 +758,6 @@ def test_autoinvoice_paid_folio_overnights_partner_policy(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -866,7 +861,6 @@ def test_not_autoinvoice_unpaid_cancel_folio_partner_policy(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
diff --git a/pms/tests/test_pms_folio_prices.py b/pms/tests/test_pms_folio_prices.py
index da7af4e0054..a8bf882b45a 100644
--- a/pms/tests/test_pms_folio_prices.py
+++ b/pms/tests/test_pms_folio_prices.py
@@ -1,7 +1,7 @@
-from odoo.tests.common import SavepointCase
+from odoo.tests.common import TransactionCase
-class TestPmsFolioPrice(SavepointCase):
+class TestPmsFolioPrice(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/pms/tests/test_pms_folio_sale_line.py b/pms/tests/test_pms_folio_sale_line.py
index 42261b23b11..80e65c9f293 100644
--- a/pms/tests/test_pms_folio_sale_line.py
+++ b/pms/tests/test_pms_folio_sale_line.py
@@ -67,7 +67,6 @@ def setUpClass(cls):
"pms_board_service_id": cls.board_service_test.id,
"product_id": cls.product_test1.id,
"amount": 8,
- "adults": True,
}
)
cls.board_service_room_type = cls.env["pms.board.service.room.type"].create(
@@ -288,7 +287,7 @@ def test_comp_fsl_rooms_one_full_cancel_discount(self):
# ACT
r_test.reservation_line_ids[0].cancel_discount = 100.0
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertEqual(
@@ -322,14 +321,14 @@ def test_comp_fsl_rooms_increase_stay(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
previous_folio_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: not x.display_type
)[0]
# ACT
r_test.checkout = datetime.datetime.now() + datetime.timedelta(days=4)
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertEqual(
@@ -361,14 +360,14 @@ def test_comp_fsl_rooms_decrease_stay(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
previous_folio_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: not x.display_type
)[0]
# ACT
r_test.checkout = datetime.datetime.now() + datetime.timedelta(days=2)
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertEqual(
@@ -403,14 +402,14 @@ def test_comp_fsl_rooms_same_stay(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
previous_folio_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: not x.display_type
)[0]
# ACT
r_test.reservation_line_ids.price = 50
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertEqual(
@@ -787,7 +786,7 @@ def test_comp_fsl_res_extra_services_all_same_group(self):
)
# ACT
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -828,11 +827,11 @@ def test_comp_fsl_res_extra_services_different_prices(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ACT
r_test.service_ids.service_line_ids[0].price_unit = 44.5
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -873,11 +872,11 @@ def test_comp_fsl_res_extra_services_different_discount(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ACT
r_test.service_ids.service_line_ids[0].discount = 44.5
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -919,11 +918,11 @@ def test_comp_fsl_res_extra_services_different_cancel_discount(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ACT
r_test.service_ids.service_line_ids[0].cancel_discount = 44.5
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -963,11 +962,11 @@ def test_comp_fsl_res_extra_services_one_full_cancel_discount(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ACT
r_test.service_ids.service_line_ids[0].cancel_discount = 100
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1008,14 +1007,14 @@ def test_comp_fsl_res_extra_services_increase_stay(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
previous_folio_extra_service_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: x.service_id == self.extra_service
)[0]
# ACT
r_test.checkout = datetime.datetime.now() + datetime.timedelta(days=4)
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1052,14 +1051,14 @@ def test_comp_fsl_res_extra_services_decrease_stay(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
previous_folio_extra_service_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: x.service_id == self.extra_service
)[0]
# ACT
r_test.checkout = datetime.datetime.now() + datetime.timedelta(days=2)
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1103,7 +1102,7 @@ def test_comp_fsl_res_extra_services_same_stay(self):
}
)
r_test.service_ids = [(4, self.extra_service.id)]
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
previous_folio_extra_service_sale_line = r_test.folio_id.sale_line_ids.filtered(
lambda x: x.service_id == self.extra_service
)[0]
@@ -1112,7 +1111,7 @@ def test_comp_fsl_res_extra_services_same_stay(self):
r_test.service_ids.filtered(
lambda x: x.id == self.extra_service.id
).service_line_ids.price_unit = 50
- r_test.service_ids.service_line_ids.flush()
+ r_test.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1154,7 +1153,7 @@ def test_comp_fsl_fol_extra_services_one(self):
# ACT
r_test.folio_id.service_ids = [(4, self.extra_service.id)]
- r_test.folio_id.service_ids.service_line_ids.flush()
+ r_test.folio_id.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1209,7 +1208,7 @@ def test_comp_fsl_fol_extra_services_two(self):
# ACT
r_test.folio_id.service_ids = [(4, self.extra_service.id)]
r_test.folio_id.service_ids = [(4, extra_service2.id)]
- r_test.folio_id.service_ids.service_line_ids.flush()
+ r_test.folio_id.service_ids.service_line_ids.flush_recordset()
# ASSERT
self.assertEqual(
@@ -1227,17 +1226,17 @@ def test_comp_fsl_fol_extra_services_two(self):
def test_no_sale_lines_staff_reservation(self):
"""
Check that the sale_line_ids of a folio whose reservation
- is of type 'staff' are created with price 0.
+ is of type 'staff' are not created.
-----
A reservation is created with the reservation_type field
with value 'staff'. Then it is verified that the
sale_line_ids of the folio created with the creation of
- the reservation have price 0.
+ the reservation are equal to False.
"""
# ARRANGE
self.partner1 = self.env["res.partner"].create({"name": "Alberto"})
checkin = fields.date.today()
- checkout = fields.date.today() + datetime.timedelta(days=1)
+ checkout = fields.date.today() + datetime.timedelta(days=3)
# ACT
reservation = self.env["pms.reservation"].create(
{
@@ -1249,14 +1248,12 @@ def test_no_sale_lines_staff_reservation(self):
"pricelist_id": self.pricelist1.id,
"reservation_type": "staff",
"sale_channel_origin_id": self.sale_channel_direct1.id,
- "adults": 1,
}
)
# ASSERT
- self.assertEqual(
- reservation.folio_id.sale_line_ids.mapped("price_unit")[0],
- 0,
- "Staff folio sale lines should have price 0",
+ self.assertFalse(
+ reservation.folio_id.sale_line_ids,
+ "Folio sale lines should not be generated for a staff type reservation ",
)
def test_no_sale_lines_out_reservation(self):
diff --git a/pms/tests/test_pms_invoice_refund.py b/pms/tests/test_pms_invoice_refund.py
index d532b921940..92166e62705 100644
--- a/pms/tests/test_pms_invoice_refund.py
+++ b/pms/tests/test_pms_invoice_refund.py
@@ -1,11 +1,11 @@
from freezegun import freeze_time
-from odoo.tests.common import SavepointCase
+from odoo.tests.common import TransactionCase
freeze_time("2000-02-02")
-class TestPmsInvoiceRefund(SavepointCase):
+class TestPmsInvoiceRefund(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/pms/tests/test_pms_multiproperty.py b/pms/tests/test_pms_multiproperty.py
index de81767fd41..225fadf00b1 100644
--- a/pms/tests/test_pms_multiproperty.py
+++ b/pms/tests/test_pms_multiproperty.py
@@ -280,7 +280,6 @@ def test_pms_bsl_product_property_integrity(self):
{
"product_id": product1.id,
"pms_board_service_id": board_service1.id,
- "adults": True,
}
)
@@ -316,7 +315,6 @@ def test_pms_bsl_board_service_property_integrity(self):
{
"product_id": product1.id,
"pms_board_service_id": board_service1.id,
- "adults": True,
}
)
@@ -351,7 +349,6 @@ def test_pms_bsl_board_service_line_prop_integrity(self):
"product_id": product1.id,
"pms_board_service_id": board_service1.id,
"pms_property_ids": [pms_property2.id],
- "adults": True,
}
)
@@ -397,8 +394,8 @@ def test_create_rt_props_gt_bs_props(self):
}
)
# ASSERT
- self.assertIn(
- new_bsrt.pms_property_id.id,
+ self.assertEqual(
+ new_bsrt.pms_property_ids.ids,
board_service_test.pms_property_ids.ids,
"Record of board_service_room_type should contain the"
" board service properties.",
@@ -440,18 +437,17 @@ def test_create_rt_props_lt_bs_props(self):
{
"pms_room_type_id": room_type1.id,
"pms_board_service_id": board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
# ASSERT
- self.assertIn(
- new_bsrt.pms_property_id.id,
+ self.assertEqual(
+ new_bsrt.pms_property_ids.ids,
room_type1.pms_property_ids.ids,
"Record of board_service_room_type should contain the"
" room types properties.",
)
- def _test_create_rt_props_eq_bs_props(self):
+ def test_create_rt_props_eq_bs_props(self):
"""
Create board service for a room type and the room type
have THE SAME properties than the board service.
@@ -481,11 +477,10 @@ def _test_create_rt_props_eq_bs_props(self):
{
"pms_room_type_id": room_type1.id,
"pms_board_service_id": board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
# ASSERT
- self.assertIn(
+ self.assertTrue(
new_bsrt.pms_property_ids.ids == room_type1.pms_property_ids.ids
and new_bsrt.pms_property_ids.ids == board_service1.pms_property_ids.ids,
"Record of board_service_room_type should contain the room "
@@ -520,12 +515,11 @@ def test_create_rt_no_props_and_bs_props(self):
{
"pms_room_type_id": room_type1.id,
"pms_board_service_id": board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
# ASSERT
- self.assertIn(
- new_bsrt.pms_property_id.id,
+ self.assertEqual(
+ new_bsrt.pms_property_ids.ids,
board_service1.pms_property_ids.ids,
"Record of board_service_room_type should contain the"
" board service properties.",
@@ -559,7 +553,6 @@ def test_create_rt_props_and_bs_no_props(self):
{
"name": "Test Board Service",
"default_code": "TPS",
- "pms_property_ids": [self.pms_property1.id],
}
)
# ACT
@@ -567,12 +560,11 @@ def test_create_rt_props_and_bs_no_props(self):
{
"pms_room_type_id": room_type1.id,
"pms_board_service_id": board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
# ASSERT
- self.assertIn(
- new_bsrt.pms_property_id.id,
+ self.assertEqual(
+ new_bsrt.pms_property_ids.ids,
room_type1.pms_property_ids.ids,
"Record of board_service_room_type should contain the"
" room type properties.",
@@ -609,7 +601,7 @@ def test_create_rt_no_props_and_bs_no_props(self):
)
# ASSERT
self.assertFalse(
- new_bsrt.pms_property_id.id,
+ new_bsrt.pms_property_ids.ids,
"Record of board_service_room_type shouldnt contain properties.",
)
@@ -691,7 +683,7 @@ def test_pms_bsrtl_board_service_line_prop_integrity(self):
self.env["pms.board.service.room.type.line"].create(
{
"product_id": product1.id,
- "pms_property_id": self.pms_property2.id,
+ "pms_property_ids": [self.pms_property2.id],
"pms_board_service_room_type_id": board_service_room_type1.id,
}
)
@@ -819,7 +811,7 @@ def test_inconsistency_availability_plan_property(self):
}
)
- def _test_multiproperty_checks(self):
+ def test_multiproperty_checks(self):
"""
# TEST CASE
Multiproperty checks in reservation
diff --git a/pms/tests/test_pms_payment.py b/pms/tests/test_pms_payment.py
index 79f42d4cb1f..1110c969d8c 100644
--- a/pms/tests/test_pms_payment.py
+++ b/pms/tests/test_pms_payment.py
@@ -1,11 +1,11 @@
from freezegun import freeze_time
-from odoo.tests.common import SavepointCase
+from odoo.tests.common import TransactionCase
freeze_time("2000-02-02")
-class TestPmsPayment(SavepointCase):
+class TestPmsPayment(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/pms/tests/test_pms_pricelist.py b/pms/tests/test_pms_pricelist.py
index 76bb8cfac4d..deaf07f9907 100644
--- a/pms/tests/test_pms_pricelist.py
+++ b/pms/tests/test_pms_pricelist.py
@@ -73,7 +73,6 @@ def setUpClass(cls):
{
"product_id": cls.product1.id,
"pms_board_service_id": cls.board_service1.id,
- "adults": True,
}
)
@@ -82,7 +81,6 @@ def setUpClass(cls):
{
"pms_room_type_id": cls.room_type1.id,
"pms_board_service_id": cls.board_service1.id,
- "pms_property_id": cls.pms_property1.id,
}
)
@@ -655,7 +653,7 @@ def test_service_pricelist_item_not_apply_consumption_dates(self):
)
@freeze_time("2000-01-01")
- def _test_inconsistencies_pricelist_daily(self):
+ def test_inconsistencies_pricelist_daily(self):
"""
Test cases to verify that a daily pricelist cannot be created because:
(Test case1): item has two properties and a items daily pricelist only
@@ -870,7 +868,6 @@ def test_items_sort(self):
"pricelist_id": self.pricelist1.id,
"applied_on": "2_product_category",
"categ_id": self.product_category.id,
- "product_id": self.room_type.product_id.id,
"fixed_price": 60.0,
},
{
diff --git a/pms/tests/test_pms_reservation.py b/pms/tests/test_pms_reservation.py
index fb7ce2e7309..8920b756b80 100644
--- a/pms/tests/test_pms_reservation.py
+++ b/pms/tests/test_pms_reservation.py
@@ -272,7 +272,7 @@ def test_split_reservation01(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertTrue(
@@ -311,7 +311,7 @@ def test_split_reservation02(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertFalse(r_test.splitted, "The reservation shouldn't be splitted")
@@ -344,7 +344,7 @@ def test_split_reservation03(self):
}
)
r1.reservation_line_ids[0].room_id = self.room2.id
- r1.flush()
+ r1.flush_recordset()
r2 = self.env["pms.reservation"].create(
{
@@ -358,7 +358,7 @@ def test_split_reservation03(self):
}
)
r2.reservation_line_ids[0].room_id = self.room3.id
- r2.flush()
+ r2.flush_recordset()
r3 = self.env["pms.reservation"].create(
{
@@ -372,7 +372,7 @@ def test_split_reservation03(self):
}
)
r3.reservation_line_ids[0].room_id = self.room1.id
- r3.flush()
+ r3.flush_recordset()
r4 = self.env["pms.reservation"].create(
{
@@ -386,7 +386,7 @@ def test_split_reservation03(self):
}
)
r4.reservation_line_ids[0].room_id = self.room3.id
- r4.flush()
+ r4.flush_recordset()
expected_num_changes = 2
# ACT
@@ -401,7 +401,7 @@ def test_split_reservation03(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
# ASSERT
self.assertEqual(
expected_num_changes,
@@ -437,7 +437,7 @@ def test_split_reservation04(self):
}
)
r1.reservation_line_ids[0].room_id = self.room2.id
- r1.flush()
+ r1.flush_recordset()
r2 = self.env["pms.reservation"].create(
{
@@ -451,7 +451,7 @@ def test_split_reservation04(self):
}
)
r2.reservation_line_ids[0].room_id = self.room3.id
- r2.flush()
+ r2.flush_recordset()
r3 = self.env["pms.reservation"].create(
{
@@ -465,7 +465,7 @@ def test_split_reservation04(self):
}
)
r3.reservation_line_ids[0].room_id = self.room1.id
- r3.flush()
+ r3.flush_recordset()
r4 = self.env["pms.reservation"].create(
{
@@ -479,7 +479,7 @@ def test_split_reservation04(self):
}
)
r4.reservation_line_ids[0].room_id = self.room3.id
- r4.flush()
+ r4.flush_recordset()
r5 = self.env["pms.reservation"].create(
{
@@ -493,7 +493,7 @@ def test_split_reservation04(self):
}
)
r5.reservation_line_ids[0].room_id = self.room2.id
- r5.flush()
+ r5.flush_recordset()
# ACT
r_test = self.env["pms.reservation"].create(
@@ -507,7 +507,7 @@ def test_split_reservation04(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
rooms = 0
last_room = None
@@ -548,7 +548,7 @@ def test_split_reservation05(self):
}
)
r1.reservation_line_ids[0].room_id = self.room1
- r1.flush()
+ r1.flush_recordset()
# ACT & ASSERT
with self.assertRaises(ValidationError):
@@ -562,7 +562,7 @@ def test_split_reservation05(self):
"partner_id": self.partner1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
@freeze_time("2012-01-14")
def test_split_reservation06(self):
@@ -592,7 +592,7 @@ def test_split_reservation06(self):
)
r1.reservation_line_ids[0].room_id = self.room1
r1.reservation_line_ids[1].room_id = self.room1
- r1.flush()
+ r1.flush_recordset()
# ACT & ASSERT
with self.assertRaises(ValidationError):
@@ -606,7 +606,7 @@ def test_split_reservation06(self):
"partner_id": self.partner1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
@freeze_time("2012-01-14")
def test_split_reservation07(self):
@@ -636,7 +636,7 @@ def test_split_reservation07(self):
r1.reservation_line_ids[0].room_id = self.room1
r1.reservation_line_ids[1].room_id = self.room1
r1.reservation_line_ids[2].room_id = self.room1
- r1.flush()
+ r1.flush_recordset()
r2 = self.env["pms.reservation"].create(
{
@@ -652,7 +652,7 @@ def test_split_reservation07(self):
r2.reservation_line_ids[0].room_id = self.room2
r2.reservation_line_ids[1].room_id = self.room2
r2.reservation_line_ids[2].room_id = self.room2
- r2.flush()
+ r2.flush_recordset()
r3 = self.env["pms.reservation"].create(
{
@@ -668,7 +668,7 @@ def test_split_reservation07(self):
r3.reservation_line_ids[0].room_id = self.room3
r3.reservation_line_ids[1].room_id = self.room3
r3.reservation_line_ids[2].room_id = self.room3
- r3.flush()
+ r3.flush_recordset()
# ACT & ASSERT
with self.assertRaises(ValidationError):
@@ -709,7 +709,7 @@ def test_manage_children_raise(self):
"pms_property_id": self.pms_property1.id,
}
)
- reservation.flush()
+ reservation.flush_recordset()
@freeze_time("2012-01-14")
def test_to_assign_priority_reservation(self):
@@ -869,7 +869,7 @@ def test_arrival_delayed_priority_reservation(self):
# )
@freeze_time("2012-01-14")
- def _test_cancel_pending_amount_priority_reservation(self):
+ def test_cancel_pending_amount_priority_reservation(self):
"""
Cancelled with pending payments reservation must have priority = 2
------
@@ -878,7 +878,6 @@ def _test_cancel_pending_amount_priority_reservation(self):
"""
# ARRANGE
expected_priority = 2
- self.room_type_double.list_price = 25
res = self.env["pms.reservation"].create(
{
"checkin": fields.date.today() + datetime.timedelta(days=55),
@@ -892,7 +891,6 @@ def _test_cancel_pending_amount_priority_reservation(self):
# ACT
res.action_cancel()
- res.flush()
computed_priority = res.priority
# ASSERT
@@ -903,6 +901,7 @@ def _test_cancel_pending_amount_priority_reservation(self):
)
% (expected_priority, computed_priority)
)
+
self.assertEqual(
computed_priority,
expected_priority,
@@ -1691,7 +1690,7 @@ def test_reservation_action_checkout(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
- r1.flush()
+ r1.flush_recordset()
checkin = self.env["pms.checkin.partner"].create(
{
"partner_id": host.id,
@@ -1699,7 +1698,7 @@ def test_reservation_action_checkout(self):
}
)
checkin.action_on_board()
- checkin.flush()
+ checkin.flush_recordset()
# ACT
with freeze_time("1981-11-02"):
@@ -1737,7 +1736,7 @@ def _test_check_date_order(self):
date_order.second,
)
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(
date_order,
date_order_expected,
@@ -1839,7 +1838,7 @@ def test_partner_is_agency(self):
}
)
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(
reservation.partner_id.id,
@@ -2039,7 +2038,7 @@ def test_check_more_adults_than_beds(self):
"adults": 4,
}
)
- reservation.flush()
+ reservation.flush_recordset()
@freeze_time("2012-01-14")
def test_check_format_arrival_hour(self):
@@ -2217,8 +2216,10 @@ def test_reservation_action_cancel_fail(self):
}
)
- with self.assertRaises(ValidationError):
- reservation.state = "cancel"
+ reservation.state = "cancel"
+
+ with self.assertRaises(UserError):
+ reservation.action_cancel()
@freeze_time("2012-01-14")
def test_cancelation_reason_noshow(self):
@@ -2257,7 +2258,7 @@ def test_cancelation_reason_noshow(self):
reservation = self.env["pms.reservation"].create(
{
"checkin": fields.date.today() + datetime.timedelta(days=-5),
- "checkout": fields.date.today() + datetime.timedelta(days=3),
+ "checkout": fields.date.today() + datetime.timedelta(days=-3),
"room_type_id": self.room_type_double.id,
"partner_id": self.host1.id,
"pms_property_id": self.pms_property1.id,
@@ -2265,8 +2266,9 @@ def test_cancelation_reason_noshow(self):
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
+
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(
reservation.cancelled_reason,
"noshow",
@@ -2322,7 +2324,7 @@ def test_cancelation_reason_intime(self):
)
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(
reservation.cancelled_reason, "intime", "Cancelled reason must be 'intime'"
@@ -2375,7 +2377,7 @@ def test_cancelation_reason_late(self):
}
)
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(reservation.cancelled_reason, "late", "-----------")
@freeze_time("2012-01-14")
@@ -2604,7 +2606,7 @@ def test_partner_is_agency_not_invoice_to_agency(self):
}
)
- reservation.flush()
+ reservation.flush_recordset()
self.assertEqual(
reservation.partner_name,
@@ -2660,17 +2662,18 @@ def test_cancel_discount_board_service(self):
)
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
+
# ASSERT
self.assertEqual(
- reservation.reservation_line_ids.mapped("cancel_discount")[0],
- reservation.service_ids.service_line_ids.mapped("cancel_discount")[0],
+ set(reservation.reservation_line_ids.mapped("cancel_discount")),
+ set(reservation.service_ids.service_line_ids.mapped("cancel_discount")),
"Cancel discount of reservation service lines must be the same "
"that reservation board services",
)
@freeze_time("2011-10-10")
- def _test_cancel_discount_reservation_line(self):
+ def test_cancel_discount_reservation_line(self):
"""
When a reservation is cancelled, cancellation discount is given
by the cancellation rule associated with the reservation pricelist.
@@ -2705,7 +2708,7 @@ def _test_cancel_discount_reservation_line(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
# ASSERT
self.assertEqual(
@@ -2764,11 +2767,12 @@ def test_cancel_discount_service(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
+
# ASSERT
self.assertEqual(
- expected_cancel_discount,
- reservation.service_ids.service_line_ids.mapped("cancel_discount")[0],
+ {expected_cancel_discount},
+ set(reservation.service_ids.service_line_ids.mapped("cancel_discount")),
"Cancel discount of services must be 100%",
)
@@ -2823,7 +2827,7 @@ def test_discount_in_service(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
expected_discount = sum(
sl.price_day_total * sl.cancel_discount / 100
@@ -2867,7 +2871,7 @@ def test_services_discount_in_reservation(self):
"product_id": self.product1.id,
}
)
- self.service.flush()
+ self.service.flush_recordset()
self.product2 = self.env["product.product"].create(
{
"name": "Product test 2",
@@ -2900,7 +2904,7 @@ def test_services_discount_in_reservation(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
expected_discount = sum(s.discount for s in reservation.service_ids)
@@ -2912,7 +2916,7 @@ def test_services_discount_in_reservation(self):
)
@freeze_time("2011-12-12")
- def _test_price_services_in_reservation(self):
+ def test_price_services_in_reservation(self):
"""
Service price total in a reservation corresponds to the sum of prices
of all its services less the total discount of that services
@@ -2942,7 +2946,7 @@ def _test_price_services_in_reservation(self):
"product_id": self.product1.id,
}
)
- self.service.flush()
+ self.service.flush_recordset()
self.product2 = self.env["product.product"].create(
{
"name": "Product test 2",
@@ -2975,7 +2979,7 @@ def _test_price_services_in_reservation(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
expected_price = round(
(
self.service.price_total
@@ -2984,6 +2988,7 @@ def _test_price_services_in_reservation(self):
- reservation.services_discount,
2,
)
+
# ASSERT
self.assertEqual(
expected_price,
@@ -3028,7 +3033,7 @@ def test_room_discount_in_reservation(self):
# ACTION
reservation.action_cancel()
- reservation.flush()
+ reservation.flush_recordset()
expected_discount = sum(
rl.price * rl.cancel_discount / 100
@@ -3188,34 +3193,34 @@ def test_price_out_of_service_reservation(self):
"The expected price of the reservation is not correct",
)
- # @freeze_time("2012-01-14")
- # def test_no_pricelist_staff_reservation(self):
- # """
- # Check that in a staff type reservation the pricelist is False.
- # -------------
- # A reservation is created with the reservation_type field as 'staff'.
- # Then it is verified that the pricelist of the reservation is False.
- # """
- # # ARRANGE
- # checkin = fields.date.today()
- # checkout = fields.date.today() + datetime.timedelta(days=3)
- # # ACT
- # reservation = self.env["pms.reservation"].create(
- # {
- # "checkin": checkin,
- # "checkout": checkout,
- # "room_type_id": self.room_type_double.id,
- # "partner_id": self.partner1.id,
- # "pms_property_id": self.pms_property1.id,
- # "reservation_type": "staff",
- # "sale_channel_origin_id": self.sale_channel_direct.id,
- # }
- # )
- #
- # self.assertFalse(
- # reservation.pricelist_id,
- # "The pricelist of a staff reservation should be False",
- # )
+ @freeze_time("2012-01-14")
+ def test_no_pricelist_staff_reservation(self):
+ """
+ Check that in a staff type reservation the pricelist is False.
+ -------------
+ A reservation is created with the reservation_type field as 'staff'.
+ Then it is verified that the pricelist of the reservation is False.
+ """
+ # ARRANGE
+ checkin = fields.date.today()
+ checkout = fields.date.today() + datetime.timedelta(days=3)
+ # ACT
+ reservation = self.env["pms.reservation"].create(
+ {
+ "checkin": checkin,
+ "checkout": checkout,
+ "room_type_id": self.room_type_double.id,
+ "partner_id": self.partner1.id,
+ "pms_property_id": self.pms_property1.id,
+ "reservation_type": "staff",
+ "sale_channel_origin_id": self.sale_channel_direct.id,
+ }
+ )
+
+ self.assertFalse(
+ reservation.pricelist_id,
+ "The pricelist of a staff reservation should be False",
+ )
@freeze_time("2012-01-14")
def test_no_pricelist_out_reservation(self):
@@ -3333,7 +3338,7 @@ def test_no_partner_id_out_reservation(self):
)
@freeze_time("2012-01-14")
- def _test_create_partner_in_reservation(self):
+ def test_create_partner_in_reservation(self):
"""
Check that a res_partner is created from a reservation.
------------
@@ -3403,7 +3408,7 @@ def test_auto_complete_partner_mobile(self):
"checkout": checkout,
"room_type_id": self.room_type_double.id,
"pms_property_id": self.pms_property1.id,
- "partner_id": partner.id,
+ "partner_name": partner.name,
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
@@ -3419,7 +3424,7 @@ def test_auto_complete_partner_email(self):
"""
It is checked that the email field of the reservation
is correctly added to
- a res.partner that exists in
+ a res.partner that exists in
the DB are put in the reservation.
--------------------
A res.partner is created with the name, mobile and email fields.
@@ -3454,7 +3459,7 @@ def test_auto_complete_partner_email(self):
"checkout": checkout,
"room_type_id": self.room_type_double.id,
"pms_property_id": self.pms_property1.id,
- "partner_id": partner.id,
+ "partner_name": partner.name,
"sale_channel_origin_id": self.sale_channel_direct.id,
}
)
@@ -3462,7 +3467,7 @@ def test_auto_complete_partner_email(self):
self.assertEqual(
reservation.email,
partner.email,
- "The partner email has not autocomplete in reservation",
+ "The partner mobile has not autocomplete in reservation",
)
@freeze_time("2012-01-14")
@@ -3717,10 +3722,9 @@ def test_commission_amount_with_board_service(self):
{
"is_board_service": False,
"product_id": self.product1.id,
- "pms_property_id": self.pms_property1.id,
}
)
- self.service.flush()
+ self.service.flush_recordset()
self.product_test1 = self.env["product.product"].create(
{
"name": "Test Product 1",
@@ -3732,23 +3736,19 @@ def test_commission_amount_with_board_service(self):
{
"name": "Test Board Service",
"default_code": "TPS",
- "pms_property_ids": [self.pms_property1.id],
}
)
-
self.env["pms.board.service.line"].create(
{
"pms_board_service_id": self.board_service_test.id,
"product_id": self.product_test1.id,
"amount": 8,
- "adults": True,
}
)
self.board_service_room_type = self.env["pms.board.service.room.type"].create(
{
"pms_room_type_id": self.room_type_double.id,
"pms_board_service_id": self.board_service_test.id,
- "pms_property_id": self.pms_property1.id,
}
)
checkin = fields.date.today()
@@ -3765,6 +3765,7 @@ def test_commission_amount_with_board_service(self):
}
# ACT
reservation = self.env["pms.reservation"].create(reservation_vals)
+
reservation.write(
{
"board_service_room_id": self.board_service_room_type.id,
@@ -4232,4 +4233,4 @@ def test_one_reservation_change_sale_channel_origin(self):
# reservation1.reservation_line_ids.write(
# {"sale_channel_id": sale_channel_phone}
# )
- # reservation1.flush()
+ # reservation1.flush_recordset()
diff --git a/pms/tests/test_pms_room_type.py b/pms/tests/test_pms_room_type.py
index bb25d6a19f1..cd9410e61df 100644
--- a/pms/tests/test_pms_room_type.py
+++ b/pms/tests/test_pms_room_type.py
@@ -839,7 +839,7 @@ def test_check_board_service_property_integrity(self):
{
"pms_board_service_id": board_service.id,
"pms_room_type_id": room_type.id,
- "pms_property_id": self.pms_property2.id,
+ "pms_property_ids": self.pms_property2,
}
)
diff --git a/pms/tests/test_pms_service.py b/pms/tests/test_pms_service.py
index b8e710c414e..d95621fe8d4 100644
--- a/pms/tests/test_pms_service.py
+++ b/pms/tests/test_pms_service.py
@@ -81,7 +81,6 @@ def test_reservation_sale_origin_in_board_service(self):
{
"name": "Test Board Service 1",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
self.board_service_line1 = self.env["pms.board.service.line"].create(
@@ -89,7 +88,6 @@ def test_reservation_sale_origin_in_board_service(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -97,7 +95,6 @@ def test_reservation_sale_origin_in_board_service(self):
{
"pms_room_type_id": self.room_type_double.id,
"pms_board_service_id": self.board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
# ACT
@@ -111,7 +108,6 @@ def test_reservation_sale_origin_in_board_service(self):
"pricelist_id": self.pricelist1.id,
"board_service_room_id": self.board_service_room_type1.id,
"sale_channel_origin_id": self.sale_channel_door.id,
- "adults": 2,
}
)
# ASSERT
@@ -149,7 +145,6 @@ def test_change_origin_board_service_not_change_reservation_origin(self):
{
"name": "Test Board Service 1",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
self.board_service_line1 = self.env["pms.board.service.line"].create(
@@ -157,7 +152,6 @@ def test_change_origin_board_service_not_change_reservation_origin(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -165,7 +159,6 @@ def test_change_origin_board_service_not_change_reservation_origin(self):
{
"pms_room_type_id": self.room_type_double.id,
"pms_board_service_id": self.board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
@@ -220,7 +213,6 @@ def test_change_origin_board_service_in_sale_channels(self):
{
"name": "Test Board Service 1",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
self.board_service_line1 = self.env["pms.board.service.line"].create(
@@ -228,7 +220,6 @@ def test_change_origin_board_service_in_sale_channels(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -236,7 +227,6 @@ def test_change_origin_board_service_in_sale_channels(self):
{
"pms_room_type_id": self.room_type_double.id,
"pms_board_service_id": self.board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
self.reservation = self.env["pms.reservation"].create(
@@ -249,20 +239,19 @@ def test_change_origin_board_service_in_sale_channels(self):
"pricelist_id": self.pricelist1.id,
"board_service_room_id": self.board_service_room_type1.id,
"sale_channel_origin_id": self.sale_channel_door.id,
- "adults": 2,
}
)
# ACT
self.reservation.service_ids.sale_channel_origin_id = self.sale_channel_phone
sale_channel_ids = [
- self.reservation.folio_id.sale_channel_ids,
- self.reservation.sale_channel_ids,
+ self.reservation.folio_id.sale_channel_ids.ids,
+ self.reservation.sale_channel_ids.ids,
]
expected_sale_channel_ids = [
- self.sale_channel_door,
- self.sale_channel_phone,
+ self.sale_channel_door.id,
+ self.sale_channel_phone.id,
]
# ASSERT
for sale_channel in sale_channel_ids:
@@ -301,7 +290,6 @@ def test_change_origin_reservation_change_origin_services(self):
{
"name": "Test Board Service 1",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
self.board_service_line1 = self.env["pms.board.service.line"].create(
@@ -309,7 +297,6 @@ def test_change_origin_reservation_change_origin_services(self):
"product_id": self.product1.id,
"pms_board_service_id": self.board_service1.id,
"amount": 10,
- "adults": True,
}
)
@@ -317,7 +304,6 @@ def test_change_origin_reservation_change_origin_services(self):
{
"pms_room_type_id": self.room_type_double.id,
"pms_board_service_id": self.board_service1.id,
- "pms_property_id": self.pms_property1.id,
}
)
@@ -331,7 +317,6 @@ def test_change_origin_reservation_change_origin_services(self):
"pricelist_id": self.pricelist1.id,
"board_service_room_id": self.board_service_room_type1.id,
"sale_channel_origin_id": self.sale_channel_door.id,
- "adults": 2,
}
)
# ACT
diff --git a/pms/tests/test_pms_simple_invoice.py b/pms/tests/test_pms_simple_invoice.py
index d4e1dd466b2..881c7297712 100644
--- a/pms/tests/test_pms_simple_invoice.py
+++ b/pms/tests/test_pms_simple_invoice.py
@@ -1,11 +1,11 @@
from freezegun import freeze_time
-from odoo.tests.common import SavepointCase
+from odoo.tests.common import TransactionCase
freeze_time("2000-02-02")
-class TestPmsInvoiceSimpleInvoice(SavepointCase):
+class TestPmsInvoiceSimpleInvoice(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/pms/tests/test_pms_wizard_massive_changes.py b/pms/tests/test_pms_wizard_massive_changes.py
index 5b8d930b871..fb2186f50c7 100644
--- a/pms/tests/test_pms_wizard_massive_changes.py
+++ b/pms/tests/test_pms_wizard_massive_changes.py
@@ -504,7 +504,6 @@ def test_pricelist_items_create(self):
"end_date": fields.date.today() + datetime.timedelta(days=days),
"room_type_ids": [(6, 0, [room_type_double.id])],
"pms_property_ids": [self.pms_property1.id],
- "price": 20,
}
).apply_massive_changes()
# ASSERT
@@ -540,7 +539,6 @@ def test_num_pricelist_items_create_no_room_type(self):
"start_date": date_from,
"end_date": date_to,
"pms_property_ids": [self.pms_property1.id],
- "price": 20,
}
).apply_massive_changes()
# ASSERT
@@ -637,7 +635,6 @@ def test_day_of_week_pricelist_items_create(self):
"start_date": date_from,
"end_date": date_to,
"pms_property_ids": [self.pms_property1.id],
- "price": 20,
}
)
for index, test_case in enumerate(test_case_week_days):
@@ -699,7 +696,6 @@ def test_several_pricelists(self):
"pms_property_ids": [self.pms_property1.id],
"start_date": date_from,
"end_date": date_to,
- "price": 20,
}
# ACT
self.env["pms.massive.changes.wizard"].create(
@@ -758,7 +754,6 @@ def test_several_room_types_pricelist(self):
"pms_property_ids": [self.pms_property1.id],
"start_date": date_from,
"end_date": date_to,
- "price": 20,
}
# ACT
self.env["pms.massive.changes.wizard"].create(
@@ -796,7 +791,6 @@ def test_one_board_service_room_type_no_board_service(self):
{
"name": "Test Only Breakfast",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
service_breakfast = self.env["product.product"].create(
@@ -806,14 +800,12 @@ def test_one_board_service_room_type_no_board_service(self):
{
"pms_room_type_id": room_type_single.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "pms_property_id": self.pms_property1.id,
}
)
board_service_line_single_1 = self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "adults": True,
}
)
date_from = fields.date.today()
@@ -874,7 +866,6 @@ def test_one_board_service_room_type_with_board_service(self):
{
"name": "Test Only Breakfast",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
service_breakfast = self.env["product.product"].create(
@@ -884,14 +875,12 @@ def test_one_board_service_room_type_with_board_service(self):
{
"pms_room_type_id": room_type_single.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "pms_property_id": self.pms_property1.id,
}
)
board_service_line_single_1 = self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "adults": True,
}
)
date_from = fields.date.today()
@@ -961,14 +950,12 @@ def test_several_board_service_room_type_no_board_service(self):
{
"name": "Test Only Breakfast",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
board_service_half_board = self.env["pms.board.service"].create(
{
"name": "Test Half Board",
"default_code": "CB2",
- "pms_property_ids": [self.pms_property1.id],
}
)
service_breakfast = self.env["product.product"].create(
@@ -979,35 +966,30 @@ def test_several_board_service_room_type_no_board_service(self):
{
"pms_room_type_id": room_type_single.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "pms_property_id": self.pms_property1.id,
}
)
board_service_double = self.env["pms.board.service.room.type"].create(
{
"pms_room_type_id": room_type_double.id,
"pms_board_service_id": board_service_half_board.id,
- "pms_property_id": self.pms_property1.id,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "adults": True,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_half_board.id,
- "adults": True,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_dinner.id,
"pms_board_service_id": board_service_half_board.id,
- "adults": True,
}
)
date_from = fields.date.today()
@@ -1087,14 +1069,12 @@ def test_several_board_service_room_type_with_board_service(self):
{
"name": "Test Only Breakfast",
"default_code": "CB1",
- "pms_property_ids": [self.pms_property1.id],
}
)
board_service_half_board = self.env["pms.board.service"].create(
{
"name": "Test Half Board",
"default_code": "CB2",
- "pms_property_ids": [self.pms_property1.id],
}
)
service_breakfast = self.env["product.product"].create(
@@ -1105,35 +1085,30 @@ def test_several_board_service_room_type_with_board_service(self):
{
"pms_room_type_id": room_type_single.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "pms_property_id": self.pms_property1.id,
}
)
board_service_double = self.env["pms.board.service.room.type"].create(
{
"pms_room_type_id": room_type_double.id,
"pms_board_service_id": board_service_half_board.id,
- "pms_property_id": self.pms_property1.id,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_only_breakfast.id,
- "adults": True,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_breakfast.id,
"pms_board_service_id": board_service_half_board.id,
- "adults": True,
}
)
self.env["pms.board.service.line"].create(
{
"product_id": service_dinner.id,
"pms_board_service_id": board_service_half_board.id,
- "adults": True,
}
)
date_from = fields.date.today()
diff --git a/pms/tests/test_pms_wizard_split_join_swap_reservation.py b/pms/tests/test_pms_wizard_split_join_swap_reservation.py
index eae35ebe2aa..879e3b4612a 100644
--- a/pms/tests/test_pms_wizard_split_join_swap_reservation.py
+++ b/pms/tests/test_pms_wizard_split_join_swap_reservation.py
@@ -95,7 +95,7 @@ def test_unify_reservation_avail_should(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
r1.reservation_line_ids[0].room_id = self.room2
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservation_join(
@@ -154,7 +154,7 @@ def test_unify_reservation_avail_not(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r2.flush()
+ r2.flush_recordset()
# ACT & ASSERT
with self.assertRaises(UserError):
self.env["pms.reservation.split.join.swap.wizard"].reservation_join(
@@ -191,7 +191,7 @@ def test_unify_reservation_avail_not_room_exist(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r2.flush()
+ r2.flush_recordset()
with self.assertRaises(UserError):
self.env["pms.reservation.split.join.swap.wizard"].reservation_join(
r2, self.env["pms.room"]
@@ -244,8 +244,8 @@ def test_swap_reservation_rooms_01(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -305,8 +305,8 @@ def test_swap_reservation_rooms_02(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -365,8 +365,8 @@ def test_swap_reservation_rooms_03(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -429,8 +429,8 @@ def test_swap_reservation_rooms_04(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -493,8 +493,8 @@ def test_swap_reservation_rooms_05(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -613,8 +613,8 @@ def test_swap_reservation_rooms_gap_01(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -688,8 +688,8 @@ def test_swap_reservation_rooms_gap_02(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
- r2.flush()
+ r1.flush_recordset()
+ r2.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservations_swap(
datetime.datetime.now(),
@@ -772,7 +772,7 @@ def test_split_reservation_check_room_splitted_valid_01(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
r1, datetime.date.today(), self.room2
@@ -810,7 +810,7 @@ def test_split_reservation_check_room_splitted_valid_02(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
r1,
@@ -857,7 +857,7 @@ def test_split_reservation_check_room_splitted_valid_03(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
r1,
@@ -900,7 +900,7 @@ def test_split_reservation_check_room_splitted_not_valid_01(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
room_not_exist = self.room3 = self.env["pms.room"].create(
{
"pms_property_id": self.pms_property1.id,
@@ -940,7 +940,7 @@ def test_split_reservation_check_room_splitted_not_valid_02(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT & ASSERT
with self.assertRaises(UserError):
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
@@ -971,7 +971,7 @@ def test_split_reservation_check_room_splitted_not_valid_03(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT & ASSERT
with self.assertRaises(UserError):
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
@@ -1012,7 +1012,7 @@ def test_split_reservation_check_room_splitted_not_valid_04(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r1.flush()
+ r1.flush_recordset()
# ACT & ASSERT
with self.assertRaises(UserError):
self.env["pms.reservation.split.join.swap.wizard"].reservation_split(
diff --git a/pms/tests/test_product_template.py b/pms/tests/test_product_template.py
index c9a1d978317..0284a9b114e 100644
--- a/pms/tests/test_product_template.py
+++ b/pms/tests/test_product_template.py
@@ -58,7 +58,6 @@ def test_bs_consumed_on_after(self):
{
"product_id": product.id,
"pms_board_service_id": self.board_service.id,
- "adults": True,
}
)
board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -79,7 +78,6 @@ def test_bs_consumed_on_after(self):
"partner_id": self.partner.id,
"board_service_room_id": board_service_room_type.id,
"sale_channel_origin_id": self.sale_channel_direct1.id,
- "adults": 2,
}
)
# ASSERT
@@ -107,7 +105,6 @@ def test_bs_consumed_on_before(self):
{
"product_id": product.id,
"pms_board_service_id": self.board_service.id,
- "adults": True,
}
)
board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -128,7 +125,6 @@ def test_bs_consumed_on_before(self):
"partner_id": self.partner.id,
"board_service_room_id": board_service_room_type.id,
"sale_channel_origin_id": self.sale_channel_direct1.id,
- "adults": 2,
}
)
# ASSERT
@@ -157,7 +153,6 @@ def test_bs_daily_limit_equal(self):
{
"product_id": product.id,
"pms_board_service_id": self.board_service.id,
- "adults": True,
}
)
board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -180,7 +175,7 @@ def test_bs_daily_limit_equal(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- reservation.flush()
+ reservation.flush_recordset()
# ASSERT
self.assertEqual(
reservation.service_ids.service_line_ids.day_qty,
@@ -208,7 +203,6 @@ def test_bs_daily_limit_lower(self):
{
"product_id": product.id,
"pms_board_service_id": self.board_service.id,
- "adults": True,
}
)
board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -231,7 +225,7 @@ def test_bs_daily_limit_lower(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- reservation.flush()
+ reservation.flush_recordset()
# ASSERT
# self.assertTrue(reservation, "The reservation should have been created.")
# ASSERT
@@ -262,7 +256,6 @@ def test_bs_daily_limit_greater(self):
{
"product_id": product.id,
"pms_board_service_id": self.board_service.id,
- "adults": True,
}
)
board_service_room_type = self.env["pms.board.service.room.type"].create(
@@ -322,6 +315,6 @@ def _test_bs_is_extra_bed(self):
}
)
reservation._check_adults()
- reservation.flush()
+ reservation.flush_recordset()
# TODO: pending tests (need review) -> per_day, per_person (with board service?)
diff --git a/pms/tests/test_shared_room.py b/pms/tests/test_shared_room.py
index 243990ce8b1..ff99d0f0c0f 100644
--- a/pms/tests/test_shared_room.py
+++ b/pms/tests/test_shared_room.py
@@ -232,7 +232,7 @@ def test_count_avail_beds_with_one_bed_occupied(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- res1.flush()
+ res1.flush_recordset()
# ASSERT
self.assertEqual(
self.pms_property1.with_context(
@@ -390,7 +390,7 @@ def test_not_allowed_reservation_in_bed_with_room_occuppied(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
def test_not_allowed_reservation_in_shared_room_with_bed_occuppied(self):
"""
@@ -432,7 +432,7 @@ def test_not_allowed_reservation_in_shared_room_with_bed_occuppied(self):
"sale_channel_origin_id": self.sale_channel_direct1.id,
}
)
- r_test.flush()
+ r_test.flush_recordset()
def check_room_shared_availability_released_when_canceling_bed_reservations(self):
"""
diff --git a/pms/views/account_analytic_distribution_views.xml b/pms/views/account_analytic_distribution_views.xml
index 28386737801..930b9e0b721 100644
--- a/pms/views/account_analytic_distribution_views.xml
+++ b/pms/views/account_analytic_distribution_views.xml
@@ -2,12 +2,12 @@
account.analytic.tag.form.add_distribution_tags
- account.analytic.tag
-
+ account.analytic.distribution.model
+
account.payment
-
+
diff --git a/pms/views/assets.xml b/pms/views/assets.xml
deleted file mode 100644
index adf5c24dcc2..00000000000
--- a/pms/views/assets.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pms/views/folio_portal_templates.xml b/pms/views/folio_portal_templates.xml
index 91bfd0a8f8c..f059a0657e4 100644
--- a/pms/views/folio_portal_templates.xml
+++ b/pms/views/folio_portal_templates.xml
@@ -14,7 +14,7 @@
Folios/
-
+
@@ -61,7 +61,7 @@
t-att-href="folio.get_portal_url()"
t-att-title="folio.name"
>
-
+
@@ -131,7 +131,7 @@
t-value="'/folio/pay/' + str(folio.id) + '/form_tx/'"
/>
- Pay
+ Pay
Pay Now
@@ -165,7 +165,7 @@
data-target="#pay_with"
>
Pay Now
@@ -177,7 +177,7 @@
data-target="#pay_with"
>
Pay Now
@@ -274,7 +274,7 @@
t-att-title="Precheckin"
>
Guests to Precheckin
diff --git a/pms/views/pms_availability_plan_views.xml b/pms/views/pms_availability_plan_views.xml
index 9d005dd6663..34d7214169f 100644
--- a/pms/views/pms_availability_plan_views.xml
+++ b/pms/views/pms_availability_plan_views.xml
@@ -40,7 +40,7 @@
-
+
-
-
diff --git a/pms/views/pms_folio_views.xml b/pms/views/pms_folio_views.xml
index 187b9bc281e..f31aa30329c 100644
--- a/pms/views/pms_folio_views.xml
+++ b/pms/views/pms_folio_views.xml
@@ -333,6 +333,7 @@
name="pricelist_id"
attrs="{'invisible': [('reservation_type', 'not in', 'normal')]}"
/>
+
+
+
+
+
+
+
@@ -798,7 +799,7 @@
@@ -879,6 +880,7 @@
optional="hide"
readonly="1"
/>
+
/
completed
@@ -80,7 +80,7 @@
Complete data
@@ -91,7 +91,7 @@
Host
Incomplete data
@@ -224,7 +224,7 @@
for="gender"
>Gender *
Select an option
-
+
@@ -396,7 +396,7 @@
>
-
+
@@ -512,10 +512,10 @@
t-att-state_id="zip_id.state_id.id"
t-att-city_name="zip_id.city_id.name"
>
-
@@ -566,7 +566,7 @@
t-att-id="country.id"
t-attf-onclick="selectCountry(this)"
>
-
+
@@ -601,7 +601,7 @@
t-attf-onclick="selectState(this)"
t-att-country-id="state.country_id.id"
>
-
+
@@ -1136,7 +1136,7 @@
t-att-title="reservation.sudo().room_type_id.name"
>
@@ -1161,7 +1161,7 @@
t-att-id="'host_name'+str(checkin_partner.id)"
name="guest_name"
>
-
+
@@ -1169,7 +1169,7 @@
t-att-id="'host_name'+str(checkin_partner.id)"
name="guest_name"
>
- Guest
+ Guest
@@ -1210,7 +1210,7 @@
Resend Email Invitation
Send Whatsapp Invitation
@@ -1286,7 +1286,7 @@
style="color:#fff; height:36px;"
>
Send Invitation
@@ -1456,8 +1456,8 @@
The quick registration system is not available for this reservation.
If you have any questions, you can contact us: Phone: Email:
+ />Phone: Email:
diff --git a/pms/views/res_partner_views.xml b/pms/views/res_partner_views.xml
index 5bbe305ebb5..a1e119b13bf 100644
--- a/pms/views/res_partner_views.xml
+++ b/pms/views/res_partner_views.xml
@@ -34,7 +34,6 @@
res.partner.view.form
res.partner
-
-
+
+
-
+
-
+
@@ -80,7 +80,7 @@
t-att-href="reservation.get_portal_url()"
t-att-title="reservation.name"
>
-
+
@@ -181,14 +181,14 @@
Room price:
Service total:
@@ -212,7 +212,7 @@
-
+
diff --git a/pms/views/traveller_report_template.xml b/pms/views/traveller_report_template.xml
index 3a28230ec07..db27038ace4 100644
--- a/pms/views/traveller_report_template.xml
+++ b/pms/views/traveller_report_template.xml
@@ -145,21 +145,13 @@
, at
-
-
-
-
-
+
Traveler's signature
-
@@ -308,7 +300,7 @@
, at
@@ -345,25 +337,11 @@
border:double;
border-width:1px;
}
- .sign{
- width: 100%;
+ .firma{
+ width: 85%;
border:dotted 1px;
- height: 100px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .signature-wrapper {
- width: 200px;
- height: 100px;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0 auto;
- }
- .checkin-signature {
- width: 100%;
- height: 100%;
+ height: 80px;
+ margin:0 auto;
}
p,.property{
text-align: center;
diff --git a/pms/wizards/folio_make_invoice_advance.py b/pms/wizards/folio_make_invoice_advance.py
index 54bd29d51b0..6460964e2f8 100644
--- a/pms/wizards/folio_make_invoice_advance.py
+++ b/pms/wizards/folio_make_invoice_advance.py
@@ -189,7 +189,7 @@ def _prepare_invoice_values(self, order, name, amount, line):
"product_uom_id": line.product_uom.id,
"tax_ids": [(6, 0, line.tax_ids.ids)],
"folio_line_ids": [(6, 0, [line.id])],
- "analytic_tag_ids": [(6, 0, line.analytic_tag_ids.ids)],
+ "analytic_distribution_ids": [(6, 0, line.analytic_distribution_ids.ids)],
"analytic_account_id": order.analytic_account_id.id or False,
},
)
@@ -219,7 +219,7 @@ def _create_invoice(self, order, line, amount):
)
return invoice
- def _prepare_line(self, order, analytic_tag_ids, tax_ids, amount):
+ def _prepare_line(self, order, analytic_distribution_ids, tax_ids, amount):
context = {"lang": order.partner_id.lang}
so_values = {
"name": self.product_id.name,
@@ -229,7 +229,7 @@ def _prepare_line(self, order, analytic_tag_ids, tax_ids, amount):
"discount": 0.0,
"product_uom": self.product_id.uom_id.id,
"product_id": self.product_id.id,
- "analytic_tag_ids": analytic_tag_ids,
+ "analytic_distribution_ids": analytic_distribution_ids,
"tax_ids": [(6, 0, tax_ids)],
"is_downpayment": True,
"sequence": order.sale_line_ids
@@ -292,15 +292,15 @@ def create_invoices(self):
lambda r: not order.company_id or r.company_id == order.company_id
)
tax_ids = order.fiscal_position_id.map_tax(taxes, self.product_id).ids
- analytic_tag_ids = []
+ analytic_distribution_ids = []
for line in order.sale_line_ids:
- analytic_tag_ids = [
- (4, analytic_tag.id, None)
- for analytic_tag in line.analytic_tag_ids
+ analytic_distribution_ids = [
+ (4, analytic_distribution.id, None)
+ for analytic_distribution in line.analytic_distribution_ids
]
line_values = self._prepare_line(
- order, analytic_tag_ids, tax_ids, amount
+ order, analytic_distribution_ids, tax_ids, amount
)
line = sale_line_obj.sudo().create(line_values)
invoices += self._create_invoice(order, line, amount)
diff --git a/pms/wizards/wizard_split_join_swap_reservation.py b/pms/wizards/wizard_split_join_swap_reservation.py
index 6e8faf474a1..6b98e169998 100644
--- a/pms/wizards/wizard_split_join_swap_reservation.py
+++ b/pms/wizards/wizard_split_join_swap_reservation.py
@@ -112,7 +112,6 @@ def _compute_reservation_ids(self):
]:
domain_lines = [
("occupies_availability", "=", True),
- ("overbooking", "=", False),
(
"pms_property_id",
"=",