[FIX] CSS and PDF in hotel_l10n_es

This commit is contained in:
Jose Luis
2019-03-20 12:43:07 +01:00
parent 9fe8af6b31
commit 210e8a8fc5
32 changed files with 25 additions and 6 deletions

0
hotel_l10n_es/README.rst Normal file → Executable file
View File

0
hotel_l10n_es/__init__.py Normal file → Executable file
View File

3
hotel_l10n_es/__manifest__.py Normal file → Executable file
View File

@@ -34,6 +34,7 @@
'partner_contact_gender', 'partner_contact_gender',
'partner_contact_birthdate', 'partner_contact_birthdate',
'partner_firstname', 'partner_firstname',
'web_responsive'
], ],
'data': [ 'data': [
'data/code.ine.csv', 'data/code.ine.csv',
@@ -53,7 +54,7 @@
'views/report_viajero_head.xml', 'views/report_viajero_head.xml',
'views/report_viajero_data.xml', 'views/report_viajero_data.xml',
'views/report_viajero.xml', 'views/report_viajero.xml',
'static/src/xml/hotel_l10n_es_templates.xml' 'views/hotel_l10n_es_hotel_name.xml'
], ],
'test': [ 'test': [
], ],

0
hotel_l10n_es/data/code.ine.csv Normal file → Executable file
View File

0
hotel_l10n_es/data/report_viajero_paperformat.xml Normal file → Executable file
View File

0
hotel_l10n_es/data/tourism.category.csv Normal file → Executable file
View File

0
hotel_l10n_es/i18n/es.po Normal file → Executable file
View File

0
hotel_l10n_es/models/__init__.py Normal file → Executable file
View File

0
hotel_l10n_es/models/category_type.py Normal file → Executable file
View File

0
hotel_l10n_es/models/code_ine.py Normal file → Executable file
View File

0
hotel_l10n_es/models/inherit_hotel_checkin_partner.py Normal file → Executable file
View File

0
hotel_l10n_es/models/inherit_res_company.py Normal file → Executable file
View File

0
hotel_l10n_es/models/inherit_res_partner.py Normal file → Executable file
View File

0
hotel_l10n_es/report/report_parte_viajero.xml Normal file → Executable file
View File

0
hotel_l10n_es/security/ir.model.access.csv Normal file → Executable file
View File

View File

