diff --git a/hotel/models/inherited_res_company.py b/hotel/models/inherited_res_company.py index 43393f253..7173b6635 100644 --- a/hotel/models/inherited_res_company.py +++ b/hotel/models/inherited_res_company.py @@ -15,3 +15,10 @@ class ResCompany(models.Model): calculated.") default_cancel_policy_days = fields.Integer('Cancelation Days') default_cancel_policy_percent = fields.Integer('Percent to pay') + cardex_warning = fields.Text( + 'Warning in Cardex', + default="Time to access rooms: 14: 00h. Departure time: \ + 12: 00h. If the accommodation is not left at that time, \ + the establishment will charge a day's stay according to \ + current rate that day", + help="Notice under the signature on the traveler's ticket.") diff --git a/hotel/models/inherited_res_partner.py b/hotel/models/inherited_res_partner.py index 043f5a55a..37fd8ca57 100644 --- a/hotel/models/inherited_res_partner.py +++ b/hotel/models/inherited_res_partner.py @@ -1,7 +1,8 @@ # Copyright 2017 Alexandre Díaz # Copyright 2017 Dario Lodeiros # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields +from openerp import models, fields, api +from odoo.osv.expression import get_unaccent_wrapper class ResPartner(models.Model): _inherit = 'res.partner' @@ -22,3 +23,49 @@ class ResPartner(models.Model): reservations_count = fields.Integer('Reservations', compute='_compute_reservations_count') folios_count = fields.Integer('Folios', compute='_compute_folios_count') + + @api.model + def name_search(self, name, args=None, operator='ilike', limit=100): + result = super(ResPartner, self).name_search(name, args=None, + operator='ilike', + limit=100) + if args is None: + args = [] + if name and operator in ('=', 'ilike', '=ilike', 'like', '=like'): + self.check_access_rights('read') + where_query = self._where_calc(args) + self._apply_ir_rules(where_query, 'read') + from_clause, where_clause, where_clause_params = where_query.get_sql() + where_str = where_clause and (" WHERE %s AND " % where_clause) or ' WHERE ' + + # search on the name of the contacts and of its company + search_name = name + if operator in ('ilike', 'like'): + search_name = '%%%s%%' % name + if operator in ('=ilike', '=like'): + operator = operator[1:] + + unaccent = get_unaccent_wrapper(self.env.cr) + + query = """SELECT id + FROM res_partner + {where} ({phone} {operator} {percent} + OR {mobile} {operator} {percent}) + ORDER BY {display_name} {operator} {percent} desc, + {display_name} + """.format(where=where_str, + operator=operator, + phone=unaccent('phone'), + display_name=unaccent('display_name'), + mobile=unaccent('mobile'), + percent=unaccent('%s'),) + + where_clause_params += [search_name]*3 + if limit: + query += ' limit %s' + where_clause_params.append(limit) + self.env.cr.execute(query, where_clause_params) + partner_ids = [row[0] for row in self.env.cr.fetchall()] + if partner_ids: + result += self.browse(partner_ids).name_get() + return result diff --git a/hotel/views/hotel_checkin_partner_views.xml b/hotel/views/hotel_checkin_partner_views.xml index 91ce85e65..74dc7384a 100644 --- a/hotel/views/hotel_checkin_partner_views.xml +++ b/hotel/views/hotel_checkin_partner_views.xml @@ -7,11 +7,13 @@ name="Action checkin" res_model='hotel.checkin.partner' view_mode="tree,form" /> + + view_mode="form" /> + - diff --git a/hotel_l10n_es/README.rst b/hotel_l10n_es/README.rst new file mode 100644 index 000000000..bb1595313 --- /dev/null +++ b/hotel_l10n_es/README.rst @@ -0,0 +1,22 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Alda Hotels PMS-Checkin +============= +Checkin for Alda Hostels + + +Use +=== +Instal in Odoo and checkin + +Remember to complete the "hotel settings" configuration fields in the company file. + +Credits +======= + +Creator +------------ + +* Jose Luis Algara +* Darío Lodeiros diff --git a/hotel_l10n_es/__init__.py b/hotel_l10n_es/__init__.py new file mode 100644 index 000000000..18db0383d --- /dev/null +++ b/hotel_l10n_es/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +from . import models +from . import wizard diff --git a/hotel_l10n_es/__manifest__.py b/hotel_l10n_es/__manifest__.py new file mode 100644 index 000000000..0c15d72ea --- /dev/null +++ b/hotel_l10n_es/__manifest__.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + + +{ + 'name': 'Hotel l10n_es', + 'version': '9.0.0.3', + 'author': "Jose Luis Algara", + 'website': "http://www.aldahotels.com", + 'category': 'Hotel', + 'summary': "", + 'description': "", + 'depends': [ + 'hotel', + 'partner_contact_gender', + 'partner_contact_birthdate', + 'partner_firstname', + ], + 'data': [ + 'data/code_ine.csv', + 'data/category_tourism.csv', + 'data/report_viajero_paperformat.xml', + 'report/report_parte_viajero.xml', + 'views/report_viajero.xml', + 'wizard/police_wizard.xml', + 'wizard/ine_wizard.xml', + 'wizard/inherit_checkin_wizard.xml', + 'views/category_tourism.xml', + 'views/code_ine.xml', + 'views/inherit_res_company.xml', + 'views/inherit_hotel_checkin_partner_views.xml', + 'security/ir.model.access.csv', + 'views/inherit_res_partner.xml', + 'views/report_viajero_document.xml', + 'views/report_viajero.xml', + 'static/src/xml/hotel_l10n_es_templates.xml' + ], + 'test': [ + ], + 'css': ['static/src/css/hotel_l10n_es.css'], + 'installable': True, + 'auto_install': False, + 'application': False, + 'license': 'AGPL-3', +} diff --git a/hotel_l10n_es/data/category_tourism.csv b/hotel_l10n_es/data/category_tourism.csv new file mode 100644 index 000000000..f91ca57d3 --- /dev/null +++ b/hotel_l10n_es/data/category_tourism.csv @@ -0,0 +1,54 @@ +"id","name","category_type" +"__export__.category_1","H1","Hoteles" +"__export__.category_2","H2","Hoteles" +"__export__.category_3","H3","Hoteles" +"__export__.category_4","H4","Hoteles" +"__export__.category_5","H5","Hoteles" +"__export__.category_6","AP","Hoteles-apartamentos" +"__export__.category_7","HA","Hoteles-apartamentos" +"__export__.category_8","HA1","Hoteles-apartamentos" +"__export__.category_9","HA2","Hoteles-apartamentos" +"__export__.category_10","HA3","Hoteles-apartamentos" +"__export__.category_11","HA4","Hoteles-apartamentos" +"__export__.category_12","HA5","Hoteles-apartamentos" +"__export__.category_13","HR","Hoteles-residencias" +"__export__.category_14","HR1","Hoteles-residencias" +"__export__.category_15","HR2","Hoteles-residencias" +"__export__.category_16","HR3","Hoteles-residencias" +"__export__.category_17","HR4","Hoteles-residencias" +"__export__.category_18","HR5","Hoteles-residencias" +"__export__.category_19","M1","Moteles" +"__export__.category_20","M2","Moteles" +"__export__.category_21","M3","Moteles" +"__export__.category_22","PN3","Paradores Nacionales" +"__export__.category_23","PN4","Paradores Nacionales" +"__export__.category_24","PN5","Paradores Nacionales" +"__export__.category_25","CV1","Ciudades de vacaciones" +"__export__.category_26","CV2","Ciudades de vacaciones" +"__export__.category_27","CV3","Ciudades de vacaciones" +"__export__.category_28","RA1","Residencias-apartamentos" +"__export__.category_29","RA2","Residencias-apartamentos" +"__export__.category_30","RA3","Residencias-apartamentos" +"__export__.category_31","RA4","Residencias-apartamentos" +"__export__.category_32","HS","Hostales" +"__export__.category_33","HS1","Hostales" +"__export__.category_34","HS2","Hostales" +"__export__.category_35","HS3","Hostales" +"__export__.category_36","HSR","Hostales" +"__export__.category_37","HSR1","Hostales" +"__export__.category_38","HSR2","Hostales" +"__export__.category_39","HSR3","Hostales" +"__export__.category_40","HSE","Hostales generales" +"__export__.category_41","HSG","Hostales especiales" +"__export__.category_42","CH","Casas de Huéspedes" +"__export__.category_43","CH1","Casas de Huéspedes" +"__export__.category_44","F1","Fondas" +"__export__.category_45","F2","Fondas" +"__export__.category_46","F3","Fondas" +"__export__.category_47","P","Pensiones" +"__export__.category_48","P1","Pensiones" +"__export__.category_49","P2","Pensiones" +"__export__.category_50","P3","Pensiones" +"__export__.category_51","PA","Pensiones" +"__export__.category_52","PT","Pensiones" +"__export__.category_53","Otras","Otros" diff --git a/hotel_l10n_es/data/code_ine.csv b/hotel_l10n_es/data/code_ine.csv new file mode 100644 index 000000000..29f4a84a2 --- /dev/null +++ b/hotel_l10n_es/data/code_ine.csv @@ -0,0 +1,309 @@ +"id","code","name" +"__export__.code_ine_1","AFG","Afganistán" +"__export__.code_ine_2","ALB","Albania" +"__export__.code_ine_3","DEU","Alemania" +"__export__.code_ine_4","AND","Andorra" +"__export__.code_ine_5","AGO","Angola" +"__export__.code_ine_6","AIA","Anguila" +"__export__.code_ine_7","ATG","Antigua y Barbuda" +"__export__.code_ine_8","ANT","Antillas Neerlandesas" +"__export__.code_ine_9","ATA","Antártida" +"__export__.code_ine_10","SAU","Arabia Saudita" +"__export__.code_ine_11","DZA","Argelia" +"__export__.code_ine_12","ARG","Argentina" +"__export__.code_ine_13","ARM","Armenia" +"__export__.code_ine_14","ABW","Aruba" +"__export__.code_ine_15","AUS","Australia" +"__export__.code_ine_16","AUT","Austria" +"__export__.code_ine_17","AZE","Azerbaiyán" +"__export__.code_ine_18","BHS","Bahamas" +"__export__.code_ine_19","BHR","Bahrein" +"__export__.code_ine_20","BGD","Bangladesh" +"__export__.code_ine_21","BRB","Barbados" +"__export__.code_ine_22","BLZ","Belice" +"__export__.code_ine_23","BEN","Benin" +"__export__.code_ine_24","BMU","Bermudas" +"__export__.code_ine_25","BTN","Bhután" +"__export__.code_ine_26","BLR","Bielorrusia" +"__export__.code_ine_27","BOL","Bolivia" +"__export__.code_ine_28","BIH","Bosnia-Herzegovina" +"__export__.code_ine_29","BWA","Botswana" +"__export__.code_ine_30","BRA","Brasil" +"__export__.code_ine_31","BRN","Brunéi" +"__export__.code_ine_32","BGR","Bulgaria" +"__export__.code_ine_33","BFA","Burkina Fasso" +"__export__.code_ine_34","BDI","Burundi" +"__export__.code_ine_35","BEL","Bélgica" +"__export__.code_ine_36","CPV","Cabo Verde" +"__export__.code_ine_37","KHM","Camboya" +"__export__.code_ine_38","CMR","Camerún" +"__export__.code_ine_39","CAN","Canadá" +"__export__.code_ine_40","TCD","Chad" +"__export__.code_ine_41","CHL","Chile" +"__export__.code_ine_42","CHN","China" +"__export__.code_ine_43","CYP","Chipre" +"__export__.code_ine_44","COL","Colombia" +"__export__.code_ine_45","COM","Comoras" +"__export__.code_ine_46","COG","Congo, República del" +"__export__.code_ine_47","COD","Congo, República Democrática del" +"__export__.code_ine_48","PRK","Corea, Rep. Popular Democrática" +"__export__.code_ine_49","KOR","Corea, República de" +"__export__.code_ine_50","CIV","Costa de Marfil" +"__export__.code_ine_51","CRI","Costa Rica" +"__export__.code_ine_52","HRV","Croacia" +"__export__.code_ine_53","CUB","Cuba" +"__export__.code_ine_54","DNK","Dinamarca" +"__export__.code_ine_55","DMA","Dominica" +"__export__.code_ine_56","ECU","Ecuador" +"__export__.code_ine_57","EGY","Egipto" +"__export__.code_ine_58","SLV","El Salvador" +"__export__.code_ine_59","ARE","Emiratos Arabes Unidos" +"__export__.code_ine_60","ERI","Eritrea" +"__export__.code_ine_61","SVK","Eslovaquia" +"__export__.code_ine_62","SVN","Eslovenia" +"__export__.code_ine_63","USA","Estados Unidos de América" +"__export__.code_ine_64","EST","Estonia" +"__export__.code_ine_65","ETH","Etiopía" +"__export__.code_ine_66","PHL","Filipinas" +"__export__.code_ine_67","FIN","Finlandia" +"__export__.code_ine_68","FRA","Francia" +"__export__.code_ine_69","GAB","Gabón" +"__export__.code_ine_70","GMB","Gambia" +"__export__.code_ine_71","GEO","Georgia" +"__export__.code_ine_72","GHA","Ghana" +"__export__.code_ine_73","GIB","Gibraltar" +"__export__.code_ine_74","GRD","Granada" +"__export__.code_ine_75","GRC","Grecia" +"__export__.code_ine_76","GRL","Groenlandia" +"__export__.code_ine_77","GLP","Guadalupe" +"__export__.code_ine_78","GUM","Guam" +"__export__.code_ine_79","GTM","Guatemala" +"__export__.code_ine_80","GUF","Guayana Francesa" +"__export__.code_ine_81","GIN","Guinea" +"__export__.code_ine_82","GNQ","Guinea Ecuatorial" +"__export__.code_ine_83","GNB","Guinea-Bissau" +"__export__.code_ine_84","GUY","Guyana" +"__export__.code_ine_85","HTI","Haití" +"__export__.code_ine_86","HND","Honduras" +"__export__.code_ine_87","HKG","Hong-Kong" +"__export__.code_ine_88","HUN","Hungría" +"__export__.code_ine_89","IND","India" +"__export__.code_ine_90","IDN","Indonesia" +"__export__.code_ine_91","IRQ","Irak" +"__export__.code_ine_92","IRL","Irlanda" +"__export__.code_ine_93","IRN","Irán" +"__export__.code_ine_94","BVT","Isla Bouvert" +"__export__.code_ine_95","GGY","Isla de Guernesey" +"__export__.code_ine_96","JEY","Isla de Jersey" +"__export__.code_ine_97","IMN","Isla de Man" +"__export__.code_ine_98","CXR","Isla de Navidad" +"__export__.code_ine_99","ISL","Islandia" +"__export__.code_ine_100","CYM","Islas Caimán" +"__export__.code_ine_101","CCK","Islas Cocos" +"__export__.code_ine_102","COK","Islas Cook" +"__export__.code_ine_103","FLK","Islas Falkland (Malvinas)" +"__export__.code_ine_104","FRO","Islas Feroé" +"__export__.code_ine_105","FJI","Islas Fidji" +"__export__.code_ine_106","SGS","Islas Georgias del Sur y Sandwich" +"__export__.code_ine_107","HMD","Islas Heard e Mcdonald" +"__export__.code_ine_108","MNP","Islas Marianas del Norte" +"__export__.code_ine_109","MHL","Islas Marshall" +"__export__.code_ine_110","UMI","Islas Menores de EEUU" +"__export__.code_ine_111","NFK","Islas Norfolk" +"__export__.code_ine_112","PCN","Islas Pitcairn" +"__export__.code_ine_113","SLB","Islas Salomón" +"__export__.code_ine_114","TCA","Islas Turcas y Caicos" +"__export__.code_ine_115","VGB","Islas Vírgenes Británicas" +"__export__.code_ine_116","VIR","Islas Vírgenes de los EEUU" +"__export__.code_ine_117","WLF","Islas Wallis y Futura" +"__export__.code_ine_118","ALA","Islas Åland" +"__export__.code_ine_119","ISR","Israel" +"__export__.code_ine_120","ITA","Italia" +"__export__.code_ine_121","JAM","Jamaica" +"__export__.code_ine_122","JPN","Japón" +"__export__.code_ine_123","JOR","Jordania" +"__export__.code_ine_124","KAZ","Kazajstán" +"__export__.code_ine_125","KEN","Kenia" +"__export__.code_ine_126","KGZ","Kirguistán" +"__export__.code_ine_127","KIR","Kiribati" +"__export__.code_ine_128","KWT","Kuwait" +"__export__.code_ine_129","LAO","Laos" +"__export__.code_ine_130","LSO","Lesotho" +"__export__.code_ine_131","LVA","Letonia" +"__export__.code_ine_132","LBY","Libia" +"__export__.code_ine_133","LBR","Libéria" +"__export__.code_ine_134","LIE","Liechtenstein" +"__export__.code_ine_135","LTU","Lituania" +"__export__.code_ine_136","LUX","Luxemburgo" +"__export__.code_ine_137","LBN","Líbano" +"__export__.code_ine_138","MAC","Macao" +"__export__.code_ine_139","MKD","Macedonia, ARY" +"__export__.code_ine_140","MDG","Madagascar" +"__export__.code_ine_141","MYS","Malasia" +"__export__.code_ine_142","MWI","Malawi" +"__export__.code_ine_143","MDV","Maldivas" +"__export__.code_ine_144","MLT","Malta" +"__export__.code_ine_145","MLI","Malí" +"__export__.code_ine_146","MAR","Marruecos" +"__export__.code_ine_147","MTQ","Martinica" +"__export__.code_ine_148","MUS","Mauricio" +"__export__.code_ine_149","MRT","Mauritania" +"__export__.code_ine_150","MYT","Mayotte" +"__export__.code_ine_151","FSM","Micronesia" +"__export__.code_ine_152","MDA","Moldavia" +"__export__.code_ine_153","MNG","Mongolia" +"__export__.code_ine_154","MNE","Montenegro" +"__export__.code_ine_155","MSR","Montserrat" +"__export__.code_ine_156","MOZ","Mozambique" +"__export__.code_ine_157","MMR","Myanmar" +"__export__.code_ine_158","MEX","México" +"__export__.code_ine_159","MCO","Mónaco" +"__export__.code_ine_160","NAM","Namibia" +"__export__.code_ine_161","NRU","Naurú" +"__export__.code_ine_162","NPL","Nepal" +"__export__.code_ine_163","NIC","Nicaragua" +"__export__.code_ine_164","NGA","Nigeria" +"__export__.code_ine_165","NIU","Niue" +"__export__.code_ine_166","NOR","Noruega" +"__export__.code_ine_167","NCL","Nueva Caledonia" +"__export__.code_ine_168","NZL","Nueva Zelanda" +"__export__.code_ine_169","NER","Níger" +"__export__.code_ine_170","OMN","Omán" +"__export__.code_ine_171","PAK","Pakistán" +"__export__.code_ine_172","PLW","Palau" +"__export__.code_ine_173","PSE","Palestina, Territorio ocupado" +"__export__.code_ine_174","PAN","Panamá" +"__export__.code_ine_175","PNG","Papua Nueva Guinea" +"__export__.code_ine_176","PRY","Paraguay" +"__export__.code_ine_177","NLD","Países Bajos" +"__export__.code_ine_178","PER","Perú" +"__export__.code_ine_179","PYF","Polinesia Francesa" +"__export__.code_ine_180","POL","Polonia" +"__export__.code_ine_181","PRT","Portugal" +"__export__.code_ine_182","PRI","Puerto Rico" +"__export__.code_ine_183","QAT","Qatar" +"__export__.code_ine_184","GBR","Reino Unido" +"__export__.code_ine_185","CAF","República Centroafricana" +"__export__.code_ine_186","CZE","República Checa" +"__export__.code_ine_187","DOM","República Dominicana" +"__export__.code_ine_188","REU","Reunión" +"__export__.code_ine_189","ROU","Rumania" +"__export__.code_ine_190","RUS","Rusia" +"__export__.code_ine_191","RWA","Rwanda" +"__export__.code_ine_192","ESH","Sahara Occidental" +"__export__.code_ine_193","KNA","Saint Kitts y Nevis" +"__export__.code_ine_194","WSM","Samoa" +"__export__.code_ine_195","ASM","Samoa Americana" +"__export__.code_ine_196","BLM","San Bartolomé" +"__export__.code_ine_197","SMR","San Marino" +"__export__.code_ine_198","MAF","San Martín" +"__export__.code_ine_199","SPM","San Pedro y Miquelón" +"__export__.code_ine_200","VCT","San Vicente y las Granadinas" +"__export__.code_ine_201","SHN","Santa Elena" +"__export__.code_ine_202","LCA","Santa Lucía" +"__export__.code_ine_203","STP","Santo Tomé y Príncipe" +"__export__.code_ine_204","SEN","Senegal" +"__export__.code_ine_205","SRB","Serbia" +"__export__.code_ine_206","SYC","Seychelles" +"__export__.code_ine_207","SLE","Sierra Leona" +"__export__.code_ine_208","SGP","Singapur" +"__export__.code_ine_209","SYR","Siria" +"__export__.code_ine_210","SOM","Somalia" +"__export__.code_ine_211","LKA","Sri Lanka" +"__export__.code_ine_212","SWZ","Suazilandia" +"__export__.code_ine_213","ZAF","Sudáfrica" +"__export__.code_ine_214","SDN","Sudán" +"__export__.code_ine_215","SWE","Suecia" +"__export__.code_ine_216","CHE","Suiza" +"__export__.code_ine_217","SUR","Suriname" +"__export__.code_ine_218","SJM","Svalbard e Islas de Jan Mayen" +"__export__.code_ine_219","THA","Tailandia" +"__export__.code_ine_220","TWN","Taiwán" +"__export__.code_ine_221","TZA","Tanzania" +"__export__.code_ine_222","TJK","Tayikistan" +"__export__.code_ine_223","IOT","Terr. Británico del Oc. Indico" +"__export__.code_ine_224","ATF","Tierras Australes Francesas" +"__export__.code_ine_225","TLS","Timor Oriental" +"__export__.code_ine_226","TGO","Togo" +"__export__.code_ine_227","TKL","Tokelau" +"__export__.code_ine_228","TON","Tonga" +"__export__.code_ine_229","TTO","Trinidad y Tobago" +"__export__.code_ine_230","TKM","Turkmenistán" +"__export__.code_ine_231","TUR","Turquía" +"__export__.code_ine_232","TUV","Tuvalu" +"__export__.code_ine_233","TUN","Túnez" +"__export__.code_ine_234","UKR","Ucrania" +"__export__.code_ine_235","UGA","Uganda" +"__export__.code_ine_236","URY","Uruguay" +"__export__.code_ine_237","UZB","Uzbekistán" +"__export__.code_ine_238","VUT","Vanuatu" +"__export__.code_ine_239","VAT","Vaticano, Santa Sede" +"__export__.code_ine_240","VEN","Venezuela" +"__export__.code_ine_241","VNM","Vietnam" +"__export__.code_ine_242","YEM","Yemen" +"__export__.code_ine_243","DJI","Yibuti" +"__export__.code_ine_244","ZMB","Zambia" +"__export__.code_ine_245","ZWE","Zimbabwe" +"__export__.code_ine_246","KOS","Kosovo" +"__export__.code_ine_247","ES111","A Coruña" +"__export__.code_ine_248","ES112","Lugo" +"__export__.code_ine_249","ES113","Ourense" +"__export__.code_ine_250","ES114","Pontevedra" +"__export__.code_ine_251","ES120","Asturias" +"__export__.code_ine_252","ES130","Cantabria" +"__export__.code_ine_253","ES211","Araba/Álava" +"__export__.code_ine_254","ES212","Gipuzkoa" +"__export__.code_ine_255","ES213","Bizkaia" +"__export__.code_ine_256","ES220","Navarra" +"__export__.code_ine_257","ES230","La Rioja" +"__export__.code_ine_258","ES241","Huesca" +"__export__.code_ine_259","ES242","Teruel" +"__export__.code_ine_260","ES243","Zaragoza" +"__export__.code_ine_261","ES300","Madrid" +"__export__.code_ine_262","ES411","Ávila" +"__export__.code_ine_263","ES412","Burgos" +"__export__.code_ine_264","ES413","León" +"__export__.code_ine_265","ES414","Palencia" +"__export__.code_ine_266","ES415","Salamanca" +"__export__.code_ine_267","ES416","Segovia" +"__export__.code_ine_268","ES417","Soria" +"__export__.code_ine_269","ES418","Valladolid" +"__export__.code_ine_270","ES419","Zamora" +"__export__.code_ine_271","ES421","Albacete" +"__export__.code_ine_272","ES422","Ciudad Real" +"__export__.code_ine_273","ES423","Cuenca" +"__export__.code_ine_274","ES424","Guadalajara" +"__export__.code_ine_275","ES425","Toledo" +"__export__.code_ine_276","ES431","Badajoz" +"__export__.code_ine_277","ES432","Cáceres" +"__export__.code_ine_278","ES511","Barcelona" +"__export__.code_ine_279","ES512","Girona" +"__export__.code_ine_280","ES513","Lleida" +"__export__.code_ine_281","ES514","Tarragona" +"__export__.code_ine_282","ES521","Alicante / Alacant" +"__export__.code_ine_283","ES522","Castellón / Castelló" +"__export__.code_ine_284","ES523","Valencia / València" +"__export__.code_ine_285","ES530","Illes Balears" +"__export__.code_ine_286","ES531","Eivissa y Formentera" +"__export__.code_ine_287","ES532","Mallorca" +"__export__.code_ine_288","ES533","Menorca" +"__export__.code_ine_289","ES611","Almería" +"__export__.code_ine_290","ES612","Cádiz" +"__export__.code_ine_291","ES613","Córdoba" +"__export__.code_ine_292","ES614","Granada" +"__export__.code_ine_293","ES615","Huelva" +"__export__.code_ine_294","ES616","Jaén" +"__export__.code_ine_295","ES617","Málaga" +"__export__.code_ine_296","ES618","Sevilla" +"__export__.code_ine_297","ES620","Murcia" +"__export__.code_ine_298","ES630","Ceuta" +"__export__.code_ine_299","ES640","Melilla" +"__export__.code_ine_300","ES701","Las Palmas" +"__export__.code_ine_301","ES702","Santa Cruz de Tenerife" +"__export__.code_ine_302","ES703","El Hierro" +"__export__.code_ine_303","ES704","Fuerteventura" +"__export__.code_ine_304","ES705","Gran Canaria" +"__export__.code_ine_305","ES706","La Gomera" +"__export__.code_ine_306","ES707","La Palma" +"__export__.code_ine_307","ES708","Lanzarote" +"__export__.code_ine_308","ES709","Tenerife" diff --git a/hotel_l10n_es/data/report_viajero_paperformat.xml b/hotel_l10n_es/data/report_viajero_paperformat.xml new file mode 100644 index 000000000..9b220dd84 --- /dev/null +++ b/hotel_l10n_es/data/report_viajero_paperformat.xml @@ -0,0 +1,22 @@ + + + + + + Parte de Viajero + + custom + 160 + 60 + Portrait + 1 + 3 + 1 + 1 + + 1 + 201 + + + + diff --git a/hotel_l10n_es/i18n/es.po b/hotel_l10n_es/i18n/es.po new file mode 100644 index 000000000..8a85ad6f6 --- /dev/null +++ b/hotel_l10n_es/i18n/es.po @@ -0,0 +1,831 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hotel_l10n_es +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-15 07:46+0000\n" +"PO-Revision-Date: 2018-04-15 09:54+0200\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"Language: es\n" +"X-Generator: Poedit 1.8.7.1\n" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid ", at" +msgstr ", a" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_year:0 +msgid "2017" +msgstr "2017" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_year:0 +msgid "2018" +msgstr "2018" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "COPY TO THE USER" +msgstr "COPIA PARA EL USUARIO" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inewizard.py:328 +#, python-format +msgid "ADR in the month of the survey: " +msgstr "ADR en el mes de la encuesta: " + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_ine_download +msgid "ADR y RevPar" +msgstr "ADR y RevPar" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Abrir web de la Guardia Civil para entregar el fichero generado:" +msgstr "Abrir web de la Guardia Civil para entregar el fichero generado:" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Abrir web de la Polícia para entregar el fichero generado:" +msgstr "Abrir web de la Polícia para entregar el fichero generado:" + +#. module: hotel_l10n_es +#: model:ir.actions.act_window,name:hotel_l10n_es.action_ine_download +msgid "Action INE File Download" +msgstr "Action INE File Download" + +#. module: hotel_l10n_es +#: model:ir.actions.act_window,name:hotel_l10n_es.action_police_download +msgid "Action Police File Download" +msgstr "Action Police File Download" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Address" +msgstr "Dirección" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_adr_screen +msgid "Adr screen" +msgstr "Adr screen" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "April" +msgstr "Abril" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "August" +msgstr "Agosto" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_seats +msgid "Beds available" +msgstr "Beds available" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Birth date" +msgstr "Fecha de nacimiento" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_birthdate_date_cardex +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Birthdate" +msgstr "F. de nacimiento" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "CIF:" +msgstr "CIF:" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "Carta o Doc. de Identidad" +msgstr "Carta o Doc. de Identidad" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_name +msgid "Category" +msgstr "Categoría" + +#. module: hotel_l10n_es +#: model:ir.actions.act_window,name:hotel_l10n_es.action_category +#: model:ir.ui.menu,name:hotel_l10n_es.menu_category +msgid "Category Codes" +msgstr "Cód. Categoría" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_category_id +msgid "Category id" +msgstr "Category id" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_category_id_cardex +msgid "Category id cardex" +msgstr "Category id cardex" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_tipo +msgid "Category type" +msgstr "Category type" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "City" +msgstr "Ciudad" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_code +msgid "Code" +msgstr "Código" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.checkin_wizard_form_2 +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Code in INE" +msgstr "Código en el INE" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_partner_code_ine +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_users_code_ine +msgid "Code ine" +msgstr "Code ine" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_code_ine_cardex +msgid "Code ine cardex" +msgstr "Code ine cardex" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Comment" +msgstr "Comentario" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_download_num +msgid "Correlative number" +msgstr "Núm Correlativo" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Country" +msgstr "País" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/models/inherit_res_partner.py:47 +#: model:ir.model.fields,help:hotel_l10n_es.field_checkin_wizard_code_ine_cardex +#: model:ir.model.fields,help:hotel_l10n_es.field_res_partner_code_ine +#: model:ir.model.fields,help:hotel_l10n_es.field_res_users_code_ine +#, python-format +msgid "Country or province of origin. Used for INE statistics." +msgstr "País o provincia de origen. Usado para estadísticas INE." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_create_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_create_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_create_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_create_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_create_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_create_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_create_date +msgid "Created on" +msgstr "Creado en" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "DNI" +msgstr "DNI" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:72 +#, python-format +msgid "DNI/NIE/DRIVE LICENSE erroneous length, the correct format is: (12345678A or X1234567A)" +msgstr "DNI / NIE / CARNET DE CONDUCIR longitud errónea, el formato correcto es: (12345678A o X1234567A)" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_download_date +msgid "Date" +msgstr "Fecha" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:44 +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:51 +#, python-format +msgid "Date of document shipment, prior to birth date" +msgstr "Fecha de expedición del documento, anterior a la fecha de nacimiento" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "December" +msgstr "Diciembre" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_display_name +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_display_name +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_display_name +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_poldocument_cardex +msgid "Doc. number" +msgstr "Núm. Documento" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/models/inherit_res_partner.py:40 +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_documenttype_cardex +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_partner_documenttype +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_users_documenttype +#, python-format +msgid "Doc. type" +msgstr "Tipo de Documento" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Document" +msgstr "Documento" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_partner_polexpedition +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_users_polexpedition +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Document expedition date" +msgstr "Fecha de expedición" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_partner_poldocument +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_users_poldocument +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Document number" +msgstr "Nº de documento:" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Document number (DNI: 123456789A)" +msgstr "Nº de documento (DNI: 123456789A)" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Document number:" +msgstr "Nº de documento:" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:41 +#, python-format +msgid "Does the client have less than 16 years?. Data collection is not performed for those born before %s." +msgstr "¿El cliente tiene menos de 16 años? La recopilación de datos no se realiza para aquellos nacidos antes de %s." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "E-Mail" +msgstr "E-Mail" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Ej.: name@domain.com" +msgstr "Ej.: nombre@dominio.com" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Entry date" +msgstr "Fecha de entrada" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:41 +#, python-format +msgid "Error in Birthdate" +msgstr "Error en fecha de nacimiento" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:51 +#, python-format +msgid "Error in Birthdate or Expedition date" +msgstr "Error in fecha de nacimiento o expedición" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:70 +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:72 +#, python-format +msgid "Error in DNI/NIE/DRIVE LICENSE" +msgstr "Error en DNI/NIE/CARNET DE CONDUCIR" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_eventualstaff +msgid "Eventual Staff" +msgstr "Eventual Staff" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Exit date" +msgstr "Fecha Salida" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_polexpedition_cardex +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Expedition date" +msgstr "Fecha expedición" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "February" +msgstr "Febrero" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,gender_cardex:0 +msgid "Female" +msgstr "Mujer" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/policewizard.py:89 +#, python-format +msgid "File not generated by configuration error." +msgstr "Archivo no generado por error de configuración." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_firstname_cardex +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Firstname" +msgstr "Nombre" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Gender" +msgstr "Sexo" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_gender_cardex +msgid "Gender cardex" +msgstr "Género" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_ine_download +msgid "Generar estadistica para el I.N.E." +msgstr "Generar estadistica para el I.N.E." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Generar fichero diario para la Policía" +msgstr "Generar fichero diario para la Policía" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Generate Police file" +msgstr "Generar fichero para la Policía" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_ine_download +msgid "Generate file" +msgstr "Generar Archivo" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/policewizard.py:85 +#, python-format +msgid "Generated file. Download it and give it to the police." +msgstr "Archivo generado. Descárguelo y entrégueselo a la policía." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Guardia Civil " +msgstr "Guardia Civil " + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.alda_view_company_form +msgid "Hotel Settings" +msgstr "Configuración del Hotel" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_category_id +msgid "Hotel category in the Ministry of Tourism. Used for INE statistics." +msgstr "Categoría de hotel en el Ministerio de Turismo. Usado para las est. del INE." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_id +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_id +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_id +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "INE Code" +msgstr "Código INE" + +#. module: hotel_l10n_es +#: model:ir.actions.act_window,name:hotel_l10n_es.action_code_ine +#: model:ir.ui.menu,name:hotel_l10n_es.menu_code_ine +msgid "INE Codes" +msgstr "INE Codes" + +#. module: hotel_l10n_es +#: model:ir.ui.menu,name:hotel_l10n_es.menu_ine_download +msgid "INE File Download" +msgstr "INE File Download" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.alda_view_company_form +msgid "INE and Police data" +msgstr "Datos del INE y Policía" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "January" +msgstr "Enero" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "July" +msgstr "Julio" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "June" +msgstr "Junio" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category___last_update +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine___last_update +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard___last_update +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard___last_update +msgid "Last Modified on" +msgstr "Última modificación en" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_write_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_write_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_write_uid +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_category_write_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_write_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_write_date +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_checkin_wizard_lastname_cardex +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Lastname" +msgstr "Apellidos" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,gender_cardex:0 +msgid "Male" +msgstr "Hombre" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "March" +msgstr "Marzo" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "May" +msgstr "Mayo" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Mobile" +msgstr "Móvil" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_ine_month +msgid "Month" +msgstr "Mes" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Name" +msgstr "Nombre" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_property_name +msgid "Name of the Hotel/Property." +msgstr "Nombre del Hotel/Propiedad." + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inewizard.py:334 +#, python-format +msgid "No data in this month" +msgstr "No hay datos en este mes" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_cardex_warning +msgid "Notice under the signature on the traveler's ticket." +msgstr "Aviso debajo de la firma en el ticket del viajero." + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "November" +msgstr "Noviembre" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_police_wizard_download_num +msgid "Number provided by the police" +msgstr "Núm. provisto por la policía" + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "October" +msgstr "Octubre" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Origin" +msgstr "Origen" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "PART OF TRAVELERS ENTRY" +msgstr "PARTE DE ENTRADA DE VIAJEROS" + +#. module: hotel_l10n_es +#: model:ir.actions.report.xml,name:hotel_l10n_es.action_report_viajero +msgid "Parte de Viajero" +msgstr "Parte de Viajero" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_res_partner +msgid "Partner" +msgstr "Empresa" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Partners" +msgstr "Empresas" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "Pasaporte" +msgstr "Pasaporte" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_permanentstaff +msgid "Permanent Staff" +msgstr "Permanent Staff" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "Permiso Residencia Español" +msgstr "Permiso Residencia Español" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "Permiso Residencia Europeo" +msgstr "Permiso Residencia Europeo" + +#. module: hotel_l10n_es +#: selection:checkin.wizard,documenttype_cardex:0 +#: selection:res.partner,documenttype:0 +msgid "Permiso de Conducir" +msgstr "Permiso de Conducir" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Phone" +msgstr "Teléfono" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Phones" +msgstr "Teléfonos" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_code_ine_name +msgid "Place" +msgstr "Place" + +#. module: hotel_l10n_es +#: model:ir.ui.menu,name:hotel_l10n_es.menu_police_download +msgid "Police File Download" +msgstr "Desacargar Archivo Policía" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_police +msgid "Police number" +msgstr "Núm. Policía" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.view_police_download +msgid "Policia " +msgstr "Policia " + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/policewizard.py:79 +#, python-format +msgid "Problem generating the file. Checkin without data, or incorrect data." +msgstr "Problema generando el fichero. Checkin sin datos, o datos incorrectos." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_property_name +msgid "Property name" +msgstr "Nombre propiedad" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_tourism +msgid "Registration number in the Ministry of Tourism. Used for INE statistics." +msgstr "Categoría de hotel en el Ministerio de Turismo. Usado para las est. del INE." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_rev_screen +msgid "Rev screen" +msgstr "Rev screen" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_rooms +msgid "Rooms Available" +msgstr "Habitaciones Disponibles" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.checkin_wizard_form_2 +msgid "Save Checkin and Print" +msgstr "Guardar registro e imprimir" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/models/inherit_res_partner.py:38 +#: model:ir.model.fields,help:hotel_l10n_es.field_checkin_wizard_documenttype_cardex +#: model:ir.model.fields,help:hotel_l10n_es.field_res_partner_documenttype +#: model:ir.model.fields,help:hotel_l10n_es.field_res_users_documenttype +#, python-format +msgid "Select a valid document type" +msgstr "Seleccione un tipo de documento válido" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Select one..." +msgstr "Seleccione uno..." + +#. module: hotel_l10n_es +#: selection:ine.wizard,ine_month:0 +msgid "September" +msgstr "Septiembre" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "State" +msgstr "Estado" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Street..." +msgstr "Calle..." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Surnames" +msgstr "Apellidos" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "TRAVELER'S DOCUMENT" +msgstr "DOCUMENTO DEL VIAJERO" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Tags" +msgstr "Etiquetas" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.checkin_wizard_form_2 +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "Tags..." +msgstr "Etiquetas..." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "The collection and treatment will be done in accordance with the Organic Law 15/1999, of December 13. of protection of personal data and under the provisions of art. 12.1 of the Organic Law 1/1992, of February 21, on the protection of citizen security." +msgstr "La recogida y tratamiento se hará de acuerdo con la Ley Orgánica 15/1999, de 13 de dic. de protección de datos de carácter personal y al amparo de lo dispuesto en el art. 12.1 de la Ley Orgánica 1/1992, de 21 de febrero, sobre protección de la seguridad ciudadana." + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Total amount (Reservation Card):" +msgstr "Importe total (Ficha de Reserva):" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_tourism +msgid "Tourism number" +msgstr "Núm. Turismo" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Traveler's signature" +msgstr "Firma del viajero" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_txt_binary +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_txt_binary +msgid "Txt binary" +msgstr "Txt binary" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_txt_filename +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_txt_filename +msgid "Txt filename" +msgstr "Txt filename" + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_police_wizard_txt_message +msgid "Txt message" +msgstr "Txt message" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.report_viajero_document +msgid "Type" +msgstr "Tipo" + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_eventualstaff +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_permanentstaff +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_rooms +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_seats +msgid "Used for INE statistics." +msgstr "Usado para estadísticas del INE." + +#. module: hotel_l10n_es +#: model:ir.model.fields,help:hotel_l10n_es.field_res_company_police +msgid "Used to generate the name of the file that will be given to the police. 10 Caracters" +msgstr "Usado para generar el nombre del archivo que será entregado a la policía. 10 Caracteres." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_res_company_cardex_warning +msgid "Warning in Cardex" +msgstr "Alerta en Cardex" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inherit_checkinwizard.py:70 +#, python-format +msgid "Wrong DNI/NIE/DRIVE LICENSE, check it." +msgstr "DNI/NIE/CARNET DE CONDUCIR incorrecto, compruébelo." + +#. module: hotel_l10n_es +#: model:ir.model.fields,field_description:hotel_l10n_es.field_ine_wizard_ine_year +msgid "Year" +msgstr "Año" + +#. module: hotel_l10n_es +#: model:ir.ui.view,arch_db:hotel_l10n_es.partners_form_cardex +msgid "ZIP" +msgstr "C.P." + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_category +msgid "category" +msgstr "categoría" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_checkin_wizard +msgid "checkin.wizard" +msgstr "checkin.wizard" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_code_ine +msgid "code_ine" +msgstr "code_ine" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_ine_wizard +msgid "ine.wizard" +msgstr "ine.wizard" + +#. module: hotel_l10n_es +#: model:ir.model,name:hotel_l10n_es.model_police_wizard +msgid "police.wizard" +msgstr "police.wizard" + +#. module: hotel_l10n_es +#: code:addons/hotel_l10n_es/wizard/inewizard.py:328 +#, python-format +msgid "€ and " +msgstr "€ y " diff --git a/hotel_l10n_es/models/__init__.py b/hotel_l10n_es/models/__init__.py new file mode 100644 index 000000000..427c6733c --- /dev/null +++ b/hotel_l10n_es/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +from . import category_type +from . import code_ine +from . import inherit_res_company +from . import inherit_res_partner diff --git a/hotel_l10n_es/models/category_type.py b/hotel_l10n_es/models/category_type.py new file mode 100644 index 000000000..4ae01b0e2 --- /dev/null +++ b/hotel_l10n_es/models/category_type.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## +from odoo import models, fields, api + + +class TourismCategory(models.Model): + _name = 'tourism.category' + + name = fields.Char('Category', required=True) + category_type = fields.Char('Category type', required=True) + + @api.multi + def name_get(self): + data = [] + for record in self: + display_value = record.category_type + " (" + record.name + ") " + data.append((record.id, display_value)) + return data diff --git a/hotel_l10n_es/models/code_ine.py b/hotel_l10n_es/models/code_ine.py new file mode 100644 index 000000000..13ef99e80 --- /dev/null +++ b/hotel_l10n_es/models/code_ine.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +from openerp import models, fields, api + + +class CodeIne(models.Model): + _name = 'code.ine' + + name = fields.Char('Place', required=True) + code = fields.Char('Code', required=True) + + @api.multi + def name_get(self): + data = [] + for record in self: + subcode = record.code + if len(record.code) > 3: + subcode = 'ESP' + display_value = record.name + " (" + subcode + ")" + data.append((record.id, display_value)) + return data diff --git a/hotel_l10n_es/models/inherit_res_company.py b/hotel_l10n_es/models/inherit_res_company.py new file mode 100644 index 000000000..eaac5073c --- /dev/null +++ b/hotel_l10n_es/models/inherit_res_company.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## +from openerp import models, fields, api + + +class Inherit_res_company(models.Model): + _inherit = 'res.company' + + property_name = fields.Char('Property name', + help='Name of the Hotel/Property.') + ine_tourism = fields.Char('Tourism number', + help='Registration number in the Ministry of \ + Tourism. Used for INE statistics.') + ine_rooms = fields.Integer('Rooms Available', default=0, + help='Used for INE statistics.') + ine_seats = fields.Integer('Beds available', default=0, + help='Used for INE statistics.') + ine_permanent_staff = fields.Integer('Permanent Staff', default=0, + help='Used for INE statistics.') + ine_eventual_staff = fields.Integer('Eventual Staff', default=0, + help='Used for INE statistics.') + police_number = fields.Char('Police number', size=10, + help='Used to generate the name of the file that \ + will be given to the police. 10 Caracters') + ine_category_id = fields.Many2one('category.tourism', + help='Hotel category in the Ministry of \ + Tourism. Used for INE statistics.') diff --git a/hotel_l10n_es/models/inherit_res_partner.py b/hotel_l10n_es/models/inherit_res_partner.py new file mode 100644 index 000000000..da6679cfc --- /dev/null +++ b/hotel_l10n_es/models/inherit_res_partner.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2017 Alda Hotels +# Jose Luis Algara +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## +from openerp import models, fields, api, _ +from odoo.osv.expression import get_unaccent_wrapper + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + document_type = fields.Selection([ + ('D', 'DNI'), + ('P', 'Pasaporte'), + ('C', 'Permiso de Conducir'), + ('I', 'Carta o Doc. de Identidad'), + ('N', 'Permiso Residencia Español'), + ('X', 'Permiso Residencia Europeo')], + help=_('Select a valid document type'), + default='D', + string='Doc. type', + ) + document_number = fields.Char('Document number') + document_expedition_date = fields.Date('Document expedition date') + + code_ine_id = fields.Many2one('code.ine', + help=_('Country or province of origin. Used for INE statistics.')) + + @api.model + def name_search(self, name, args=None, operator='ilike', limit=100): + result = super(ResPartner, self).name_search(name, args=None, + operator='ilike', + limit=100) + if args is None: + args = [] + if name and operator in ('=', 'ilike', '=ilike', 'like', '=like'): + self.check_access_rights('read') + where_query = self._where_calc(args) + self._apply_ir_rules(where_query, 'read') + from_clause, where_clause, where_clause_params = where_query.get_sql() + where_str = where_clause and (" WHERE %s AND " % where_clause) or ' WHERE ' + + # search on the name of the contacts and of its company + search_name = name + if operator in ('ilike', 'like'): + search_name = '%%%s%%' % name + if operator in ('=ilike', '=like'): + operator = operator[1:] + + unaccent = get_unaccent_wrapper(self.env.cr) + + query = """SELECT id + FROM res_partner + {where} ({poldocument} {operator} {percent}) + ORDER BY {display_name} {operator} {percent} desc, + {display_name} + """.format(where=where_str, + operator=operator, + poldocument=unaccent('poldocument'), + display_name=unaccent('display_name'), + percent=unaccent('%s'),) + + where_clause_params += [search_name]*2 + if limit: + query += ' limit %s' + where_clause_params.append(limit) + self.env.cr.execute(query, where_clause_params) + partner_ids = [row[0] for row in self.env.cr.fetchall()] + if partner_ids: + result += self.browse(partner_ids).name_get() + return result + + #TMP_FIX VAT Validation + @api.constrains("vat") + def check_vat(self): + return + + #TODO: Review better VAT & DocumentNumber integration + @api.onchange('document_number') + def onchange_poldocument(self): + for partner in self: + if partner.document_number and partner.document_type == 'D': + partner.vat = 'ES' + partner.poldocument diff --git a/hotel_l10n_es/report/report_parte_viajero.xml b/hotel_l10n_es/report/report_parte_viajero.xml new file mode 100644 index 000000000..a5cc7abf4 --- /dev/null +++ b/hotel_l10n_es/report/report_parte_viajero.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/hotel_l10n_es/security/ir.model.access.csv b/hotel_l10n_es/security/ir.model.access.csv new file mode 100644 index 000000000..97dd8b917 --- /dev/null +++ b/hotel_l10n_es/security/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink diff --git a/hotel_l10n_es/static/src/img/logo_alda_bn.png b/hotel_l10n_es/static/src/img/logo_alda_bn.png new file mode 100755 index 000000000..98aa826fd Binary files /dev/null and b/hotel_l10n_es/static/src/img/logo_alda_bn.png differ diff --git a/hotel_l10n_es/static/src/img/watermark.jpg b/hotel_l10n_es/static/src/img/watermark.jpg new file mode 100755 index 000000000..7011f12c1 Binary files /dev/null and b/hotel_l10n_es/static/src/img/watermark.jpg differ diff --git a/hotel_l10n_es/static/src/xml/hotel_l10n_es_templates.xml b/hotel_l10n_es/static/src/xml/hotel_l10n_es_templates.xml new file mode 100644 index 000000000..7470efb3b --- /dev/null +++ b/hotel_l10n_es/static/src/xml/hotel_l10n_es_templates.xml @@ -0,0 +1,13 @@ + + + + diff --git a/hotel_l10n_es/views/category_tourism.xml b/hotel_l10n_es/views/category_tourism.xml new file mode 100644 index 000000000..9cbe392aa --- /dev/null +++ b/hotel_l10n_es/views/category_tourism.xml @@ -0,0 +1,51 @@ + + + + + + + + + category.tourism.view.form + category.tourism + +
+ + + + + + + + + + + + + +
+
+
+ + + category.tourism.view.tree + category.tourism + + + + + + + +
diff --git a/hotel_l10n_es/views/code_ine.xml b/hotel_l10n_es/views/code_ine.xml new file mode 100644 index 000000000..d2f5b831b --- /dev/null +++ b/hotel_l10n_es/views/code_ine.xml @@ -0,0 +1,53 @@ + + + + + + + + + + code.ine.view.form + code.ine + +
+ + + + + + + + + + + + + +
+
+
+ + + code.ine.view.tree + code.ine + + + + + + + + +
diff --git a/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml b/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml new file mode 100644 index 000000000..712b3d350 --- /dev/null +++ b/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml @@ -0,0 +1,21 @@ + + + + + hotel.checkin.partner.view.form + hotel.checkin.partner + + + +