From 144abbe552f96891e2756fed894e89d9df35eda5 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Wed, 15 Dec 2021 12:34:35 +0000 Subject: [PATCH] [FIX] l10n_gcc_invoice: also add description/label of the invoice line We did not add the description of the invoice line on the print-out of the invoice. (probably because description is not translatable and the name of the product is) If a product is set, the name of the product becomes the description (label) on the invoice line, but of course this depends on the language. So, we only add the description if it does not correspond to either the English (/standard language) or Arabic product description. (People can always add both languages in the same field) Of course, if the product is not set, it will also just show the description (label). Also put the : of the payment reference in Arabic on the other side. closes odoo/odoo#81620 X-original-commit: 3485c7ad368d9c841d75a0b0614082b8989e2afc Signed-off-by: Florian Gilbert Signed-off-by: Josse Colpaert --- .../l10n_gcc_invoice/views/report_invoice.xml | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/addons/l10n_gcc_invoice/views/report_invoice.xml b/addons/l10n_gcc_invoice/views/report_invoice.xml index 8866f3ee1d6..448140e8b93 100644 --- a/addons/l10n_gcc_invoice/views/report_invoice.xml +++ b/addons/l10n_gcc_invoice/views/report_invoice.xml @@ -254,11 +254,18 @@ - - -
- + + + + +
+ +
+
+ +
+
@@ -400,10 +407,10 @@
-

رقم إشارة الدفعة: +

- - + : + رقم إشارة الدفعة