Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
0331bde
[IMP] tmp material symbols
stefanorigano Jan 23, 2026
57d88c9
[IMP] btn-link
stefanorigano Jan 27, 2026
ea115d2
[IMP] rename odoo_ui_icon.css
Brieuc-brd Feb 10, 2026
cf33430
[REM] fontawesome_overridden.scss
Brieuc-brd Feb 25, 2026
bee3521
[IMP] unify icon implementation
stefanorigano Mar 16, 2026
23d23ae
[IMP] *: apply globally the new icon implementation
Brieuc-brd Mar 30, 2026
daa5a36
[IMP] *: adapt CSS and SCSS occurences
Brieuc-brd Feb 10, 2026
2bc9123
[IMP] web: documentation_link
Brieuc-brd Feb 9, 2026
24ae202
[IMP] web: view_button - implementation
Brieuc-brd Feb 23, 2026
dd4805d
[IMP] web: view_button - instances
Brieuc-brd Feb 23, 2026
862332b
[IMP] web: view info
Brieuc-brd Feb 11, 2026
734bae4
[IMP] web: search_bar
Brieuc-brd Feb 13, 2026
d93c688
[IMP] web: action and cog menu
Brieuc-brd Feb 16, 2026
9819b10
[IMP] web: calendar
Brieuc-brd Feb 16, 2026
3ded07b
[IMP] web: search_panel
Brieuc-brd Feb 18, 2026
bc0a88f
[IMP] web: group config menu
Brieuc-brd Feb 18, 2026
bc14a87
[IMP] web: action_swiper
Brieuc-brd Feb 27, 2026
82ec15c
[IMP] web: notification
Brieuc-brd Feb 27, 2026
120f7a3
[IMP] web: switch_company_menu
Brieuc-brd Feb 27, 2026
2f0fc11
[IMP] web: copy_button
Brieuc-brd Feb 25, 2026
a239ed1
[IMP] web_hierarchy
Brieuc-brd Feb 27, 2026
39f81f7
[IMP] web: boolean_favorite_field
Brieuc-brd Mar 10, 2026
7ef6b37
[IMP] crm: pls_tooltip
Brieuc-brd Feb 9, 2026
85b3898
[IMP] html_editor: embedded_component_toolbar
Brieuc-brd Mar 11, 2026
cc89394
[IMP] html_editor: global changes
Brieuc-brd Mar 5, 2026
5bd4810
[IMP] html_builder: builderButton
Brieuc-brd Feb 9, 2026
eb95c7f
[IMP] html_builder: overlay_buttons
Brieuc-brd Feb 10, 2026
71244ac
[IMP] html_builder: builder_number_input
Brieuc-brd Feb 10, 2026
5dcda2a
[IMP] html_builder: s_alert
Brieuc-brd Mar 5, 2026
8b8eaaa
[IMP] html_builder, *: s_rating
Brieuc-brd Mar 6, 2026
cf31823
[IMP] mail: global changes
Brieuc-brd Mar 27, 2026
384dbca
[IMP] mail: mobile menu
Brieuc-brd Feb 18, 2026
3820920
[IMP] mail: actions
Brieuc-brd Feb 11, 2026
8420038
[IMP] mail: device_select
Brieuc-brd Feb 26, 2026
479e395
[IMP] mail, *: im_status
Brieuc-brd Mar 10, 2026
7aaa5ba
[IMP] spreadsheet
Brieuc-brd Feb 18, 2026
02c7764
[IMP] api_doc: doc table
Brieuc-brd Feb 18, 2026
970a4ea
[IMP] point_of_sale: input
Brieuc-brd Feb 26, 2026
737a761
[IMP] point_of_sale: print_popup
Brieuc-brd Feb 27, 2026
6e05f2b
[IMP] point_of_sale: send_receipt_popup
Brieuc-brd Feb 27, 2026
999e5f6
[IMP] snailmail: notification
Brieuc-brd Feb 27, 2026
ca6684c
[IMP] stock: popover_widget
Brieuc-brd Feb 27, 2026
f26b56b
[IMP] website: scss implementation - compatibility
Brieuc-brd Mar 2, 2026
09250ef
[IMP] website: s_social_media
Brieuc-brd Mar 11, 2026
d86f617
[IMP] website: s_searchbar
Brieuc-brd Mar 11, 2026
6f68c96
[IMP] website: theme_fontfamily_option
Brieuc-brd Mar 11, 2026
f3831e3
[IMP] website_forum: link_button
Brieuc-brd Mar 2, 2026
49d7828
[IMP] website_slides: slide_upload_dialog
Brieuc-brd Mar 2, 2026
e64f2f2
[IMP] website_slides_*: slide icons
Brieuc-brd Mar 2, 2026
0f9056b
[IMP] website_sale: s_add_to_card
Brieuc-brd Mar 11, 2026
85358d3
[IMP] account: section_state_icon
Brieuc-brd Mar 3, 2026
82e1250
[IMP] event: event_state_selection_field
Brieuc-brd Mar 4, 2026
075f961
[IMP] event: icon_selection_field
Brieuc-brd Mar 4, 2026
42afed3
[IMP] hr: presence_status
Brieuc-brd Mar 4, 2026
346c32e
[IMP] *: contact kanban card
Brieuc-brd Feb 18, 2026
c1ab1cc
[IMP] *: selection_badge_icons
Brieuc-brd Mar 6, 2026
39a263a
[IMP] portal_rating: rating_template
Brieuc-brd Mar 11, 2026
41817b5
[IMP] website: configurator
Brieuc-brd Mar 12, 2026
d0f8339
[IMP] project: project_task_state_selection
Brieuc-brd Mar 12, 2026
08edbc6
[IMP] point_of_sale: centered_icon
Brieuc-brd Mar 12, 2026
6b9efe0
[IMP] iot_drivers: global changes
Brieuc-brd Mar 12, 2026
788ba59
[IMP] auth_oauth: login
Brieuc-brd Mar 13, 2026
33502ac
[IMP] media dialog
stefanorigano Mar 19, 2026
949d0c0
[IMP] hoot
Brieuc-brd Mar 24, 2026
be17849
[IMP] web, * : adapt image footprint
claireclan Mar 19, 2026
77a67a4
[IMP] rounded icons for frontend
Brieuc-brd Mar 23, 2026
ae0d9b0
[IMP] website, html_builder: replace svgs with oi
Brieuc-brd Mar 23, 2026
d8508b1
[IMP] MI rounded by default
Brieuc-brd Mar 24, 2026
ab5df03
[IMP] web: replace o_barcode with ui icon
Brieuc-brd Mar 25, 2026
57077ec
[IMP] im_livechat: update icon route
Brieuc-brd Mar 25, 2026
fac672b
[IMP] maintenance: maintenance_state_selection
Brieuc-brd Mar 26, 2026
f1bcabe
[IMP] introduce documents ui icon
Brieuc-brd Mar 30, 2026
37117d6
fixup! [IMP] *: apply globally the new icon implementation
Brieuc-brd Mar 27, 2026
c9eb23a
fixup! [IMP] *: adapt CSS and SCSS occurences
Brieuc-brd Mar 27, 2026
1559283
fixup! [IMP] mail: global changes
Brieuc-brd Mar 27, 2026
f8e7a79
fixup! [IMP] mail, *: im_status
Brieuc-brd Mar 27, 2026
84e4843
fixup! [IMP] point_of_sale: input
Brieuc-brd Mar 27, 2026
802c564
fixup! [IMP] media dialog
stefanorigano Mar 27, 2026
6245575
fixup! [IMP] web: action and cog menu
Brieuc-brd Mar 27, 2026
4f1270d
fixup! [IMP] mail: actions
Brieuc-brd Mar 27, 2026
1190326
fixup! [IMP] point_of_sale: centered_icon
Brieuc-brd Mar 27, 2026
d36c7ce
fixup! [IMP] web: view info
Brieuc-brd Mar 30, 2026
a9480e7
fixup! [IMP] snailmail: notification
Brieuc-brd Mar 30, 2026
f802b7c
fixup! [IMP] im_livechat: update icon route
Brieuc-brd Mar 30, 2026
bc8cd1a
fixup! [IMP] tmp material symbols
Brieuc-brd Mar 30, 2026
127fe62
fixup! [IMP] *: apply globally the new icon implementation
Brieuc-brd Mar 31, 2026
e034b61
[FIX] website: fix runbot errors
claireclan Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion addons/account/models/partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def _compute_application_statistics_hook(self):
if not self.env.user.has_group('account.group_account_invoice'):
return data_list
for partner in self.filtered(lambda p: p._get_account_statistics_count()):
stat_info = {'iconClass': 'fa-pencil-square-o', 'value': partner._get_account_statistics_count(), 'label': _('Invoices/Bills/Mandates')}
stat_info = {'icon': 'edit_square', 'value': partner._get_account_statistics_count(), 'label': _('Invoices/Bills/Mandates')}
data_list[partner.id].append(stat_info)
return data_list

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<t t-name="account.JournalUploadLink">
<a t-att-class="this.props.btnClass" href="#" draggable="false">
<div class="d-sm-none">
<i class="fa fa-upload"></i>
<i class="oi" data-icon="upload"></i>
</div>
<div class="d-none d-sm-block">
<t t-out="this.props.linkText"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div t-if="this.state.label" class="position-absolute top-50 end-0 translate-middle-y me-1">
<span class="o_account_number badge rounded-pill text-success bg-success bg-opacity-25 d-inline-flex px-2 mb-1">
<i class="fa fa-check me-1"/>
<i class="oi me-1" data-icon="check"/>
<span t-out="this.state.label"/>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</t>
<tr t-if="info.exchangeInfo?.line_ids and info.exchangeInfo.line_ids.length">
<td>
<a role="button" tabindex="0" class="js_exchange_info fa fa-info-circle" style="margin-right:5px;" t-on-click.stop="() => this.onExchangeInfoClick(info.exchangeInfo.line_ids)"></a>
<a role="button" tabindex="0" class="js_exchange_info oi" data-icon="info" style="margin-right:5px;" t-on-click.stop="() => this.onExchangeInfoClick(info.exchangeInfo.line_ids)"></a>
</td>
<td colspan="2">
<i class="o_field_widget text-start text-muted text-start">
Expand All @@ -85,7 +85,7 @@
<td class="ps-1">
<t t-out="this.props.amount_company_currency"></t>
<t t-if="this.props.amount_foreign_currency">
(<span class="fa fa-money"/> <t t-out="this.props.amount_foreign_currency"/>)
(<span class="oi" data-icon="payments"/> <t t-out="this.props.amount_foreign_currency"/>)
</t>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
title="Pick the rate on a certain date"
t-custom-ref="datetime-picker-target"
>
<i class="fa fa-calendar"/>
<i class="oi oi-filled" data-icon="calendar_today"/>
</button>
</t>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<t t-name="account.MoveStatusBarSecuredField.ItemLabel">
<span t-out="item.label" />
<t t-if="item.value == 'posted'">
<i t-attf-class="fa fa-fw ms-1 #{this.isSecured ? 'fa-lock text-success' : 'fa-unlock text-warning'}"/>
<i t-attf-class="oi oi-fw ms-1 #{this.isSecured ? 'text-success' : 'text-warning'}" t-attf-data-icon="{{this.isSecured ? 'lock' : 'lock_open'}}"/>
</t>
</t>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
href="#"
t-on-click.prevent="() => this.handleOnClick(error_value)"
>
<i class="oi oi-arrow-right ms-1"/>
<i class="oi ms-1" data-icon="east"/>
<span class="ms-1" t-out="error_value.action_text"/>
<i t-if="level === 'danger'" class="fa fa-warning ms-1"/>
<i t-if="level === 'danger'" class="oi ms-1" data-icon="warning"/>
</a>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<button type="button"
class="btn btn-link p-0"
t-on-click="this.discardAndOpen">
<i class="fa fa-arrow-right text-muted me-1"/>
<i class="oi text-muted me-1" data-icon="east"/>
More precision on Product Prices
</button>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="row m-2 mt-4 justify-content-between account_document_state_popover">
<span class="col-10" t-out="this.props.message" style="white-space: pre-wrap;"/>
<button class="col-2 btn p-0 account_document_state_popover_clone" t-on-click="() => this.props.copyText()">
<i class="fa fa-clipboard"/>
<i class="oi" data-icon="assignment"/>
</button>
</div>
</t>
Expand All @@ -14,7 +14,7 @@
<span t-if="this.message"> </span>
<a t-if="this.message"
t-on-click="(ev) => this.showMessagePopover(ev)"
class="fa fa-info-circle"/>
class="oi" data-icon="info"/>
</span>
</t>
</templates>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<templates id="template" xml:space="preserve">
<t t-name="account.FetchEInvoices">
<DropdownItem onSelected.bind="this.fetchEInvoices">
<i class="fa fa-fw fa-refresh me-1" aria-hidden="true"></i><t t-out="this.buttonLabel" />
<i class="oi oi-fw me-1" data-icon="refresh" aria-hidden="true"></i><t t-esc="this.buttonLabel" />
</DropdownItem>
</t>
</templates>
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<span t-out="attachment.name" class="flex-grow-1 text-truncate"/>

