From bf3e75c24b8ce3af9049f8fcc999361ff8bd86b4 Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Mon, 11 Feb 2019 13:23:56 +0100 Subject: [PATCH] [WIP] report parte viajero --- hotel_l10n_es/report/report_parte_viajero.xml | 10 +++++----- .../inherit_hotel_checkin_partner_views.xml | 4 ++-- hotel_l10n_es/views/report_viajero.xml | 2 +- .../views/report_viajero_document.xml | 20 +++++++++---------- .../wizard/inherit_checkin_wizard.py | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/hotel_l10n_es/report/report_parte_viajero.xml b/hotel_l10n_es/report/report_parte_viajero.xml index 05d42a824..02d2a99d2 100644 --- a/hotel_l10n_es/report/report_parte_viajero.xml +++ b/hotel_l10n_es/report/report_parte_viajero.xml @@ -1,12 +1,12 @@ - - + + diff --git a/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml b/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml index ab369ca55..5ab2c0fd5 100644 --- a/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml +++ b/hotel_l10n_es/views/inherit_hotel_checkin_partner_views.xml @@ -1,6 +1,6 @@ - + hotel.checkin.partner.view.form hotel.checkin.partner @@ -62,5 +62,5 @@ - + diff --git a/hotel_l10n_es/views/report_viajero.xml b/hotel_l10n_es/views/report_viajero.xml index cd1c00917..db46715f8 100644 --- a/hotel_l10n_es/views/report_viajero.xml +++ b/hotel_l10n_es/views/report_viajero.xml @@ -24,7 +24,7 @@ .titulo {font-size:0.93em;} .titulo2 {font-size:1.93em;} - + diff --git a/hotel_l10n_es/views/report_viajero_document.xml b/hotel_l10n_es/views/report_viajero_document.xml index 681ce498a..5d3c71d2d 100644 --- a/hotel_l10n_es/views/report_viajero_document.xml +++ b/hotel_l10n_es/views/report_viajero_document.xml @@ -11,8 +11,8 @@ style="width:100%; max-heigth:50px; margin:0 0 1em 0;"/>

PART OF TRAVELERS ENTRY

Document number: / - ( ) - + ( ) +

Total amount (Reservation Card):

CIF:
@@ -30,21 +30,21 @@ Document number - + Type - + Expedition date - +
@@ -86,7 +86,7 @@ Origin - +
@@ -148,21 +148,21 @@ Document number - + Type - + Expedition date - +
@@ -204,7 +204,7 @@ Origin - +
diff --git a/hotel_l10n_es/wizard/inherit_checkin_wizard.py b/hotel_l10n_es/wizard/inherit_checkin_wizard.py index 438c04685..f768a92ca 100644 --- a/hotel_l10n_es/wizard/inherit_checkin_wizard.py +++ b/hotel_l10n_es/wizard/inherit_checkin_wizard.py @@ -107,7 +107,7 @@ class CheckinWizard(models.TransientModel): @api.multi def pdf_viajero(self, cardex_id): cardex = self.env['cardex'].search([('id', '=', cardex_id)]) - return self.env['report'].get_action(cardex, 'report.viajero') + return self.env['report'].get_action(cardex, 'action.report.viajero') @api.multi def action_save_check(self):