diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py
index 5f69692cff1..99753a10e1d 100644
--- a/addons/account/models/account_move.py
+++ b/addons/account/models/account_move.py
@@ -2558,6 +2558,12 @@ class AccountMove(models.Model):
raise UserError(_("Only invoices could be printed."))
return self._get_move_display_name()
+ def _get_name_invoice_report(self):
+ """ This method need to be inherit by the localizations if they want to print a custom invoice report instead of
+ the default one. For example please review the l10n_ar module """
+ self.ensure_one()
+ return 'account.report_invoice_document'
+
def preview_invoice(self):
self.ensure_one()
return {
diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml
index ce54031ded0..917547a07e9 100644
--- a/addons/account/views/report_invoice.xml
+++ b/addons/account/views/report_invoice.xml
@@ -157,6 +157,29 @@
+
+
+
+
+
+ |
+ Paid on
+ |
+
+
+ |
+
+
+
+
+ | Amount Due |
+
+
+ |
+
+
+
+
@@ -186,37 +209,11 @@
-
-
-
-
-
-
- |
- Paid on
- |
-
-
- |
-
-
-
-
- | Amount Due |
-
-
- |
-
-
-
-
-
-
-
+
@@ -225,7 +222,8 @@
-
+
+