Commit Graph
5 Commits
Author SHA1 Message Date
Josse Colpaert 144abbe552 [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 <flg@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
2021-12-17 21:59:10 +00:00
Andrea Grazioso (agr-odoo) 93b6033a25 [FIX] l10n_gcc_invoice: correct narration definition
Define "Default Terms & Condition" in settings
Create invoice

No default terms will show

opw-2701811

closes odoo/odoo#81160

X-original-commit: 323534c89963f466ac7c53894fed62691bd2321f
Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com>
2021-12-13 08:57:47 +00:00
baa c99a5f837e [FIX] l10n_gcc_invoice: changes a div to allow studio editing on the english/arabic invoice
closes odoo/odoo#80332

X-original-commit: c2f6df4eeed8d69867893c69704782b2a2b46b75
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-11-24 14:53:28 +00:00
baa 37dd08d776 [FIX] l10n_gcc_invoice: fix traceback on invoice when a section is present + fix arabic display on the section subtotal
having a section or a note on the invoice would trigger a traceback when printing the invoice for a GCC company. The arabic/english label inside that element would not display properly either

closes odoo/odoo#80276

X-original-commit: b8af5a493d8b1735735f5edee14be4a117cb66b8
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-11-23 17:53:53 +00:00
baa 30019e3e32 [ADD] l10n_gcc_invoice: arabic/english report for GCC countries
Most GCC countries are required by law to have invoice reports in both arabic in english

X-original-commit: 0baca0420b472bdfdd95c108c945f5990e0b34da
Part-of: odoo/odoo#79817
2021-11-16 10:49:27 +00:00