<button class="btn flex-shrink-0" t-on-click.stop="() => this.onFileRemove(attachment.id)">
<i class="fa fa-fw fa-times"/>
<i class="oi oi-fw" data-icon="close"/>
</button>

<i class="fa fa-fw o_button_icon fa-warning" t-if="attachment.tooltip" t-att-data-tooltip="attachment.tooltip"></i>
<i class="oi oi-fw o_button_icon" data-icon="warning" t-if="attachment.tooltip" t-att-data-tooltip="attachment.tooltip"></i>
</li>
</t>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="account.BankTag">
<BadgeTag color="this.props.color" onClick="this.props.onClick" onDelete="this.props.onDelete" tooltip="this.props.tooltip" crossTooltip="this.props.crossTooltip">
<i t-if="this.props.allowOutPayment" class="me-1 fa fa-shield text-success" data-tooltip="Trusted"/>
<i t-else="" class="me-1 fa fa-exclamation-circle text-danger" data-tooltip="Untrusted"/>
<i t-if="this.props.allowOutPayment" class="me-1 oi text-success" data-icon="security" data-tooltip="Trusted"/>
<i t-else="" class="me-1 oi text-danger" data-icon="error" data-tooltip="Untrusted"/>
<div class="o_tag_badge_text" t-out="this.props.text"/>
</BadgeTag>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { Many2XAutocomplete } from "@web/views/fields/relational_utils";
export class Many2XAutocompleteBank extends Many2XAutocomplete {
buildRecordSuggestion(request, record) {
const recordSuggestion = super.buildRecordSuggestion(request, record);
const icon = record.allow_out_payment ? "fa-shield" : "fa-exclamation-circle";
const icon = record.allow_out_payment ? "security" : "error";
const colorClass = record.allow_out_payment ? "text-success" : "text-danger";
const title = record.allow_out_payment ? _t("Trusted") : _t("Untrusted");
recordSuggestion.label = markup`<i class="me-1 fa ${icon} ${colorClass}" title="${title}"></i> ${recordSuggestion.label}`;
recordSuggestion.label = markup`<i class="me-1 oi ${colorClass}" data-icon="${icon}" title="${title}"></i> ${recordSuggestion.label}`;
return recordSuggestion;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<t t-name="account.Many2OneBank" t-inherit="web.Many2One">
<xpath expr="//t[@t-if='this.props.readonly']" position="before">
<t t-if="this.props.value.id">
<i t-if="this.props.value.allow_out_payment" class="fa fa-shield text-success align-self-center o_input_box_overlay_start" title="Trusted"/>
<i t-else="" class="fa fa-exclamation-circle text-danger o_input_box_overlay_start" title="Untrusted"/>
<i t-if="this.props.value.allow_out_payment" class="oi text-success align-self-center o_input_box_overlay_start" data-icon="security" title="Trusted"/>
<i t-else="" class="oi text-danger o_input_box_overlay_start" data-icon="error" title="Untrusted"/>
</t>
</xpath>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<t t-name="account.Onboarding">
<div class="">
<div class="col-auto my-1" t-foreach="this.recordOnboardingSteps" t-as="step" t-key="step.id">
<i class="fa me-2 fs-5" t-att-class="{
'fa-circle text-secondary': step.state == 'not_done',
'fa-check-circle text-success': step.state != 'not_done',
}"/>
<i class="oi oi-filled me-2 fs-5" t-att-class="{
'text-secondary': step.state == 'not_done',
'text-success': step.state != 'not_done',
}" t-attf-data-icon="{{ step.state == 'not_done' ? 'circle' : 'check_circle' }}"/>
<a href="#"
t-att-data-method="step.action"
data-model="onboarding.onboarding.step"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<section position="before">
<section t-if="this.showSections" class="o_search_panel_sections mt-4 pb-4 border-bottom">
<header class="d-flex align-items-center cursor-default gap-2 mb-3 ps-2">
<i class="fa fa-filter text-primary"/>
<i class="oi oi-filled" data-icon="filter_alt"/>
<b class="text-uppercase">Sections</b>
<div class="d-flex align-items-center ms-auto">
<span class="me-2">Filter</span>
Expand Down Expand Up @@ -43,11 +43,13 @@
<t t-set="section" t-value="this.state.sections.get(sectionId)"/>
<span
t-if="sectionId"
class="o_row_handle oi oi-draggable ui-sortable-handle"
class="o_row_handle ui-sortable-handle oi"
data-icon="drag_indicator"
/>
<i
t-else=""
class="fa fa-pencil"
class="oi oi-filled"
data-icon="edit"
t-on-click="() => this.enableSectionInput('top')"
/>
<input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
<Many2One t-props="this.m2oProps" t-on-keydown="this.onM2oInputKeydown"/>
<t t-if="this.showLabelVisibilityToggler">
<button
class="o_input_box_overlay_end btn btn-link fa fa-bars"
class="o_input_box_overlay_end btn btn-link oi"
data-icon="menu"
id="labelVisibilityButtonId"
data-tooltip="Click or press enter to add a description"
t-on-click="() => this.switchLabelVisibility()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
<td t-else="" class="o_list_section_options w-print-0 p-print-0 text-center">
<Dropdown position="'bottom-end'" t-if="!this.props.readonly">
<button class="btn d-table-cell border-0 py-0 px-1 cursor-pointer">
<i class="fa fa-ellipsis-v"/>
<i class="oi" data-icon="more_vert"/>
</button>
<t t-set-slot="content">
<t t-if="this.isSectionInPage(record)">
<DropdownItem onSelected="() => this.addRowInSection(record, false)">
<i class="me-1 fa fa-fw fa-plus"/><span>Add a line</span>
<i class="me-1 oi oi-fw" data-icon="add"/><span>Add a line</span>
</DropdownItem>
<t t-if="this.isTopSection(record)">
<t t-if="this.props.subsections">
<DropdownItem onSelected="() => this.addRowInSection(record, true)">
<i class="me-1 fa fa-fw fa-level-down"/><span>Add a subsection</span>
<i class="me-1 oi oi-fw" data-icon="subdirectory_arrow_right"/><span>Add a subsection</span>
</DropdownItem>
</t>
</t>
Expand All @@ -32,7 +32,7 @@
onSelected="() => this.toggleCollapse(record, 'collapse_prices')"
attrs="{ 'class': this.disablePricesButton(record) ? 'disabled' : '' }"
>
<i class="me-1 fa fa-fw" t-att-class="this.hidePrices(record) ? 'fa-eye' : 'fa-eye-slash'"/>
<i class="oi oi-fw me-1" t-att-data-icon="this.hidePrices(record) ? 'visibility' : 'visibility_off'"/>
<span t-if="this.hidePrices(record)">Show Prices</span>
<span t-else="">Hide Prices</span>
</DropdownItem>
Expand All @@ -42,35 +42,35 @@
onSelected="() => this.toggleCollapse(record, 'collapse_composition')"
attrs="{ 'class': this.disableCompositionButton(record) ? 'disabled' : '' }"
>
<i class="me-1 fa fa-fw" t-att-class="this.hideComposition(record) ? 'fa-expand' : 'fa-compress'"/>
<i class="oi oi-fw me-1" t-att-data-icon="this.hideComposition(record) ? 'expand_content' : 'close_fullscreen'"/>
<span t-if="this.hideComposition(record)">Show Composition</span>
<span t-else="">Hide Composition</span>
</DropdownItem>
</t>
<DropdownItem onSelected="() => this.addNoteInSection(record)">
<i class="me-1 fa fa-fw fa-sticky-note-o"/><span>Add a note</span>
<i class="oi oi-fw me-1" data-icon="sticky_note_2"/><span>Add a note</span>
</DropdownItem>
<DropdownItem t-if="this.hasPreviousSection(record)" onSelected="() => this.moveSectionUp(record)">
<i class="me-1 fa fa-fw fa-arrow-up"/><span>Move Up</span>
<i class="oi oi-fw me-1" data-icon="arrow_upward"/><span>Move Up</span>
</DropdownItem>
<t t-set="nextSectionInPage" t-value="this.isNextSectionInPage(record)"/>
<t t-set="moveDownItemAttrs" t-value="nextSectionInPage ? {} : { 'data-tooltip': this.disabledMoveDownItemTooltip }"/>
<t t-set="moveDownItemDefaultProps" t-value="{ attrs: moveDownItemAttrs, class: { 'text-muted': !nextSectionInPage } }"/>
<DropdownItem t-if="this.hasNextSection(record)" t-props="moveDownItemDefaultProps" onSelected="() => this.moveSectionDown(record)">
<i class="me-1 fa fa-fw fa-arrow-down"/><span>Move Down</span>
<i class="oi oi-fw me-1" data-icon="arrow_downward"/><span>Move Down</span>
</DropdownItem>
<DropdownItem onSelected="() => this.duplicateSection(record)">
<i class="me-1 fa fa-fw fa-clone"/><span>Duplicate</span>
<i class="oi oi-fw me-1" data-icon="content_copy"/><span>Duplicate</span>
</DropdownItem>
<t t-if="hasDeleteButton">
<DropdownItem onSelected="() => this.deleteSection(record)" class="'text-danger'">
<i class="me-1 fa fa-fw fa-trash"/><span>Delete</span>
<i class="oi oi-fw oi-filled me-1" data-icon="delete"/><span>Delete</span>
</DropdownItem>
</t>
</t>
<t t-else="">
<DropdownItem onSelected="() => this.expandPager()" attrs="{ 'data-tooltip': this.showAllItemsTooltip }">
<i class="me-1 fa fa-fw fa-expand"/><span>Show all lines</span>
<i class="oi oi-fw me-1" data-icon="expand_content"/><span>Show all lines</span>
</DropdownItem>
</t>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { registry } from '@web/core/registry';
import { standardWidgetProps } from '@web/views/widgets/standard_widget_props';

