mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] Change Hotel by PMS and Property concept
This commit is contained in:
34
pms/data/cron_jobs.xml
Normal file
34
pms/data/cron_jobs.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<data noupdate="0">
|
||||
|
||||
<!-- Scheduler For To Inform Guest About Reservation Before 24 Hours -->
|
||||
<record model="ir.cron" id="Guest_reservation_reminder_24hrs">
|
||||
<field name="name">Inform Guest About Reservation Before 24 Hours</field>
|
||||
<field name="interval_number">1</field>
|
||||
<field name="interval_type">days</field>
|
||||
<field name="numbercall">-1</field>
|
||||
<field name="doall" eval="False" />
|
||||
<field name="model_id" ref="model_pms_reservation" />
|
||||
<field name="code">model.reservation_reminder_24hrs()</field>
|
||||
</record>
|
||||
|
||||
<!-- Scheduler For To Inform Guest About Reservation Before 24 Hours -->
|
||||
<record model="ir.cron" id="autocheckout_reservations">
|
||||
<field name="name">Automatic Checkout on past reservations</field>
|
||||
<field name="interval_number">1</field>
|
||||
<field name="user_id" ref="base.user_root" />
|
||||
<field name="interval_type">days</field>
|
||||
<field name="numbercall">-1</field>
|
||||
<field name="doall" eval="False" />
|
||||
<field name="state">code</field>
|
||||
<field name="model_id" ref="model_pms_reservation" />
|
||||
<field name="nextcall" eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 05:00:00')"/>
|
||||
<field name="code">model.autocheckout()</field>
|
||||
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
</odoo>
|
||||
711
pms/data/email_template_cancel.xml
Normal file
711
pms/data/email_template_cancel.xml
Normal file
@@ -0,0 +1,711 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE xml>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- Email Template For PMS Reservation -->
|
||||
<record id="mail_template_pms_cancel" model="mail.template">
|
||||
<field name="name">Cancel Reservation-Send by Email</field>
|
||||
<field name="subject">Cancelación de su reserva en ${object.company_id.property_name}</field>
|
||||
<field name="partner_to">${(object.partner_id.id or '')}</field>
|
||||
<field name="model_id" ref="pms.model_pms_folio"/>
|
||||
<field name="auto_delete" eval="True" />
|
||||
<field name="body_html">
|
||||
<![CDATA[
|
||||
<style type="text/css">
|
||||
/*Global Styles*/
|
||||
.global {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-width: 100% !important;
|
||||
}
|
||||
a {
|
||||
color: #5e96ea;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
img {
|
||||
height: auto;
|
||||
}
|
||||
.content {
|
||||
border: 1px solid #eeeeee;
|
||||
}
|
||||
.logo {
|
||||
font-family: sans-serif;
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
.link a {
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.subheading {
|
||||
font-size: 14px;
|
||||
color: #cccccc;
|
||||
font-family: sans-serif;
|
||||
font-weight: bold;
|
||||
padding: 0 0 0 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.h1 {
|
||||
font-family: sans-serif;
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
line-height: 56px;
|
||||
color: #ffffff;
|
||||
padding: 0 0 0 0;
|
||||
}
|
||||
.h2 {
|
||||
font-family: sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #444444;
|
||||
padding: 0 0 0 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.h3 {
|
||||
font-family: sans-serif;
|
||||
font-size: 24px;
|
||||
font-weight: regular;
|
||||
color: #555555;
|
||||
padding: 0 0 0 0;
|
||||
}
|
||||
.h4 {
|
||||
font-family: sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #666666;
|
||||
padding: 0 0 0 0;
|
||||
}
|
||||
.paragraph {
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
color: #666666;
|
||||
font-weight: 200;
|
||||
padding: 20px 0 0 0;
|
||||
}
|
||||
.listitem {
|
||||
font-family: sans-serif;
|
||||
font-size: 15px;
|
||||
color: #666666;
|
||||
font-weight: 200;
|
||||
padding: 0 0 20px 0;
|
||||
}
|
||||
.smalltext {
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
color: #cccccc;
|
||||
padding: 3px 0 0 0;
|
||||
}
|
||||
.borderbottom {
|
||||
border-bottom: 1px solid #f2eeed;
|
||||
}
|
||||
/*Media Queries*/
|
||||
@media only screen and (max-width: 651px) {
|
||||
.columns {
|
||||
width: 100% !important;
|
||||
}
|
||||
.columncontainer {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.paragraph,
|
||||
.listitem {
|
||||
font-size: 18px;
|
||||
}
|
||||
.link {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 651px) {
|
||||
.content {
|
||||
width: 650px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div style="bgcolor:#ffffff; margin: 0; padding: 0; min-width: 100%!important;">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table width="540" align="center" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<![endif]-->
|
||||
<!--Content Wrapper-->
|
||||
<table class="content" background-color="#f6f6f6" style="width: 650px !important; border: 1px solid #eeeeee; background-color:#f6f6f6;" cellspacing="0" cellpadding="0" border="0" align="center">
|
||||
<!--Header-->
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 30px 30px 20px 30px;background-color:#1B1B1B">
|
||||
<table class="columns" width="100%" cellspacing="0" cellpadding="0" border="0x">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<img src="https://www.aldahotels.es/firma/email/llegada/logobl.png" alt="Alda Hotels" width="251" height="57">
|
||||
<table class="columns" width="100%" cellspacing="0" cellpadding="0" border="0x">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="50%" valign="middle">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0px 0px 0px 0px;" valign="middle" align="right">
|
||||
<table class="link" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0px 15px 0px 0px;">
|
||||
<a href="#" style="color:#FFFFFF">www.aldahotels.com</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<!--1 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 60px 30px 60px 30px;">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="h2" align="center"> Tu reserva se ha cancelado en ${object.company_id.property_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 0 0;" align="center">
|
||||
<table style="width: 50px;" width="50px" height="5px" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="font-size: 1px; line-height: 5px;" height="5px" bgcolor="#45C2B1">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="justify">Hola ${object.partner_id.firstname}<br>
|
||||
Tu reserva en <b>${object.company_id.property_name}</b> se ha anulado correctamente. No es necesario que hagas nada más.
|
||||
Si la cancelación conlleva la devolución de alguna cantidad, nos pondremos en contacto contigo.
|
||||
En caso de que tengas alguna duda, estaremos encantados de atenderte.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 0px 0; " align="center">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="tel:${object.company_id.phone}" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #45C2B1; border-color: #45C2B1; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Contactar
|
||||
</div>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Section with sidebar-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 30px 0px 0px 0px;">
|
||||
<table class="columns" width="650" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="10%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 0px 0px 30px;" height="115">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/cancelada.png" alt="Cancelación" border="0">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="columncontainer" width="90%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px 20px 30px;" valign="top">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="h2" style="color: #45C2B1">Datos de tu reserva cancelada</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="subheading" style="color: #555555" align="justify">
|
||||
<strong>${object.partner_id.name}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="justify">
|
||||
% if object.partner_id.contact_address:
|
||||
${object.partner_id.contact_address}<br>
|
||||
% endif
|
||||
<br>
|
||||
% for rline in object.get_grouped_reservations_json('cancelled'):
|
||||
<strong>
|
||||
${rline['num']} x ${rline['room_type']['name']}
|
||||
% if rline['childrens'] == 0:
|
||||
(${rline['adults']} Adultos)
|
||||
% else:
|
||||
(${rline['adults']} Adultos + ${rline['childrens']} Niños)
|
||||
% endif
|
||||
<br />
|
||||
</strong>
|
||||
<br>
|
||||
<strong style="margin-left:2em">Entrada</strong>: ${format_tz(rline['checkin']+ ' 00:00:00', format="%d de %B de %Y")}<br>
|
||||
<strong style="margin-left:2em">Salida</strong>: ${format_tz(rline['checkout']+ ' 00:00:00', format="%d de %B de %Y")}<br>
|
||||
<strong style="margin-left:2em" 2="">Nº de noches</strong>: ${rline['nights']}<br><br>
|
||||
% endfor
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail importes-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 30px 0px 0px 0px;">
|
||||
<table class="columns" width="650" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="10%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 0px 0px 30px;" height="115">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/importes.png" alt="Pago" border="0">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="columncontainer" width="90%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 30px 20px 30px;" valign="top">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="h2" style="color: #45C2B1">IMPORTES</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="subheading" style="color: #555555" align="justify">
|
||||
<strong>Noches</strong>: ${len(object.reservation_ids[0].reservation_lines)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="justify">
|
||||
<strong>Base imponible</strong>: ${object.amount_untaxed} €<br>
|
||||
<strong>I.V.A (10%)</strong>: ${object.amount_tax} €<br>
|
||||
<strong>Precio total</strong>: ${object.amount_total} €<br>
|
||||
<strong>Coste de cancelación</strong>: [[importe]]<br>
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Section with sidebar-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Block Layout-->
|
||||
<tr>
|
||||
<td>
|
||||
<table class="columns" width="650" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="50%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="50%" valign="top" bgcolor="#f9f9f9">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="columncontainer" width="50%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 0px 30px;">
|
||||
<table class="columns" width="620" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="50%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="h2" style="color: #45C2B1">NUESTRAS REDES SOCIALES</td>
|
||||
<td style="padding: 0 0 30px 0;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--3 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 0px 30px;">
|
||||
<table class="columns" width="620" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
<td class="columncontainer" width="33%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 15px 15px 0px;" valign="top">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0 0 20px 0;" align="center">
|
||||
<a href="https://www.facebook.com/aldahotels" target="_blank">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/fb.png" alt="Facebook" width="51" height="50" border="0">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #3B5998; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"
|
||||
align="center"> Facebook</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 10px 0;" align="center">
|
||||
<table style="width: 50px;" width="50px" height="5px" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td background-color="#3B5998" style="font-size: 1px; line-height: 5px;" height="5px">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="center"> Toda la actualidad de nuestros alojamientos, así como ofertas y promociones.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 20px 0; " align="center">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://www.facebook.com/aldahotels" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #45C2B1; border-color: #45C2B1; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Dale
|
||||
a Me gusta</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="columncontainer" width="33%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 15px 15px 0px;" valign="top">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0 0 20px 0;" align="center">
|
||||
<a href="https://www.instagram.com/aldahotels" target="_blank">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/ig.png" alt="Instagram" width="50" height="50" border="0">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #E56459; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"
|
||||
align="center"> Instagram</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 10px 0;" align="center">
|
||||
<table style="width: 50px;" width="50px" height="5px" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td background-color="#E56459" style="font-size: 1px; line-height: 5px;" height="5px">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="center"> Cada detalle cuenta, y es por eso que tratamos de reflejarlo en nuestras fotos.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 20px 0; " align="center">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://www.instagram.com/aldahotels/" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #45C2B1; border-color: #45C2B1; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">#Entra
|
||||
</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="columncontainer" width="33%">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 20px 15px 15px 0px;" valign="top">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0 0 20px 0;" align="center">
|
||||
<a href="https://www.twitter.com/aldahotels" target="_blank">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/tw.png" alt="Twitter" width="50" height="50" border="0">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #1DA1F2; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"
|
||||
align="center"> Twitter</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 10px 0;" align="center">
|
||||
<table style="width: 50px;" width="50px" height="5px" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td background-color="#1DA1F2" style="font-size: 1px; line-height: 5px;" height="5px">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paragraph" style="padding: 10px 0 0 0;" align="center"> Propuestas al minuto para hacer de tu viaje una experiencia inmejorable.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 20px 0 20px 0; " align="center">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://www.twitter.com/aldahotels" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #45C2B1; border-color: #45C2B1; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Síguenos
|
||||
</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--1 Column-->
|
||||
<tr>
|
||||
<td style="padding: 30px 30px 20px 30px;background-color:#45C2B1">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #FFFFFF; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;" align="center"> ¡Esperamos verte
|
||||
pronto!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 45px 0px 30px 30px;" valign="middle" align="center">
|
||||
<table class="columns" width="620" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/logo.png" alt="Alda Hotels" width="300" height="75">
|
||||
<table class="columns" width="620" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Footer-->
|
||||
<tr>
|
||||
<td class="footer">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="smalltext" style="color: #828282; padding: 20px 20px 20px 20px;" align="justify">“En cumplimiento de la Ley 34/2002 de Servicios de la Sociedad de la Información y del Comercio Electrónico (LSSI-CE), así como lo dispuesto en el Reglamento General de Protección de Datos y demás legislación concordante, le informamos de que sus datos personales figuran en un sistema de tratamiento automatizado cuya responsabilidad es de Hoteles Rías Altas SL, con dirección postal a efecto de notificación en PLAZA DE ALGALIA DE ARRIBA, Nº 3 – 15704 SANTIAGO DE COMPOSTELA. Los datos personales que existen en nuestro poder están protegidos por nuestra Política de Privacidad y serán tratados con la finalidad de atender su solicitud de información o contacto, así como mantenerle informado de nuestros productos y servicios, actuales o futuros. Los datos no se cederán a terceros salvo en los casos en que exista una obligación legal. Para ejercer sus derechos de acceso, rectificación, cancelación, oposición, limitación, supresión y/o portabilidad debe enviar un correo electrónico a protecciondatos@aldahotels.com” “Este correo podría ser confidencial. Si recibe este e-mail por error, por favor elimínelo, así como cualquier documento adjunto, y notifíquelo a su emisor. Si usted no es el destinatario del mensaje, sepa que no está permitida ninguna difusión, copia o utilización no autorizada.”</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listitem" style="color: #0A5F19; padding: 0px 0px 0px 0px" valign="middle" align="center">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/eco.png" width="30" height="30">
|
||||
<strong>Antes de imprimir este mensaje, compruebe que es verdaderamente necesario. El medioambiente es cosa de todos. </strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
579
pms/data/email_template_exit.xml
Normal file
579
pms/data/email_template_exit.xml
Normal file
@@ -0,0 +1,579 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE xml>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- Email Template For PMS Reservation -->
|
||||
<record id="mail_template_pms_exit" model="mail.template">
|
||||
<field name="name">Exit Reservation-Send by Email</field>
|
||||
<field name="subject">Gracias por alojarse con nosotros en ${object.company_id.property_name}</field>
|
||||
<field name="partner_to">${(object.partner_id.id or '')}</field>
|
||||
<field name="model_id" ref="pms.model_pms_folio"/>
|
||||
<field name="auto_delete" eval="True" />
|
||||
<field name="body_html"><![CDATA[<style type="text/css">/*Global Styles*/
|
||||
.marco {bgcolor:#f6f6f6; margin: 0; padding: 0; min-width: 100%!important;}
|
||||
a { color: #5e96ea; text-decoration: none; font-weight: bold;}
|
||||
img {height: auto;}
|
||||
.content { border: 1px solid #eeeeee; }
|
||||
.logo {font-family: sans-serif; font-size: 36px; font-weight: bold; color: #ffffff;}
|
||||
.link a {font-family: sans-serif; font-size: 12px; color: #ffffff;}
|
||||
.subheading {font-size: 14px; color: #cccccc; font-family: sans-serif; font-weight: bold; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 1px;}
|
||||
.h1 {font-family: sans-serif; font-size: 48px; font-weight: bold; line-height: 56px; color: #ffffff; padding: 0 0 0 0;}
|
||||
.h2 {font-family: sans-serif; font-size: 18px; font-weight: bold; color: #444444; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;}
|
||||
.h3 {font-family: sans-serif; font-size: 24px; font-weight: regular; color: #555555; padding: 0 0 0 0;}
|
||||
.h4 {font-family: sans-serif; font-size: 18px; font-weight: bold; color: #666666; padding: 0 0 0 0;}
|
||||
.paragraph {font-family: sans-serif; font-size: 14px; line-height: 22px; color: #666666; font-weight: 200; padding: 20px 0 0 0;}
|
||||
.listitem {font-family: sans-serif; font-size: 15px; color: #666666; font-weight: 200; padding: 0 0 20px 0;}
|
||||
.smalltext { font-family: sans-serif; font-size: 14px; color: #cccccc; padding: 3px 0 0 0; }
|
||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||
/*Media Queries*/
|
||||
@media only screen and (max-width: 651px){
|
||||
.columns{width:100% !important;}
|
||||
.columncontainer{display:block !important; width:100% !important;}
|
||||
.paragraph, .listitem {font-size: 18px;}
|
||||
.link { float: left;}
|
||||
}
|
||||
@media only screen and (min-width: 651px) {
|
||||
.content {width: 650px !important;}
|
||||
}</style>
|
||||
|
||||
<div style="background-color:#ffffff; margin: 0; padding: 0; min-width: 100%!important;font-family: sans-serif; font-size: 16px; line-height: 22px; color: #666666; font-weight: 200; padding: 20px 0 0 0;">
|
||||
<table width="100%" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table width="540" align="center" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<![endif]-->
|
||||
<!--Content Wrapper-->
|
||||
<table class="content" background-color="#f6f6f6" align="center" cellpadding="0" cellspacing="0" border="0" style="width: 650px !important; border: 1px solid #eeeeee; background-color:#f6f6f6;">
|
||||
|
||||
<!--Header-->
|
||||
<tr>
|
||||
<td style="padding: 30px 30px 20px 30px;background-color:#1B1B1B">
|
||||
<table border="0x" cellpadding="0" cellspacing="0" width="100%" class="columns">
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</table>
|
||||
<img src="https://www.aldahotels.es/firma/email/llegada/logobl.png" width="251" height="57" alt="Alda Hotels"/>
|
||||
<table border="0x" cellpadding="0" cellspacing="0" width="100%" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="50%" valign="middle" class="columncontainer" >
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td align="right" valign="middle" style="padding: 0px 0px 0px 0px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="link">
|
||||
<tr>
|
||||
<td style="padding: 0px 15px 0px 0px;"><a href="https://www.aldahotels.es/" style="color:#FFFFFF" >www.aldahotels.com</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
<!--1 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 60px 30px 40px 30px;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #444444; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> ¡Muchas gracias por tu visita!
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 0 0;">
|
||||
<p style="font-size: 2em; line_height=0px; color: #C50967;">__</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="justify" class="paragraph" style="padding: 10px 0 0 0;">Hola ${object.partner_id.firstname},<br />
|
||||
Esperamos que hayas disfrutado de la ciudad, y que muy especialmente te hayas sentido a gusto en nuestro alojamiento. Todo el equipo de <strong>${object.company_id.property_name}</strong> te agradece tu estancia en nuestro centro y te desea un feliz regreso.<br />
|
||||
Recibe un cordial saludo y esperamos volver a verte.<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Section with sidebar-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 10px 30px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 30px 20px 0px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #444444; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> Disfruta de tu descuento de cliente
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 0 0;">
|
||||
<p style="font-size: 2em; line_height=0px; color: #C50967;">__</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="justify" class="paragraph" style="padding: 10px 0 0 0;">Solo por ser cliente de Alda Hotels disfruta, automáticamente, de <strong>hasta un 10% de descuento en cualquiera de nuestros establecimientos</strong>, totalmente transferible y sin fecha de caducidad.<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<img src="https://www.aldahotels.es/firma/email/salida/descuento.png" width="600" height="170" alt="Descuento 10%"/>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Section with sidebar-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 10px 30px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 30px 20px 0px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #444444; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> ¿Tienes algo que comentarnos?
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 0 0;">
|
||||
<p style="font-size: 2em; line_height=0px; color: #C50967;">__</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="justify" class="paragraph" style="padding: 10px 0 30px 0;">Cada día intentamos dar un mejor servicio, es por ello que si quieres aportar alguna propuesta o crítica constructiva, te invitamos a utilizar el siguiente formulario. <strong>Estamos encantados de recibir tus propuestas</strong>. Todas serán leídas y tenidas en cuenta, y atenderemos aquellas que nos permitan nuestros medios y posibilidades.<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://goo.gl/forms/GbhPNgcGGSMQT2rG2" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #C50967; border-color: #C50967; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Entrar al formulario ▶
|
||||
</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 30px 0px 0px 0px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="650" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="10%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td height="115" style="padding: 20px 0px 0px 30px;">
|
||||
<img src="http://www.aldahotels.es/firma/email/llegada/localizacion.png" border="0" alt="Localización" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="90%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 30px 20px 30px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="h2" style="color: #C50967"> nuestros alojamientos</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="justify" class="subheading" style="color: #555555"><strong>Descubre dónde estamos</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="justify" class="paragraph" style="padding: 10px 0 10px 0;">Estamos presentes a lo largo del territorio peninsular. Si quieres saber dónde puedes alojarte con nosotros, pincha en el mapa.<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<a href="https://www.aldahotels.es/wpresscorporate/nuestros-alojamientos/"><img src="http://www.aldahotels.es/firma/email/salida/mapaalojamientos.png" border="0" alt="Mapa" />
|
||||
</a>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
</center>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Section with sidebar-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Article with thumbnail-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--Block Layout-->
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="650" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="50%" bgcolor="#f9f9f9">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="50%" bgcolor="#C50967">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 0px 30px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="50%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #C50967; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;">NUESTRAS REDES SOCIALES
|
||||
</td>
|
||||
<td style="padding: 0 0 50px 0;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--3 Column-->
|
||||
<tr>
|
||||
<td class="borderbottom" style="padding: 10px 0px 0px 30px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
<td width="33%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 15px 15px 0px;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 0 0 20px 0;"><a href="https://www.facebook.com/aldahotels" target="_blank"><img src="http://www.aldahotels.es/firma/email/llegada/fb.png" width="51" height="50" border="0" alt="Facebook" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #3B5998; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> Facebook</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 10px 0;">
|
||||
<table width="50px" style="width: 50px;" height="5px" border="0" cellspacing="0" cellpadding="0" >
|
||||
<tr>
|
||||
<td background-color="#3B5998" height="5px" style="font-size: 1px; line-height: 5px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="paragraph" style="padding: 10px 0 0 0;"> Toda la actualidad de nuestros alojamientos, así como ofertas y promociones.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 20px 0; ">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
|
||||
<a href="https://www.facebook.com/aldahotels" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #C50967; border-color: #C50967; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Dale a Me gusta</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="33%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 15px 15px 0px;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 0 0 20px 0;"><a href="https://www.instagram.com/aldahotels" target="_blank"><img src="http://www.aldahotels.es/firma/email/llegada/ig.png" width="50" height="50" border="0" alt="Instagram" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #E56459; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> Instagram</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 10px 0;">
|
||||
<table width="50px" style="width: 50px;" height="5px" border="0" cellspacing="0" cellpadding="0" >
|
||||
<tr>
|
||||
<td background-color="#E56459" height="5px" style="font-size: 1px; line-height: 5px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="paragraph" style="padding: 10px 0 0 0;"> Cada detalle cuenta, y es por eso que tratamos de reflejarlo en nuestras fotos.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 20px 0; ">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://www.instagram.com/aldahotels/" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #C50967; border-color: #C50967; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">#Entra
|
||||
</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="33%" class="columncontainer">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" style="padding: 20px 15px 15px 0px;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 0 0 20px 0;"><a href="https://www.twitter.com/aldahotels" target="_blank"><img src="http://www.aldahotels.es/firma/email/llegada/tw.png" width="50" height="50" border="0" alt="Twitter" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #1DA1F2; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> Twitter
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 10px 0;">
|
||||
<table width="50px" style="width: 50px;" height="5px" border="0" cellspacing="0" cellpadding="0" >
|
||||
<tr>
|
||||
<td background-color="#1DA1F2" height="5px" style="font-size: 1px; line-height: 5px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" class="paragraph" style="padding: 10px 0 0 0;"> Propuestas al minuto para hacer de tu viaje una experiencia inmejorable.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px 0 20px 0; ">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!--[if gte mso 12>
|
||||
<div style="border: 2px solid #5e96ea;">
|
||||
<![endif]-->
|
||||
<a href="https://www.twitter.com/aldahotels" target="_blank" style="text-decoration: none; color: #FFFFFF; font-size: 20px; padding: 10px 20px 10px 20px;">
|
||||
<div style="padding: 0.5em; background-color: #C50967; border-color: #C50967; border-width: 2px;border-style:solid; border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-style: solid;-webkit-border-radius: 10; -moz-border-radius: 10; border-radius: 10px;">Síguenos
|
||||
</div>
|
||||
</a>
|
||||
<!--[if gte mso 12>
|
||||
</div>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--2 Column-->
|
||||
<tr>
|
||||
</tr>
|
||||
<!--1 Column-->
|
||||
<tr>
|
||||
<td style="padding: 30px 30px 20px 30px;background-color:#C50967">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" class="h2" style="font-family: sans-serif; font-size: 18px; font-weight: bold; color: #FFFFFF; padding: 0 0 0 0; text-transform: uppercase; letter-spacing: 0.5px;"> ¡Muchas gracias por alojarte con nosotros!
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="middle" class="borderbottom" style="padding: 45px 0px 30px 30px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</table>
|
||||
<img src="https://www.aldahotels.es/firma/email/llegada/logoft.png" width="300" height="75" alt="Alda Hotels"/>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="620" class="columns">
|
||||
<tr valign="top">
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--Footer-->
|
||||
<tr>
|
||||
<td class="footer">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="justify" class="smalltext" style="color: #828282; padding: 20px 20px 20px 20px;">En cumplimiento de la Ley 34/2002 de Servicios de la Sociedad de la Información y del Comercio Electrónico, así como de la Ley Orgánica 15/1999 del 13 de Diciembre de Protección de Datos de Carácter Personal y demás legislación concordante, se le informa que sus datos personales figuran en un fichero automatizado cuya responsabilidad es de ALDA COMPOSTELA S.L. Praza da Algalia de Arriba, 3 C.P. 15704 Santiago de Compostela. Los datos personales que existen en nuestro poder están protegidos por nuestra Política de Privacidad y solo serán utilizados para los fines propios de nuestra actividad. Para ejercer sus derechos de acceso, rectificación, cancelación u oposición debe enviar un correo electrónico a info@aldahotels.com indicándonos la opción a realizar. Este correo podría ser confidencial. Si recibe este e-mail por error, por favor elimínelo, así como cualquier documento adjunto, y notifíquelo a su emisor. Si usted no es el destinatario del mensaje, sepa que no está permitida ninguna difusión, copia o utilización no autorizada.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" valign="middle" class="listitem" style="color: #0A5F19; padding: 0px 0px 0px 0px"><img src="https://www.aldahotels.es/firma/email/llegada/eco.png" width="30" height="30" /><strong>Antes de imprimir este mensaje, compruebe que es verdaderamente necesario. El medioambiente es cosa de todos. </strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr> </tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>]]></field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
1042
pms/data/email_template_reserv.xml
Normal file
1042
pms/data/email_template_reserv.xml
Normal file
File diff suppressed because it is too large
Load Diff
27
pms/data/menus.xml
Normal file
27
pms/data/menus.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<menuitem id="pms_management_menu" name="pms Management"
|
||||
sequence="8" web_icon="pms,static/description/icon.png"
|
||||
groups="pms.group_pms_user,pms.group_pms_call"/>
|
||||
|
||||
<menuitem id="pms_configuration_menu" name="Configuration"
|
||||
sequence="20" parent="pms_management_menu"
|
||||
groups="pms.group_pms_user"/>
|
||||
|
||||
<menuitem id="pms_reports_menu" name="Reports"
|
||||
sequence="15" parent="pms_management_menu"
|
||||
groups="pms.group_pms_user"/>
|
||||
|
||||
<menuitem id="menu_account_finance_xls_reports" name="XLS Reports"
|
||||
parent="pms.pms_reports_menu" sequence="50"/>
|
||||
|
||||
<menuitem id="configuration_others" name="Configuration"
|
||||
parent="pms.pms_configuration_menu" sequence="10"
|
||||
groups="pms.group_pms_manager" />
|
||||
|
||||
<menuitem id="pms_massive_change" name="Massive Changes"
|
||||
parent="pms.configuration_others"
|
||||
sequence="10" action="action_pms_massive_change"/>
|
||||
|
||||
</odoo>
|
||||
42
pms/data/pms_data.xml
Normal file
42
pms/data/pms_data.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- pms.users -->
|
||||
|
||||
<record id="base.user_root" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('pms.group_pms_manager'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="base.user_demo" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('pms.group_pms_user'))]"/>
|
||||
</record>
|
||||
|
||||
<!-- Basic pms -->
|
||||
|
||||
<record id="main_pms_room_type_restriction" model="pms.room.type.restriction">
|
||||
<field name="name">Restriction Plan</field>
|
||||
</record>
|
||||
|
||||
<record id="main_pms_property" model="pms.property">
|
||||
<field name="name">My Property</field>
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field name="default_pricelist_id" ref="product.list0"/>
|
||||
<field name="default_restriction_id" ref="main_pms_room_type_restriction"/>
|
||||
<field name="street">Rua Street Demo, s/n</field>
|
||||
<field name="city">Commitsun city</field>
|
||||
<field name="country_id" ref="base.es"/>
|
||||
<field name="zip">15703</field>
|
||||
<field name="phone">+34 123 456 879</field>
|
||||
<field name="email">commitsun@hootel.com</field>
|
||||
<field name="website">https://www.commitsun.com</field>
|
||||
</record>
|
||||
|
||||
<record model="res.users" id="base.user_root">
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field name="company_ids" eval="[(4, ref('base.main_company'))]"/>
|
||||
<field name="pms_property_id" ref="main_pms_property"/>
|
||||
<field name="pms_property_ids" eval="[(4, ref('main_pms_property'))]"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
14
pms/data/pms_sequence.xml
Normal file
14
pms/data/pms_sequence.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- Sequences for pms folio -->
|
||||
<record model="ir.sequence" id="seq_pms_folio">
|
||||
<field name="name">PMS Folio</field>
|
||||
<field name="code">pms.folio</field>
|
||||
<field name="prefix">F/</field>
|
||||
<field name="padding">5</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user