Skip to content

Commit

Permalink
[FIX] account: align text between currency and payment term
Browse files Browse the repository at this point in the history
Install account_accountant
Activate Second currency
Create an invoice
=> The "or" and the "in" are not aligned.

closes odoo#168732

Signed-off-by: Olivier Colson (oco) <[email protected]>
  • Loading branch information
gawa-odoo committed Jun 10, 2024
1 parent 7226734 commit 43339f5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions addons/account/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -981,16 +981,19 @@
groups="account.group_account_readonly,base.group_multi_currency">
<field name="journal_id"
groups="account.group_account_readonly"
class="mr4"
options="{'no_create': True, 'no_open': True}"
readonly="posted_before"/>

<span class="o_form_label mx-3 oe_edit_only"
groups="account.group_account_readonly"
invisible="move_type == 'entry'">
<span groups="base.group_multi_currency">in </span>
</span>
<div name="currency_div"
groups="base.group_multi_currency"
class="w-100"
style="white-space: pre;"
invisible="move_type == 'entry'">
<span class="o_form_label"
groups="account.group_account_readonly"
invisible="move_type == 'entry'">in </span>
<field name="currency_id"
readonly="state != 'draft'"
class="oe_inline"
Expand Down

0 comments on commit 43339f5

Please sign in to comment.