export const COLLAPSE_ICONS = {
collapse_composition: 'fa fa-compress',
collapse_prices: 'fa fa-eye-slash',
collapse_composition: 'close_fullscreen',
collapse_prices: 'visibility_off',
}

export class SectionStateIcon extends Component {
Expand All @@ -14,7 +14,7 @@ export class SectionStateIcon extends Component {
iconMapping: Object,
};

get iconClass() {
get icon() {
for (const [field, icon] of Object.entries(this.props.iconMapping)) {
if (this.props.record.data[field]) {
return icon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<t t-name="account.SectionStateIcon">
<t t-if="['line_section', 'line_subsection'].includes(this.props.record.data.display_type)">
<i
class="ms-1 mt-1 text-muted"
class="oi ms-1 mt-1 text-muted"
t-att-class="this.iconClass"
t-att-data-icon="this.icon"
aria-hidden="true"
/>
</t>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<t t-else="">
<span class="o_tax_group_edit" t-on-click.prevent="() => this.setState('edit')">
<span class="o_tax_group_amount_value o_list_monetary">
<i class="fa fa-pencil me-2"/> <t t-out="this.formatMonetary(this.props.taxGroup.tax_amount_currency)"/>
<i class="oi oi-filled me-2" data-icon="edit"/> <t t-out="this.formatMonetary(this.props.taxGroup.tax_amount_currency)"/>
</span>
</span>
</t>
Expand Down
Loading