mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] CSS and PDF in hotel_l10n_es
This commit is contained in:
0
hotel_l10n_es/README.rst
Normal file → Executable file
0
hotel_l10n_es/README.rst
Normal file → Executable file
0
hotel_l10n_es/__init__.py
Normal file → Executable file
0
hotel_l10n_es/__init__.py
Normal file → Executable file
3
hotel_l10n_es/__manifest__.py
Normal file → Executable file
3
hotel_l10n_es/__manifest__.py
Normal file → Executable file
@@ -34,6 +34,7 @@
|
||||
'partner_contact_gender',
|
||||
'partner_contact_birthdate',
|
||||
'partner_firstname',
|
||||
'web_responsive'
|
||||
],
|
||||
'data': [
|
||||
'data/code.ine.csv',
|
||||
@@ -53,7 +54,7 @@
|
||||
'views/report_viajero_head.xml',
|
||||
'views/report_viajero_data.xml',
|
||||
'views/report_viajero.xml',
|
||||
'static/src/xml/hotel_l10n_es_templates.xml'
|
||||
'views/hotel_l10n_es_hotel_name.xml'
|
||||
],
|
||||
'test': [
|
||||
],
|
||||
|
||||
0
hotel_l10n_es/data/code.ine.csv
Normal file → Executable file
0
hotel_l10n_es/data/code.ine.csv
Normal file → Executable file
0
hotel_l10n_es/data/report_viajero_paperformat.xml
Normal file → Executable file
0
hotel_l10n_es/data/report_viajero_paperformat.xml
Normal file → Executable file
0
hotel_l10n_es/data/tourism.category.csv
Normal file → Executable file
0
hotel_l10n_es/data/tourism.category.csv
Normal file → Executable file
0
hotel_l10n_es/i18n/es.po
Normal file → Executable file
0
hotel_l10n_es/i18n/es.po
Normal file → Executable file
0
hotel_l10n_es/models/__init__.py
Normal file → Executable file
0
hotel_l10n_es/models/__init__.py
Normal file → Executable file
0
hotel_l10n_es/models/category_type.py
Normal file → Executable file
0
hotel_l10n_es/models/category_type.py
Normal file → Executable file
0
hotel_l10n_es/models/code_ine.py
Normal file → Executable file
0
hotel_l10n_es/models/code_ine.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_hotel_checkin_partner.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_hotel_checkin_partner.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_res_company.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_res_company.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_res_partner.py
Normal file → Executable file
0
hotel_l10n_es/models/inherit_res_partner.py
Normal file → Executable file
0
hotel_l10n_es/report/report_parte_viajero.xml
Normal file → Executable file
0
hotel_l10n_es/report/report_parte_viajero.xml
Normal file → Executable file
0
hotel_l10n_es/security/ir.model.access.csv
Normal file → Executable file
0
hotel_l10n_es/security/ir.model.access.csv
Normal file → Executable file
5
hotel_l10n_es/static/src/css/hotel_l10n_es.css
Executable file
5
hotel_l10n_es/static/src/css/hotel_l10n_es.css
Executable 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
0
hotel_l10n_es/views/category_tourism.xml
Normal file → Executable file
0
hotel_l10n_es/views/code_ine.xml
Normal file → Executable file
0
hotel_l10n_es/views/code_ine.xml
Normal file → Executable file
13
hotel_l10n_es/views/hotel_l10n_es_hotel_name.xml
Executable file
13
hotel_l10n_es/views/hotel_l10n_es_hotel_name.xml
Executable 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>
|
||||
0
hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml
Normal file → Executable file
0
hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml
Normal file → Executable file
0
hotel_l10n_es/views/inherit_res_company.xml
Normal file → Executable file
0
hotel_l10n_es/views/inherit_res_company.xml
Normal file → Executable file
0
hotel_l10n_es/views/inherit_res_partner.xml
Normal file → Executable file
0
hotel_l10n_es/views/inherit_res_partner.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero_data.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero_data.xml
Normal file → Executable file
10
hotel_l10n_es/views/report_viajero_document.xml
Normal file → Executable file
10
hotel_l10n_es/views/report_viajero_document.xml
Normal file → Executable file
@@ -16,10 +16,10 @@
|
||||
<span t-field="company.city"/>, at
|
||||
<span t-esc="time.strftime('%Y-%m-%d')" t-options="{"widget": "date"}"/>
|
||||
</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" style="font-size:0.8em;"><span t-field="company.cardex_warning"/></p>
|
||||
<p class="text-justify" style="font-size:0.7em;">En nombre de la empresa
|
||||
<p class="text-center" style="font-size:1.3em;"><span t-field="company.cardex_warning"/></p>
|
||||
<p class="text-justify" style="font-size:1.1em;">En nombre de la empresa
|
||||
<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
|
||||
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">
|
||||
<strong>COPY TO THE USER</strong>
|
||||
</p>
|
||||
<p class="text-center" style="font-size:0.8em;"><span t-field="company.cardex_warning"/></p>
|
||||
<p class="text-justify" style="font-size:0.7em;">En nombre de la empresa
|
||||
<p class="text-center" style="font-size:1.3em;"><span t-field="company.cardex_warning"/></p>
|
||||
<p class="text-justify" style="font-size:1.1em;">En nombre de la empresa
|
||||
<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
|
||||
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
0
hotel_l10n_es/views/report_viajero_document_new.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero_head.xml
Normal file → Executable file
0
hotel_l10n_es/views/report_viajero_head.xml
Normal file → Executable file
0
hotel_l10n_es/wizard/__init__.py
Normal file → Executable file
0
hotel_l10n_es/wizard/__init__.py
Normal file → Executable file
0
hotel_l10n_es/wizard/ine_wizard.py
Normal file → Executable file
0
hotel_l10n_es/wizard/ine_wizard.py
Normal file → Executable file
0
hotel_l10n_es/wizard/ine_wizard.xml
Normal file → Executable file
0
hotel_l10n_es/wizard/ine_wizard.xml
Normal file → Executable file
0
hotel_l10n_es/wizard/police_wizard.py
Normal file → Executable file
0
hotel_l10n_es/wizard/police_wizard.py
Normal file → Executable file
0
hotel_l10n_es/wizard/police_wizard.xml
Normal file → Executable file
0
hotel_l10n_es/wizard/police_wizard.xml
Normal file → Executable file
Reference in New Issue
Block a user