Skip to content

Commit bc675ff

Browse files
committed
[IMP] l10n_fr: adapt invoice layout for better readability
Backport of: odoo@7f93cd1 This commit odoo@d10174e made a change in the report invoice information block and changed the class to only use col which was not changed in the french localisation. Adapted the layout to be more readable by using proper spacing and column sizing when displaying a lot of information (Sales reference, delivery address, incoterm, customer address, operation type). Task ID: 4555856 closes odoo#220169 X-original-commit: 11866c5 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com> Signed-off-by: Maximilien La Barre (malb) <malb@odoo.com>
1 parent 5786bd3 commit bc675ff

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

addons/l10n_fr_account/i18n/fr.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@ msgstr "# 17"
5959
#. module: l10n_fr_account
6060
#: model_terms:ir.ui.view,arch_db:l10n_fr_account.report_invoice_document
6161
msgid ""
62-
"<strong>Customer Address:</strong>\n"
62+
"<strong>Customer Address</strong>\n"
6363
" <br/>"
6464
msgstr ""
65-
"<strong>Adresse du client :</strong>\n"
65+
"<strong>Adresse du client </strong>\n"
6666
" <br/>"
6767

6868
#. module: l10n_fr_account
6969
#: model_terms:ir.ui.view,arch_db:l10n_fr_account.report_invoice_document
7070
msgid ""
71-
"<strong>Operation Type:</strong>\n"
71+
"<strong>Operation Type</strong>\n"
7272
" <br/>"
7373
msgstr ""
74-
"<strong>Type d'opération :</strong>\n"
74+
"<strong>Type d'opération </strong>\n"
7575
" <br/>"
7676

7777
#. module: l10n_fr_account

addons/l10n_fr_account/i18n/l10n_fr_account.pot

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 18.0\n"
7+
"Project-Id-Version: Odoo Server 18.0+e\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-11-04 08:46+0000\n"
10-
"PO-Revision-Date: 2024-11-04 08:46+0000\n"
9+
"POT-Creation-Date: 2025-07-10 06:53+0000\n"
10+
"PO-Revision-Date: 2025-07-10 06:53+0000\n"
1111
"Last-Translator: \n"
1212
"Language-Team: \n"
1313
"MIME-Version: 1.0\n"
@@ -58,14 +58,14 @@ msgstr ""
5858
#. module: l10n_fr_account
5959
#: model_terms:ir.ui.view,arch_db:l10n_fr_account.report_invoice_document
6060
msgid ""
61-
"<strong>Customer Address:</strong>\n"
61+
"<strong>Customer Address</strong>\n"
6262
" <br/>"
6363
msgstr ""
6464

6565
#. module: l10n_fr_account
6666
#: model_terms:ir.ui.view,arch_db:l10n_fr_account.report_invoice_document
6767
msgid ""
68-
"<strong>Operation Type:</strong>\n"
68+
"<strong>Operation Type</strong>\n"
6969
" <br/>"
7070
msgstr ""
7171

addons/l10n_fr_account/views/report_invoice.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<xpath expr="//div[@id='informations']" position="inside">
2121
<t t-if="o.l10n_fr_is_company_french and o.partner_id.commercial_partner_id != o.partner_id and o.move_type.startswith('out_')">
2222
<t t-set="partner" t-value="o.partner_id.commercial_partner_id"/>
23-
<div t-attf-class="#{'col-auto col-3 mw-100' if report_type != 'html' else 'col'} mb-2" name="customer_address">
24-
<strong>Customer Address:</strong>
23+
<div name="customer_address" class="col">
24+
<strong>Customer Address</strong>
2525
<br/>
2626
<address t-field="partner.self" class="m-0" t-options="{'widget': 'contact', 'fields': ['address'], 'no_marker': True}"/>
2727
</div>
@@ -34,8 +34,8 @@
3434
<t t-set="has_service" t-value="'service' in tax_scopes"/>
3535
<t t-set="has_consu" t-value="'consu' in tax_scopes"/>
3636

37-
<div t-if="has_service or has_consu" t-attf-class="#{'col-auto col-3 mw-100' if report_type != 'html' else 'col'} mb-2" name="operation_type">
38-
<strong>Operation Type:</strong>
37+
<div t-if="has_service or has_consu" name="operation_type" class="col">
38+
<strong>Operation Type</strong>
3939
<br/>
4040
<span t-if="has_service and has_consu">
4141
Mixed Operation

0 commit comments

Comments
 (0)