@@ -0,0 +1,5 @@
#odooAppDrawer{background: #FFFFFF url(../img/watermark.jpg) no-repeat fixed center}
tbody tr td div.o_datepicker.o_form_field_date.o_form_field.o_form_required{max-width: 9.5em}
.title-hotel-name{font-size: 20px;position: absolute;text-align: center;width: 100%;color: #45c2b1;font-weight: bold;z-index: -1;}
.title-hotel-name2{font-size: 20px;position: absolute;text-align: center;width: 100%;color: #45c2b1;font-weight: bold;z-index: -1;}
body {background-color: blue;}

0
hotel_l10n_es/views/category_tourism.xml Normal file → Executable file
View File

0
hotel_l10n_es/views/code_ine.xml Normal file → Executable file
View File

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="hotelname_bootstrap" inherit_id="web.menu_secondary" name="Hotel Name - Web Client">
<!-- <templateid="hotelname_bootstrap" inherit_id="web.menu_secondary" name="Hotel Name - Web Client"> -->
<xpath expr="//div[hasclass('o_sub_menu_content')]/t" position="after">
<!-- <xpath expr="//div[@class='o_sub_menu_content']/t" position="after"> -->
<link href="/hotel_l10n_es/static/src/css/hotel_l10n_es.css" rel="stylesheet" type="text/css"/>
<div class="title-hotel-name">
<t t-esc="request.env.user.company_id.property_name"/>
</div>
</xpath>
</template>
</odoo>

View File

0
hotel_l10n_es/views/inherit_res_company.xml Normal file → Executable file
View File

0
hotel_l10n_es/views/inherit_res_partner.xml Normal file → Executable file
View File

0
hotel_l10n_es/views/report_viajero.xml Normal file → Executable file
View File

0
hotel_l10n_es/views/report_viajero_data.xml Normal file → Executable file
View File

10
hotel_l10n_es/views/report_viajero_document.xml Normal file → Executable file
View File

@@ -16,10 +16,10 @@
<span t-field="company.city"/>, at <span t-field="company.city"/>, at
<span t-esc="time.strftime('%Y-%m-%d')" t-options="{&quot;widget&quot;: &quot;date&quot;}"/> <span t-esc="time.strftime('%Y-%m-%d')" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</p> </p>
<div class="firma" style="width: 85%; border:dotted 1px; height: 60px; margin:0 auto;"></div><br/> <div class="firma" style="width: 85%; border:dotted 1px; height: 80px; margin:0 auto;"></div><br/>
<p class="text-center">Traveler's signature</p> <p class="text-center">Traveler's signature</p>
<p class="text-center" style="font-size:0.8em;"><span t-field="company.cardex_warning"/></p> <p class="text-center" style="font-size:1.3em;"><span t-field="company.cardex_warning"/></p>
<p class="text-justify" style="font-size:0.7em;">En nombre de la empresa <p class="text-justify" style="font-size:1.1em;">En nombre de la empresa
<strong>GRUPO ALDA HOTELS</strong> <strong>GRUPO ALDA HOTELS</strong>
compuesto por Alda Rías Baixas SL, Alda Compostela SL, Alda Castilla SL, Hoteles Rías Altas SL, Comphostel Gestión Patrimonial SL y Consultores Hoteleros Integrales SL, tratamos la información que nos facilita, con el fin de prestarle el servicio compuesto por Alda Rías Baixas SL, Alda Compostela SL, Alda Castilla SL, Hoteles Rías Altas SL, Comphostel Gestión Patrimonial SL y Consultores Hoteleros Integrales SL, tratamos la información que nos facilita, con el fin de prestarle el servicio
solicitado y realizar la facturación del mismo. Se conservarán mientras se mantenga la relación comercial o durante los años necesarios para cumplir con las obligaciones legales. No se cederán a terceros salvo en los casos en que exista una solicitado y realizar la facturación del mismo. Se conservarán mientras se mantenga la relación comercial o durante los años necesarios para cumplir con las obligaciones legales. No se cederán a terceros salvo en los casos en que exista una
@@ -46,8 +46,8 @@
<p class="text-center"> <p class="text-center">
<strong>COPY TO THE USER</strong> <strong>COPY TO THE USER</strong>
</p> </p>
<p class="text-center" style="font-size:0.8em;"><span t-field="company.cardex_warning"/></p> <p class="text-center" style="font-size:1.3em;"><span t-field="company.cardex_warning"/></p>
<p class="text-justify" style="font-size:0.7em;">En nombre de la empresa <p class="text-justify" style="font-size:1.1em;">En nombre de la empresa
<strong>GRUPO ALDA HOTELS</strong> <strong>GRUPO ALDA HOTELS</strong>
compuesto por Alda Rías Baixas SL, Alda Compostela SL, Alda Castilla SL, Hoteles Rías Altas SL, Comphostel Gestión Patrimonial SL y Consultores Hoteleros Integrales SL, tratamos la información que nos facilita, con el fin de prestarle el servicio compuesto por Alda Rías Baixas SL, Alda Compostela SL, Alda Castilla SL, Hoteles Rías Altas SL, Comphostel Gestión Patrimonial SL y Consultores Hoteleros Integrales SL, tratamos la información que nos facilita, con el fin de prestarle el servicio
solicitado y realizar la facturación del mismo. Se conservarán mientras se mantenga la relación comercial o durante los años necesarios para cumplir con las obligaciones legales. No se cederán a terceros salvo en los casos en que exista una solicitado y realizar la facturación del mismo. Se conservarán mientras se mantenga la relación comercial o durante los años necesarios para cumplir con las obligaciones legales. No se cederán a terceros salvo en los casos en que exista una

0
hotel_l10n_es/views/report_viajero_document_new.xml Normal file → Executable file
View File

0
hotel_l10n_es/views/report_viajero_head.xml Normal file → Executable file
View File

0
hotel_l10n_es/wizard/__init__.py Normal file → Executable file
View File

0
hotel_l10n_es/wizard/ine_wizard.py Normal file → Executable file
View File

0
hotel_l10n_es/wizard/ine_wizard.xml Normal file → Executable file
View File

0
hotel_l10n_es/wizard/police_wizard.py Normal file → Executable file
View File

0
hotel_l10n_es/wizard/police_wizard.xml Normal file → Executable file
View File