[FIX] account: coa kanban bug
Before this PR, going to the coa in kanban view was broken with an infinite white screen. The error was that the template tried to display the account type and without the .value is resulted in an owl error. It's now corrected, we can now access the kanban view of the COA. I also changed a bit the size of column so that the name of the account stay a maximum in one line closes odoo/odoo#106391 Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
@@ -119,15 +119,15 @@
|
||||
<t t-name="kanban-box">
|
||||
<div t-attf-class="oe_kanban_global_click">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<div class="col-8">
|
||||
<strong><field name="name"/></strong>
|
||||
</div>
|
||||
<div class="col-6 text-end">
|
||||
<div class="col-4 text-end">
|
||||
<span class="badge rounded-pill"><t t-out="record.code.value"/></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<strong>Type: </strong><t t-out="record.account_type"/>
|
||||
<strong>Type: </strong><t t-out="record.account_type.value"/>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user