From 245c496aaf9c9ee8eb42ef36caf4b6306234b4f0 Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Wed, 13 Mar 2019 18:36:30 +0100 Subject: [PATCH] [ADD] Credit card Details --- hotel/models/hotel_folio.py | 1 + hotel/views/hotel_folio_views.xml | 1 + hotel/views/hotel_reservation_views.xml | 16 ++++++++++++---- hotel/wizard/wizard_reservation.py | 9 ++++----- hotel/wizard/wizard_reservation.xml | 2 ++ 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/hotel/models/hotel_folio.py b/hotel/models/hotel_folio.py index b55c8c4aa..975854c4b 100644 --- a/hotel/models/hotel_folio.py +++ b/hotel/models/hotel_folio.py @@ -176,6 +176,7 @@ class HotelFolio(models.Model): return_ids = fields.One2many('payment.return', 'folio_id', readonly=True) payment_term_id = fields.Many2one('account.payment.term', string='Payment Terms', oldname='payment_term') + credit_card_details = fields.Text('Credit Card Details') #Amount Fields------------------------------------------------------ pending_amount = fields.Monetary(compute='compute_amount', diff --git a/hotel/views/hotel_folio_views.xml b/hotel/views/hotel_folio_views.xml index 861a80e69..d32007463 100644 --- a/hotel/views/hotel_folio_views.xml +++ b/hotel/views/hotel_folio_views.xml @@ -93,6 +93,7 @@ + diff --git a/hotel/views/hotel_reservation_views.xml b/hotel/views/hotel_reservation_views.xml index f23724348..0feab5f33 100644 --- a/hotel/views/hotel_reservation_views.xml +++ b/hotel/views/hotel_reservation_views.xml @@ -445,7 +445,7 @@ />