From 328d62cc91204b4d376d037694a87b538cbb2e84 Mon Sep 17 00:00:00 2001 From: Denis Michiels <dmi@odoo.com> Date: Thu, 28 May 2015 17:31:01 +0200 Subject: [PATCH] [FIX] account: fix small issue in design in the invoices. --- .../account/static/src/css/account_bank_and_cash.css | 4 ++++ addons/account/static/src/xml/account_payment.xml | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/addons/account/static/src/css/account_bank_and_cash.css b/addons/account/static/src/css/account_bank_and_cash.css index 5b5643d0d8e8..5c5723079f2a 100644 --- a/addons/account/static/src/css/account_bank_and_cash.css +++ b/addons/account/static/src/css/account_bank_and_cash.css @@ -25,3 +25,7 @@ .openerp .oe_opening_total{ margin-right: 4px; } + +.oe_payment_label{ + padding-right: 20px; +} \ No newline at end of file diff --git a/addons/account/static/src/xml/account_payment.xml b/addons/account/static/src/xml/account_payment.xml index 3160f5018b7a..c99dd36f9e43 100644 --- a/addons/account/static/src/xml/account_payment.xml +++ b/addons/account/static/src/xml/account_payment.xml @@ -14,19 +14,19 @@ <tr> <t t-if="outstanding"> <td> - <a title="assign to invoice" class="oe_form_field outstanding_credit_assign" t-att-data-id="line.id">Add</a> + <a title="assign to invoice" class="oe_form_field outstanding_credit_assign" t-att-data-id="line.id" style="margin-right: 10px;">Add</a> </td> <td> - <span class="oe_form_field"><t t-esc="line.ref"></t></span> + <span class="oe_form_field" style="margin-right: 30px;"><t t-esc="line.ref"></t></span> </td> </t> <t t-if="!outstanding"> <td> - <i class="oe_form_field text-right" t-att-title="line.name + '\n'+ line.ref">Payment on <t t-esc="line.date"></t></i> + <i class="oe_form_field text-right oe_payment_label" t-att-title="line.name + '\n'+ line.ref">Paid on <t t-esc="line.date"></t></i> </td> </t> <td style="text-align:right;"> - <span class="oe_form_field oe_form_field_float oe_form_field_monetary"> + <span class="oe_form_field oe_form_field_float oe_form_field_monetary" style="margin-left: -10px;"> <t t-if="line.position === 'before'"> <t t-esc="line.currency"/> </t> @@ -42,4 +42,4 @@ </div> </t> -</templates> \ No newline at end of file +</templates> -- GitLab