summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2019-06-24 13:34:12 +0000
committerPriyanka Kakadiya <pka@odoo.com>2019-06-27 06:41:40 +0000
commitb67a3bb403b80e98a2b66dcb8cf570d2b156fb68 (patch)
tree2ecc8edb41b08386707dd549d118d5f20baf3d2d
parentbaa0ce6d153b945f6baf4986811ba4c946e26868 (diff)
[FIX] account_payment: fix payment modal issue
purpose of this commit is to show modal with proper height before this commit: currently, the modal structure was not correct, so it is displaying modal-content twice in the modal that's why it shows modal with full height. after this commit: correct modal structure to show it properly, so payment modal in the portal view looks like as expected. task-2025869 closes: https://github.com/odoo/odoo/pull/34334 closes odoo/odoo#34334 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
-rw-r--r--addons/account_payment/views/account_portal_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml
index bdc9c9da488..997791176a4 100644
--- a/addons/account_payment/views/account_portal_templates.xml
+++ b/addons/account_payment/views/account_portal_templates.xml
@@ -38,7 +38,7 @@
<template id="portal_invoice_payment" name="Invoice Payment">
<div class="row" t-if="not tx_ids and invoice.state == 'open' and invoice.amount_total" id="portal_pay">
<div class="modal fade" id="pay_with" role="dialog">
- <div class="modal-dialog modal-content">
+ <div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Pay with</h3>