diff --git a/addons/account/views/account_portal_templates.xml b/addons/account/views/account_portal_templates.xml
index d2e30a7f1c8..1513427285d 100644
--- a/addons/account/views/account_portal_templates.xml
+++ b/addons/account/views/account_portal_templates.xml
@@ -75,7 +75,12 @@
-
-
- Transactions
-
-
-
-
-
- Done
-
-
- Authorized
-
-
- Waiting
-
-
-
-
diff --git a/addons/payment/models/account_invoice.py b/addons/payment/models/account_invoice.py
index 490ebd58cdf..54d9f9099b0 100644
--- a/addons/payment/models/account_invoice.py
+++ b/addons/payment/models/account_invoice.py
@@ -75,7 +75,7 @@ class AccountInvoice(models.Model):
vals['acquirer_id'] = acquirer.id
vals.update({
- 'amount': sum(self.mapped('amount_total')),
+ 'amount': sum(self.mapped('residual')),
'currency_id': currency.id,
'partner_id': partner.id,
'invoice_ids': [(6, 0, self.ids)],
diff --git a/addons/payment/views/payment_portal_templates.xml b/addons/payment/views/payment_portal_templates.xml
index cfa0ac19269..1cb4873d524 100644
--- a/addons/payment/views/payment_portal_templates.xml
+++ b/addons/payment/views/payment_portal_templates.xml
@@ -118,20 +118,22 @@
To be called with the 'payment_tx_id' value.
-->
+
+
-
+
Your payment has been authorized.
-
+
-
+
diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml
index b2adac467e7..5c08be5df9f 100644
--- a/addons/web/views/report_templates.xml
+++ b/addons/web/views/report_templates.xml
@@ -176,7 +176,7 @@
:
-
+
Page:
of
@@ -215,7 +215,7 @@
:
-
@@ -257,7 +257,7 @@
@@ -304,7 +304,7 @@
-