[FIX] account: card color kanban view
The kanban cards did not take the class oe_kanban_color. This is because it was set on the child div instead of the parent one. opw-3069024 closes odoo/odoo#107778 X-original-commit: 9078761d10289446cfd3881e9df9061075441440 Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</t>
|
||||
|
||||
<t t-name="account.AccountFileUploader" owl="1">
|
||||
<div>
|
||||
<div t-att-class="props.record and props.record.data ? 'oe_kanban_color_' + props.record.data.color : ''">
|
||||
<FileUploader
|
||||
acceptedFileExtensions="props.acceptedFileExtensions"
|
||||
fileUploadClass="'account_file_uploader'"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<field name="alias_domain"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div t-attf-class="d-flex flex-column flex-fill #{!selection_mode ? kanban_color(record.color.raw_value) : ''}">
|
||||
<div t-attf-class="d-flex flex-column flex-fill">
|
||||
<t t-value="JSON.parse(record.kanban_dashboard.raw_value)" t-set="dashboard"/>
|
||||
<t t-value="record.type.raw_value" t-set="journal_type"/>
|
||||
<t t-call="JournalTop"/>
|
||||
|
||||
Reference in New Issue
Block a user