This commit is contained in:
oscar alvarez 2022-07-13 16:55:07 -05:00
parent 11fd8dcb7a
commit cea43b571a
9 changed files with 190 additions and 52 deletions

View File

@ -134,7 +134,7 @@ class Booking(Workflow, ModelSQL, ModelView):
depends=['party']) depends=['party'])
vehicles_num = fields.Integer('Vehicles Number', states=STATES, vehicles_num = fields.Integer('Vehicles Number', states=STATES,
help="Number of vehicles that bring with guests.") help="Number of vehicles that bring with guests.")
vehicle_plate = fields.Integer('Vehicle Plate', states=STATES) vehicle_plate = fields.Char('Vehicle Plate', states=STATES)
travel_cause = fields.Char('Travel Cause', states=STATES) travel_cause = fields.Char('Travel Cause', states=STATES)
taxes_exception = fields.Boolean('Taxes Exception', states=STATES) taxes_exception = fields.Boolean('Taxes Exception', states=STATES)
total_advance = fields.Function(fields.Numeric('Total Advance', total_advance = fields.Function(fields.Numeric('Total Advance',
@ -230,11 +230,10 @@ class Booking(Workflow, ModelSQL, ModelView):
def get_stock_moves(self, name=None): def get_stock_moves(self, name=None):
moves = [] moves = []
# for folio in self.lines: for folio in self.lines:
# for charge in folio.charges: for charge in folio.charges:
# if charge.move: if charge.move:
# moves.append(charge.move.id) moves.append(charge.move.id)
# return moves
return moves return moves
@classmethod @classmethod
@ -1462,6 +1461,7 @@ class UpdateHolderStart(ModelView):
customer_email = fields.Char('Customer Email') customer_email = fields.Char('Customer Email')
customer_type_document = fields.Selection(TYPE_DOCUMENT, 'Tipo de Documento Cliente') customer_type_document = fields.Selection(TYPE_DOCUMENT, 'Tipo de Documento Cliente')
main_guest = fields.Boolean('Main Guest') main_guest = fields.Boolean('Main Guest')
vehicle_plate = fields.Char('Vehicle Plate')
@fields.depends('id_number','name', 'sex', 'email', 'mobile', @fields.depends('id_number','name', 'sex', 'email', 'mobile',
'visa_number', 'visa_date', 'address', 'birthday', 'nationality') 'visa_number', 'visa_date', 'address', 'birthday', 'nationality')
@ -1564,6 +1564,9 @@ class UpdateHolder(Wizard):
_party = self.start _party = self.start
rec_company = {} rec_company = {}
to_folio = {} to_folio = {}
if _party.vehicle_plate:
to_folio['vehicle_plate'] = _party.vehicle_plate
nationality_id = _party.nationality.id if _party.nationality else None nationality_id = _party.nationality.id if _party.nationality else None
rec = { rec = {
'name': _party.name.upper(), 'name': _party.name.upper(),

View File

@ -129,8 +129,8 @@ class Folio(ModelSQL, ModelView):
room_amount = fields.Function(fields.Numeric('Room Amount', room_amount = fields.Function(fields.Numeric('Room Amount',
digits=(16, 2), depends=['nights_quantity', 'unit_price'] digits=(16, 2), depends=['nights_quantity', 'unit_price']
), 'on_change_with_room_amount') ), 'on_change_with_room_amount')
stock_moves = fields.Many2Many('hotel.folio-stock.move', 'folio', # stock_moves = fields.Many2Many('hotel.folio-stock.move', 'folio',
'move', 'Stock Moves', states={'readonly': True}) # 'move', 'Stock Moves', states={'readonly': True})
channel = fields.Function(fields.Many2One('hotel.channel', 'Channel'), channel = fields.Function(fields.Many2One('hotel.channel', 'Channel'),
'get_channel') 'get_channel')
num_children = fields.Function(fields.Integer('Num. Children'), num_children = fields.Function(fields.Integer('Num. Children'),
@ -139,6 +139,7 @@ class Folio(ModelSQL, ModelView):
'get_num_guests') 'get_num_guests')
stock_moves = fields.Function(fields.One2Many('stock.move', 'origin', 'Moves', stock_moves = fields.Function(fields.One2Many('stock.move', 'origin', 'Moves',
readonly=True), 'get_stock_moves') readonly=True), 'get_stock_moves')
vehicle_plate = fields.Char('Vehicle Plate')
@classmethod @classmethod
def __setup__(cls): def __setup__(cls):
@ -292,7 +293,8 @@ class Folio(ModelSQL, ModelView):
def get_stock_moves(self, name=None): def get_stock_moves(self, name=None):
moves = [] moves = []
for charge in self.charges: for charge in self.charges:
moves.append(charge.move) if charge.move:
moves.append(charge.move.id)
return moves return moves
def create_invoice(self): def create_invoice(self):

View File

@ -150,6 +150,10 @@ msgctxt "field:hotel.booking,payment_term:"
msgid "Payment Term" msgid "Payment Term"
msgstr "Plazo de Pago" msgstr "Plazo de Pago"
msgctxt "field:hotel.booking,payments:"
msgid "Payments"
msgstr "Pagos"
msgctxt "field:hotel.booking,pending_to_pay:" msgctxt "field:hotel.booking,pending_to_pay:"
msgid "Pending to Pay" msgid "Pending to Pay"
msgstr "Pendiente por Pagar" msgstr "Pendiente por Pagar"
@ -168,7 +172,7 @@ msgstr "Lista de precios"
msgctxt "field:hotel.booking,reason:" msgctxt "field:hotel.booking,reason:"
msgid "Tourism Segment" msgid "Tourism Segment"
msgstr "Turismo" msgstr "Segmento"
msgctxt "field:hotel.booking,registration_state:" msgctxt "field:hotel.booking,registration_state:"
msgid "State Registration" msgid "State Registration"
@ -182,6 +186,10 @@ msgctxt "field:hotel.booking,state:"
msgid "State" msgid "State"
msgstr "Estado" msgstr "Estado"
msgctxt "field:hotel.booking,stock_moves:"
msgid "Moves"
msgstr "Movimientos de Inventario"
msgctxt "field:hotel.booking,tax_amount:" msgctxt "field:hotel.booking,tax_amount:"
msgid "Tax Amount" msgid "Tax Amount"
msgstr "Impuestos" msgstr "Impuestos"
@ -242,6 +250,14 @@ msgctxt "field:hotel.booking-channel.commission,commission:"
msgid "Channel Commission" msgid "Channel Commission"
msgstr "Comisión del Canal" msgstr "Comisión del Canal"
msgctxt "field:hotel.booking-statement.line,booking:"
msgid "Booking"
msgstr "Reservas"
msgctxt "field:hotel.booking-statement.line,statement_line:"
msgid "Statement Line"
msgstr "Linea de Estado de Cuenta"
msgctxt "field:hotel.booking.select_rooms.ask,accommodation:" msgctxt "field:hotel.booking.select_rooms.ask,accommodation:"
msgid "Accommodation" msgid "Accommodation"
msgstr "Acomodación" msgstr "Acomodación"
@ -555,8 +571,12 @@ msgid "Room Amount"
msgstr "Importe Habitación" msgstr "Importe Habitación"
msgctxt "field:hotel.folio,stock_moves:" msgctxt "field:hotel.folio,stock_moves:"
msgid "Stock Moves" msgid "Moves"
msgstr "Movimientos de existencias" msgstr "Movimientos de Inventarios"
msgctxt "field:hotel.folio,storage:"
msgid "Storage"
msgstr "Almacen"
msgctxt "field:hotel.folio,to_invoice:" msgctxt "field:hotel.folio,to_invoice:"
msgid "To Invoice" msgid "To Invoice"
@ -590,6 +610,10 @@ msgctxt "field:hotel.folio,uom:"
msgid "UOM" msgid "UOM"
msgstr "UdM" msgstr "UdM"
msgctxt "field:hotel.folio,vehicle_plate:"
msgid "Vehicle Plate"
msgstr "Placa Vehículo"
msgctxt "field:hotel.folio-stock.move,folio:" msgctxt "field:hotel.folio-stock.move,folio:"
msgid "Folio" msgid "Folio"
msgstr "Folio" msgstr "Folio"
@ -622,6 +646,10 @@ msgctxt "field:hotel.folio.charge,invoice_to:"
msgid "Invoice To" msgid "Invoice To"
msgstr "Facturar a" msgstr "Facturar a"
msgctxt "field:hotel.folio.charge,move:"
msgid "Move"
msgstr "Movimiento de Inventario"
msgctxt "field:hotel.folio.charge,order:" msgctxt "field:hotel.folio.charge,order:"
msgid "Order" msgid "Order"
msgstr "Orden" msgstr "Orden"
@ -638,6 +666,10 @@ msgctxt "field:hotel.folio.charge,state:"
msgid "State" msgid "State"
msgstr "Estado" msgstr "Estado"
msgctxt "field:hotel.folio.charge,storage:"
msgid "Storage"
msgstr "Almacen"
msgctxt "field:hotel.folio.charge,taxed_amount:" msgctxt "field:hotel.folio.charge,taxed_amount:"
msgid "Amount with Tax" msgid "Amount with Tax"
msgstr "Valor Total" msgstr "Valor Total"
@ -1218,6 +1250,10 @@ msgctxt "field:hotel.update_holder.start,type_document:"
msgid "Tipo de Documento" msgid "Tipo de Documento"
msgstr "Tipo de Documento" msgstr "Tipo de Documento"
msgctxt "field:hotel.update_holder.start,vehicle_plate:"
msgid "Vehicle Plate"
msgstr "Placa Vehículo"
msgctxt "field:hotel.update_holder.start,visa_date:" msgctxt "field:hotel.update_holder.start,visa_date:"
msgid "Visa Date" msgid "Visa Date"
msgstr "Fecha de Expedición de Visa" msgstr "Fecha de Expedición de Visa"
@ -1270,6 +1306,34 @@ msgctxt "field:sale.sale-account.voucher,voucher:"
msgid "Voucher" msgid "Voucher"
msgstr "Comprobante" msgstr "Comprobante"
msgctxt "field:sale_shop.payment_form.start,amount_to_pay:"
msgid "Amount to Pay"
msgstr "Importe a pagar"
msgctxt "field:sale_shop.payment_form.start,currency_digits:"
msgid "Currency Digits"
msgstr "Decimales de Moneda"
msgctxt "field:sale_shop.payment_form.start,party:"
msgid "Party"
msgstr "Tercero"
msgctxt "field:sale_shop.payment_form.start,require_voucher:"
msgid "Require Voucher"
msgstr "Requiere Voucher"
msgctxt "field:sale_shop.payment_form.start,statement:"
msgid "Statement"
msgstr "Estado de Cuenta"
msgctxt "field:sale_shop.payment_form.start,user:"
msgid "User"
msgstr "Usuario"
msgctxt "field:sale_shop.payment_form.start,voucher:"
msgid "Voucher"
msgstr "Comprobante"
msgctxt "help:company.company,property_code:" msgctxt "help:company.company,property_code:"
msgid "Code on channel manager" msgid "Code on channel manager"
msgstr "Código en gestor de canales" msgstr "Código en gestor de canales"
@ -1360,6 +1424,10 @@ msgctxt "model:hotel.booking-channel.commission,name:"
msgid "Booking Channel Commision" msgid "Booking Channel Commision"
msgstr "Comisión del Canal" msgstr "Comisión del Canal"
msgctxt "model:hotel.booking-statement.line,name:"
msgid "Booking - Statement Line"
msgstr "Reserva - Linea de Estado de Cuenta"
msgctxt "model:hotel.booking.select_rooms.ask,name:" msgctxt "model:hotel.booking.select_rooms.ask,name:"
msgid "Select Rooms Assistant" msgid "Select Rooms Assistant"
msgstr "Seleccionar Habitaciones" msgstr "Seleccionar Habitaciones"
@ -1453,7 +1521,7 @@ msgid "Guests List Start"
msgstr "Lista de Huespedes" msgstr "Lista de Huespedes"
msgctxt "model:hotel.print_housekeeping_service.start,name:" msgctxt "model:hotel.print_housekeeping_service.start,name:"
msgid "Print Housekeeping service Start" msgid "Print Housekeeping Service Start"
msgstr "Ama de Llaves" msgstr "Ama de Llaves"
msgctxt "model:hotel.print_manager.start,name:" msgctxt "model:hotel.print_manager.start,name:"
@ -1676,6 +1744,10 @@ msgctxt "model:ir.action,name:wizard_select_rooms"
msgid "Select Rooms" msgid "Select Rooms"
msgstr "Selecionar Habitaciones" msgstr "Selecionar Habitaciones"
msgctxt "model:ir.action,name:wizard_statement_payment_form"
msgid "Pay"
msgstr "Pago"
msgctxt "model:ir.action,name:wizard_update_holder" msgctxt "model:ir.action,name:wizard_update_holder"
msgid "Create / Update Guest" msgid "Create / Update Guest"
msgstr "Crear / Actualizar Huesped" msgstr "Crear / Actualizar Huesped"
@ -1808,6 +1880,10 @@ msgctxt "model:ir.message,text:msg_missing_main_guest"
msgid "Missing main guest in lines!" msgid "Missing main guest in lines!"
msgstr "Falta el huesped principal en las líneas!" msgstr "Falta el huesped principal en las líneas!"
msgctxt "model:ir.message,text:msg_missing_party_holder"
msgid "Missing party holder!"
msgstr "Falta el cliente / titular!"
msgctxt "model:ir.message,text:msg_missing_select_room" msgctxt "model:ir.message,text:msg_missing_select_room"
msgid "Missing select room!" msgid "Missing select room!"
msgstr "Falta seleccionar la habitación!" msgstr "Falta seleccionar la habitación!"
@ -2008,6 +2084,10 @@ msgctxt "model:sale.sale-account.voucher,name:"
msgid "Sale - Voucher" msgid "Sale - Voucher"
msgstr "Venta - Comprobante" msgstr "Venta - Comprobante"
msgctxt "model:sale_shop.payment_form.start,name:"
msgid "Statement Payment Form"
msgstr "Formulario de Pago"
msgctxt "report:hotel.booking:" msgctxt "report:hotel.booking:"
msgid "$" msgid "$"
msgstr "$" msgstr "$"
@ -3205,17 +3285,8 @@ msgctxt "report:hotel.booking_statement:"
msgid ":" msgid ":"
msgstr ":" msgstr ":"
#, fuzzy
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "A" msgid "ADVANCES"
msgstr "A"
msgctxt "report:hotel.booking_statement:"
msgid "ACCOMMODATION"
msgstr ""
msgctxt "report:hotel.booking_statement:"
msgid "ALOJAMIENTO"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3231,6 +3302,10 @@ msgctxt "report:hotel.booking_statement:"
msgid "ANTICIPOS" msgid "ANTICIPOS"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_statement:"
msgid "ARRIVAL:"
msgstr ""
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "ARTY" msgid "ARTY"
msgstr "" msgstr ""
@ -3252,12 +3327,17 @@ msgctxt "report:hotel.booking_statement:"
msgid "CHANNEL" msgid "CHANNEL"
msgstr "" msgstr ""
#, fuzzy
msgctxt "report:hotel.booking_statement:"
msgid "CLIENTE"
msgstr "CLIENTE"
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "CUENTA" msgid "CUENTA"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "CUSTOMER / CLIENTE" msgid "CUSTOMER /"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3265,8 +3345,13 @@ msgctxt "report:hotel.booking_statement:"
msgid "D" msgid "D"
msgstr "D" msgstr "D"
#, fuzzy
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "DATE" msgid "DATE"
msgstr "FECHA"
msgctxt "report:hotel.booking_statement:"
msgid "DEPARTURE:"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3361,6 +3446,14 @@ msgctxt "report:hotel.booking_statement:"
msgid "Recepcionista" msgid "Recepcionista"
msgstr "" msgstr ""
msgctxt "report:hotel.booking_statement:"
msgid "SERVICES"
msgstr ""
msgctxt "report:hotel.booking_statement:"
msgid "SERVICIOS"
msgstr ""
msgctxt "report:hotel.booking_statement:" msgctxt "report:hotel.booking_statement:"
msgid "SOFTWARE TRYTON HOTELES" msgid "SOFTWARE TRYTON HOTELES"
msgstr "" msgstr ""
@ -3397,6 +3490,10 @@ msgctxt "report:hotel.booking_statement:"
msgid "" msgid ""
msgstr "" msgstr ""
msgctxt "report:hotel.booking_statement:"
msgid " PAYMENTS / PAGOS"
msgstr ""
msgctxt "report:hotel.folio.registration_card:" msgctxt "report:hotel.folio.registration_card:"
msgid "" msgid ""
". El día hotelero comprende el lapso de 24 horas de permanencia del HUÉSPED " ". El día hotelero comprende el lapso de 24 horas de permanencia del HUÉSPED "
@ -3872,16 +3969,20 @@ msgctxt "report:hotel.folio:"
msgid "/" msgid "/"
msgstr "/" msgstr "/"
msgctxt "report:hotel.folio:"
msgid "/ CLIENTE"
msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "/ DESCRIPCIÓN" msgid "/ DESCRIPCIÓN"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "/ NUMBER" msgid "/ FECHA SALIDA"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "/ PAY MODE" msgid "/ NUMBER"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3920,7 +4021,7 @@ msgid "ANTICIPOS"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "ARRIVAL DATE /" msgid "ARRIVAL DATE"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
@ -3932,7 +4033,7 @@ msgid "ATE"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "BOOKING /" msgid "BOOKING"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3953,7 +4054,7 @@ msgid "CUENTA"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "CUSTOMER / CLIENTE" msgid "CUSTOMER"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3962,7 +4063,7 @@ msgid "D"
msgstr "D" msgstr "D"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "DEPARTURE DATE / FECHA SALIDA" msgid "DEPARTURE DATE"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@ -3978,10 +4079,6 @@ msgctxt "report:hotel.folio:"
msgid "ECIO UNIT." msgid "ECIO UNIT."
msgstr "" msgstr ""
msgctxt "report:hotel.folio:"
msgid "ESTADO"
msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "F" msgid "F"
msgstr "" msgstr ""
@ -3999,13 +4096,17 @@ msgid "FOLIO(S)"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "GUEST /" msgid "GUEST"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "H" msgid "H"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:"
msgid "HABITACIÓN"
msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "INVOICE TO" msgid "INVOICE TO"
msgstr "" msgstr ""
@ -4018,6 +4119,14 @@ msgctxt "report:hotel.folio:"
msgid "MAIN" msgid "MAIN"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:"
msgid "MEDIO DE PAGO"
msgstr ""
msgctxt "report:hotel.folio:"
msgid "MODE"
msgstr ""
#, fuzzy #, fuzzy
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "N" msgid "N"
@ -4054,7 +4163,7 @@ msgid "P"
msgstr "P" msgstr "P"
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "PAYMENT AMOUNT" msgid "PAYMENT"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
@ -4074,7 +4183,7 @@ msgid "RESERVA:"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "ROOM / HABITACIÓN" msgid "ROOM /"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
@ -4085,10 +4194,6 @@ msgctxt "report:hotel.folio:"
msgid "SOFTWARE TRYTON HOTELES" msgid "SOFTWARE TRYTON HOTELES"
msgstr "" msgstr ""
msgctxt "report:hotel.folio:"
msgid "STATE"
msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "SUB" msgid "SUB"
msgstr "" msgstr ""
@ -4105,6 +4210,14 @@ msgctxt "report:hotel.folio:"
msgid "TOTAL" msgid "TOTAL"
msgstr "TOTAL" msgstr "TOTAL"
msgctxt "report:hotel.folio:"
msgid "TOTAL PAGOS /"
msgstr ""
msgctxt "report:hotel.folio:"
msgid "TOTAL PAYMENTS"
msgstr ""
msgctxt "report:hotel.folio:" msgctxt "report:hotel.folio:"
msgid "UESPED" msgid "UESPED"
msgstr "" msgstr ""
@ -6273,10 +6386,6 @@ msgctxt "view:hotel.booking:"
msgid "Create/Update Holder" msgid "Create/Update Holder"
msgstr "Crear / Actualizar Titular" msgstr "Crear / Actualizar Titular"
msgctxt "view:hotel.booking:"
msgid "Do Pay"
msgstr "Hacer un Pago"
msgctxt "view:hotel.booking:" msgctxt "view:hotel.booking:"
msgid "Lines" msgid "Lines"
msgstr "Líneas" msgstr "Líneas"
@ -6289,6 +6398,14 @@ msgctxt "view:hotel.booking:"
msgid "Offer" msgid "Offer"
msgstr "Oferta" msgstr "Oferta"
msgctxt "view:hotel.booking:"
msgid "Pay / Advance"
msgstr "Pagar / Anticipo"
msgctxt "view:hotel.booking:"
msgid "Payments"
msgstr "Pagos"
msgctxt "view:hotel.booking:" msgctxt "view:hotel.booking:"
msgid "Select Rooms" msgid "Select Rooms"
msgstr "Selecionar Habitaciones" msgstr "Selecionar Habitaciones"
@ -6297,6 +6414,10 @@ msgctxt "view:hotel.booking:"
msgid "Send Email" msgid "Send Email"
msgstr "Enviar Email" msgstr "Enviar Email"
msgctxt "view:hotel.booking:"
msgid "Stock"
msgstr "Logística"
msgctxt "view:hotel.folio.charge:" msgctxt "view:hotel.folio.charge:"
msgid "Transfer" msgid "Transfer"
msgstr "Transferencia" msgstr "Transferencia"
@ -6532,3 +6653,11 @@ msgstr "Cancelar"
msgctxt "wizard_button:hotel.update_holder,start,update:" msgctxt "wizard_button:hotel.update_holder,start,update:"
msgid "Update" msgid "Update"
msgstr "Actualizar" msgstr "Actualizar"
msgctxt "wizard_button:sale_shop.payment_form,start,end:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:sale_shop.payment_form,start,pay_:"
msgid "Pay"
msgstr "Pago"

View File

@ -20,8 +20,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="nights_quantity"/> <field name="nights_quantity"/>
<label name="unit_price"/> <label name="unit_price"/>
<field name="unit_price"/> <field name="unit_price"/>
<!-- <label name="party"/>
<field name="party"/> -->
<label name="host_quantity"/> <label name="host_quantity"/>
<field name="host_quantity"/> <field name="host_quantity"/>
<label name="breakfast_included"/> <label name="breakfast_included"/>
@ -32,13 +30,15 @@ this repository contains the full copyright notices and license terms. -->
<field name="reference"/> <field name="reference"/>
<label name="estimated_arrival_time"/> <label name="estimated_arrival_time"/>
<field name="estimated_arrival_time"/> <field name="estimated_arrival_time"/>
<label name="vehicle_plate"/>
<field name="vehicle_plate"/>
<notebook colspan="6"> <notebook colspan="6">
<page string="Charges and Guests" id="hotel_charges"> <page string="Charges and Guests" id="hotel_charges">
<field name="charges" colspan="4"/> <field name="charges" colspan="4"/>
<field name="guests" colspan="4"/> <field name="guests" colspan="4"/>
</page> </page>
<page string="Stock" id="stock"> <page string="Stock" id="stock">
<!-- <field name="stock_moves" colspan="4"/> --> <field name="stock_moves" colspan="4"/>
</page> </page>
<page string="Additional Info" id="folio_additional_info"> <page string="Additional Info" id="folio_additional_info">
<label name="commission_amount"/> <label name="commission_amount"/>

View File

@ -28,6 +28,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="reference"/> <field name="reference"/>
<label name="estimated_arrival_time"/> <label name="estimated_arrival_time"/>
<field name="estimated_arrival_time"/> <field name="estimated_arrival_time"/>
<label name="vehicle_plate"/>
<field name="vehicle_plate"/>
<notebook colspan="6"> <notebook colspan="6">
<page string="Charges and Guests" id="hotel_charges"> <page string="Charges and Guests" id="hotel_charges">
<field name="charges" colspan="4"/> <field name="charges" colspan="4"/>

View File

@ -30,7 +30,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="price_list" widget="selection"/> <field name="price_list" widget="selection"/>
<button name="select_rooms" string="Select Rooms" <button name="select_rooms" string="Select Rooms"
icon="tryton-open" colspan="2"/> icon="tryton-open" colspan="2"/>
<button name="do_pay" string="Do Pay" icon="tryton-open"/> <!-- <button name="do_pay" string="Do Pay" icon="tryton-open"/> -->
<button name="do_payment" string="Pay / Advance" icon="tryton-open"/> <button name="do_payment" string="Pay / Advance" icon="tryton-open"/>
<button name="send_email" string="Send Email" icon="tryton-open"/> <button name="send_email" string="Send Email" icon="tryton-open"/>
<notebook colspan="6"> <notebook colspan="6">

View File

@ -16,8 +16,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="unit_price"/> <field name="unit_price"/>
<label name="unit_price_w_tax"/> <label name="unit_price_w_tax"/>
<field name="unit_price_w_tax"/> <field name="unit_price_w_tax"/>
<!-- <label name="invoice_to"/> <label name="invoice_to"/>
<field name="invoice_to"/> --> <field name="invoice_to"/>
<label name="amount"/> <label name="amount"/>
<field name="amount"/> <field name="amount"/>
<label name="invoice_line"/> <label name="invoice_line"/>

View File

@ -10,7 +10,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="unit_price_w_tax"/> <field name="unit_price_w_tax"/>
<field name="amount" expand="1"/> <field name="amount" expand="1"/>
<field name="order"/> <field name="order"/>
<!-- <field name="invoice_to"/> --> <field name="invoice_to"/>
<field name="state" expand="1"/> <field name="state" expand="1"/>
<field name="invoice_line"/> <field name="invoice_line"/>
</tree> </tree>

View File

@ -21,6 +21,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="sex"/> <field name="sex"/>
<label name="birthday"/> <label name="birthday"/>
<field name="birthday"/> <field name="birthday"/>
<label name="vehicle_plate"/>
<field name="vehicle_plate"/>
</group> </group>
<group colspan="4" col="4" id="travel_info" string="Travel Info"> <group colspan="4" col="4" id="travel_info" string="Travel Info">
<label name="origin_country"/> <label name="origin_country"/>