Skip to content

Commit

Permalink
[FIX] account_reconcile_oca: Fix the layout of statement button on re…
Browse files Browse the repository at this point in the history
…conciliation screen
  • Loading branch information
ByteMeAsap committed Oct 1, 2024
1 parent e11c081 commit 05e92bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
3 changes: 3 additions & 0 deletions account_reconcile_oca/static/src/scss/reconcile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
border: 0;
top: -14px;
opacity: 0;
width: 100%;
background-color: transparent;
pointer-events: none;
}
> div {
border-right: thick solid rgba(0, 0, 0, 0);
Expand Down
20 changes: 8 additions & 12 deletions account_reconcile_oca/views/account_bank_statement_line.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@
<field name="aggregate_name" />
<templates>
<t t-name="kanban-box">
<div
<a
t-if="record.reconcile_aggregate.raw_value == 'statement' and !record.statement_id.raw_value"
class="o_reconcile_create_statement text-center"
role="button"
class="btn btn-secondary btn-sm o_reconcile_create_statement"
tabindex="-1"
type="object"
name="add_statement"
>
<a
role="button"
class="btn btn-secondary btn-sm"
tabindex="-1"
type="object"
name="add_statement"
>
Statement
</a>
</div>
Statement
</a>
<div
t-attf-class="oe_kanban_card oe_kanban_global_click"
style="width:100%"
Expand Down

0 comments on commit 05e92bf

Please sign in to comment.